flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject [10/26] git commit: [flex-falcon] [refs/heads/experimental/VF2JS] - Updated test to include both the '_mx' and '_s' namespaces.
Date Wed, 09 Jul 2014 23:39:06 GMT
Updated test to include both the '_mx' and '_s' namespaces.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/4a54f160
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/4a54f160
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/4a54f160

Branch: refs/heads/experimental/VF2JS
Commit: 4a54f16024f4a1b54db37901bc435d43fa96a4aa
Parents: f38d06c
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Tue Jul 1 10:56:49 2014 +0200
Committer: Jose Barragan <josebarragan@apache.org>
Committed: Thu Jul 10 01:33:44 2014 +0200

----------------------------------------------------------------------
 .../test-files/vf2js/files/Simple.mxml          |  5 +++-
 .../test-files/vf2js/files/Simple_result.js     | 29 +++++++++++++++-----
 2 files changed, 26 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4a54f160/compiler.jx.tests/test-files/vf2js/files/Simple.mxml
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/files/Simple.mxml b/compiler.jx.tests/test-files/vf2js/files/Simple.mxml
index 5356b05..2494f9a 100644
--- a/compiler.jx.tests/test-files/vf2js/files/Simple.mxml
+++ b/compiler.jx.tests/test-files/vf2js/files/Simple.mxml
@@ -1,6 +1,9 @@
 <vf2js_s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:vf2js_mx="http://flex.apache.org/vf2js_mx/ns"
                      xmlns:vf2js_s="http://flex.apache.org/vf2js_s/ns"
+
+  <vf2js_mx:Button invalidAttr="nope" />
+
   <vf2js_s:Button label="hello" x="100" invalidAttr="nope" />
-  <vf2js_s:Button label="hello" x="100" invalidAttr="nope" />
+
 </vf2js_s:Application>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/4a54f160/compiler.jx.tests/test-files/vf2js/files/Simple_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/vf2js/files/Simple_result.js b/compiler.jx.tests/test-files/vf2js/files/Simple_result.js
index 35020e0..cbc2b0c 100644
--- a/compiler.jx.tests/test-files/vf2js/files/Simple_result.js
+++ b/compiler.jx.tests/test-files/vf2js/files/Simple_result.js
@@ -21,27 +21,34 @@
 
 goog.provide('Simple');
 
-goog.require('vf2js.components.Application');
-goog.require('vf2js.components.Button');
+goog.require('vf2js_s.components.Application');
+goog.require('vf2js_mx.components.Button');
+goog.require('vf2js_s.components.Button');
 
 
 
 
 /**
  * @constructor
- * @extends {vf2js.components.Application}
+ * @extends {vf2js_s.components.Application}
  */
 Simple = function() {
   goog.base(this);
   
   /**
    * @private
-   * @type {vf2js.components.Button}
+   * @type {vf2js_mx.components.Button}
    */
   this.$ID0;
   
   /**
    * @private
+   * @type {vf2js_s.components.Button}
+   */
+  this.$ID1;
+  
+  /**
+   * @private
    * @type {Array}
    */
   this.mxmldd;
@@ -52,7 +59,7 @@ Simple = function() {
    */
   this.mxmldp;
 };
-goog.inherits(Simple, vf2js.components.Application);
+goog.inherits(Simple, vf2js_s.components.Application);
 
 
 /**
@@ -75,12 +82,20 @@ Simple.prototype.get_MXMLProperties = function()
     var arr = goog.base(this, 'get_MXMLProperties');
     /** @type {Array} */
     var data = [
+2,
+vf2js_mx.components.Button,
 1,
-vf2js.components.Button,
-3,
 '_id',
 true,
 '$ID0',
+0,
+0,
+null,
+vf2js_s.components.Button,
+3,
+'_id',
+true,
+'$ID1',
 'label',
 true,
 'hello',


Mime
View raw message