You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/03/22 08:05:36 UTC

[11/13] git commit: Update FlexJS MXML tests

Update FlexJS MXML tests

These are the updated tests and reference files for the upcoming FlexJS MXML in FalconJx contribution.


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

Branch: refs/heads/develop
Commit: ffa50d15b50ff30e2dfa8d4ba1ef71dcb42c30f1
Parents: d28ffe1
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Mar 13 14:31:02 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Mar 13 14:31:02 2013 +0100

----------------------------------------------------------------------
 .../mxml/flexjs/TestFlexJSMXMLApplication.java     |   99 +----
 .../mxml/flexjs/TestFlexJSMXMLDataStructures.java  |   31 --
 .../compiler/internal/test/FlexJSTestBase.java     |    1 +
 .../flex/compiler/internal/test/TestBase.java      |   32 ++-
 .../flexjs/files/FlexJSTest_2013_03_11_result.js   |  191 +++++-----
 .../files/MyInitialView_2013_03_11_result.js       |  305 ++++++++-------
 6 files changed, 292 insertions(+), 367 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ffa50d15/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
index d9584ff..3006817 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLApplication.java
@@ -2,114 +2,39 @@ package org.apache.flex.compiler.internal.codegen.mxml.flexjs;
 
 import org.apache.flex.compiler.internal.test.FlexJSTestBase;
 import org.apache.flex.compiler.tree.mxml.IMXMLFileNode;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class TestFlexJSMXMLApplication extends FlexJSTestBase
 {
 
-    // TODO (erikdebruin) this needs to become JS Goog output ;-)
-
-    @Ignore
-    @Test
-    public void testBasicFlexJSApp()
-    {
-        String code = ""
-                + "<basic:Application xmlns:basic=\"library://ns.apache.org/flexjs/basic\">"
-                + "</basic:Application>";
-
-        IMXMLFileNode node = compileMXML(code);
-
-        mxmlBlockWalker.visitFile(node);
-
-        assertOut("<Application>\n</Application>");
-    }
-
-    @Ignore
-    @Test
-    public void testFlexJSAppWithEvent()
-    {
-        String code = ""
-                + "<basic:Application xmlns:basic=\"library://ns.apache.org/flexjs/basic\""
-                + "                   initialize=\"MyModel(model).labelText='Hello World'\">"
-                + "</basic:Application>";
-
-        IMXMLFileNode node = compileMXML(code);
-
-        mxmlBlockWalker.visitFile(node);
-
-        assertOut("<Application initialize=\"MyModel(model).labelText = 'Hello World'\">\n</Application>");
-    }
-
-    @Ignore
     @Test
-    public void testFlexJSAppWithNode()
+    public void testFlexJSMainFile()
     {
-        String code = ""
-                + "<basic:Application xmlns:basic=\"library://ns.apache.org/flexjs/basic\">"
-                + "    <basic:beads />" + "</basic:Application>";
+        String fileName = "FlexJSTest_2013_03_11";
 
-        IMXMLFileNode node = compileMXML(code);
+        IMXMLFileNode node = compileMXML(fileName, true,
+                "test-files/flexjs/files", false);
 
         mxmlBlockWalker.visitFile(node);
 
-        assertOut("<Application>\n\t<beads></beads>\n</Application>");
-    }
-
-    @Ignore
-    @Test
-    public void testFlexJSAppWithNodeAndChild()
-    {
-        String code = ""
-                + "<basic:Application xmlns:fx=\"http://ns.adobe.com/mxml/2009\""
-                + "                   xmlns:local=\"*\""
-                + "                   xmlns:basic=\"library://ns.apache.org/flexjs/basic\">"
-                + "    <basic:beads>"
-                + "        <basic:HTTPService id=\"service\">"
-                + "            <basic:LazyCollection id=\"collection\">"
-                + "                <basic:inputParser>"
-                + "                    <basic:JSONInputParser />"
-                + "                </basic:inputParser>"
-                + "                <basic:itemConverter>"
-                + "                    <local:StockDataJSONItemConverter />"
-                + "                </basic:itemConverter>"
-                + "            </basic:LazyCollection id=\"collection\">"
-                + "        </basic:HTTPService>" + "    </basic:beads>"
-                + "</basic:Application>";
-
-        IMXMLFileNode node = compileMXML(code);
-
-        mxmlBlockWalker.visitFile(node);
+        //writeResultToFile(writer.toString(), fileName); // for external comparison
 
-        assertOut("<Application>\n\t<beads>\n\t\t<HTTPService id=\"service\">\n\t\t\t<beads>\n\t\t\t\t<LazyCollection id=\"collection\">\n\t\t\t\t\t<inputParser>\n\t\t\t\t\t\t<JSONInputParser>\n\t\t\t\t\t\t</JSONInputParser>\n\t\t\t\t\t</inputParser>\n\t\t\t\t\t<itemConverter>\n\t\t\t\t\t\t<StockDataJSONItemConverter>\n\t\t\t\t\t\t</StockDataJSONItemConverter>\n\t\t\t\t\t</itemConverter>\n\t\t\t\t</LazyCollection>\n\t\t\t</beads>\n\t\t</HTTPService>\n\t</beads>\n</Application>");
+        assertOut(getCodeFromFile(fileName + "_result", true, "flexjs/files"));
     }
 
-    @Ignore
     @Test
-    public void testFlexJSMainFile()
+    public void testFlexJSInitialViewFile()
     {
-        IMXMLFileNode node = compileMXML("FlexJSTest", true, env.ASJS
-                + "/examples/FlexJSTest_again", false);
-
-        mxmlBlockWalker.visitFile(node);
+        String fileName = "MyInitialView_2013_03_11";
 
-        System.out.println(writer.toString());
-
-        assertOut("");
-    }
-    
-    @Ignore
-    @Test
-    public void testFlexJSSubFile()
-    {
-        IMXMLFileNode node = compileMXML("MyInitialView", true, env.ASJS
-                + "/examples/FlexJSTest_again", false);
+        IMXMLFileNode node = compileMXML(fileName, true,
+                "test-files/flexjs/files", false);
 
         mxmlBlockWalker.visitFile(node);
 
-        System.out.println(writer.toString());
+        //writeResultToFile(writer.toString(), fileName); // for external comparison
 
-        assertOut("");
+        assertOut(getCodeFromFile(fileName + "_result", true, "flexjs/files"));
     }
 
 }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ffa50d15/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLDataStructures.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLDataStructures.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLDataStructures.java
deleted file mode 100644
index c447494..0000000
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/TestFlexJSMXMLDataStructures.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.apache.flex.compiler.internal.codegen.mxml.flexjs;
-
-import org.apache.flex.compiler.internal.test.FlexJSTestBase;
-import org.apache.flex.compiler.internal.test.MXMLTestBase;
-import org.apache.flex.compiler.tree.mxml.IMXMLPropertySpecifierNode;
-import org.junit.Ignore;
-import org.junit.Test;
-
-public class TestFlexJSMXMLDataStructures extends FlexJSTestBase
-{
-
-    // MXMLProperties
-    
-    @Ignore
-    @Test
-    public void testBasicFlexJSDataStructure()
-    {
-        String code = ""
-                + "<basic:beads\">"
-                + "</basic:beads>";
-
-        IMXMLPropertySpecifierNode node = (IMXMLPropertySpecifierNode) getNode(
-                code, IMXMLPropertySpecifierNode.class,
-                MXMLTestBase.WRAP_LEVEL_DOCUMENT);
-
-        mxmlBlockWalker.visitPropertySpecifier(node);
-
-        assertOut("<beads>\n</beads>");
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ffa50d15/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
index 6073415..3eb5626 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/FlexJSTestBase.java
@@ -59,6 +59,7 @@ public class FlexJSTestBase extends TestBase
     protected void addSourcePaths(List<File> sourcePaths)
     {
         sourcePaths.add(new File(env.ASJS + "/examples/FlexJSTest_again"));
+        sourcePaths.add(new File(FilenameNormalization.normalize("test-files/flexjs/files")));
 
         super.addSourcePaths(sourcePaths);
     }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ffa50d15/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
index 8d75008..7317422 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/test/TestBase.java
@@ -27,9 +27,11 @@ import java.io.BufferedReader;
 import java.io.BufferedWriter;
 import java.io.File;
 import java.io.FileInputStream;
+import java.io.FileOutputStream;
 import java.io.FileWriter;
 import java.io.IOException;
 import java.io.InputStreamReader;
+import java.io.OutputStreamWriter;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
@@ -251,6 +253,32 @@ public class TestBase implements ITestBase
         return tempASFile;
     }
 
+    protected void writeResultToFile(String result, String fileName)
+    {
+        BufferedWriter writer = null;
+        try
+        {
+            writer = new BufferedWriter(new OutputStreamWriter(
+                    new FileOutputStream(new File(tempDir, fileName + ".js")),
+                    "utf-8"));
+            writer.write(result);
+        }
+        catch (IOException e1)
+        {
+            e1.printStackTrace();
+        }
+        finally
+        {
+            try
+            {
+                writer.close();
+            }
+            catch (Exception ex)
+            {
+            }
+        }
+    }
+
     /**
      * Overridable setup of dependencies, default adds source, libraries and
      * namepsaces.
@@ -288,8 +316,8 @@ public class TestBase implements ITestBase
     {
         String testFileDir = FilenameNormalization.normalize("test-files");
 
-        File testFile = new File(testFileDir + File.separator + sourceDir
-                + File.separator + fileName
+        File testFile = new File(testFileDir
+                + File.separator + sourceDir + File.separator + fileName
                 + (isJS ? ".js" : inputFileExtension));
 
         String code = "";

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ffa50d15/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_2013_03_11_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_2013_03_11_result.js b/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_2013_03_11_result.js
index b1a69a0..4adc866 100644
--- a/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_2013_03_11_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/FlexJSTest_2013_03_11_result.js
@@ -15,67 +15,67 @@ goog.require('StockDataJSONItemConverter');
  * @extends {org.apache.flex.core.Application}
  */
 FlexJSTest_2013_03_11 = function() {
-    goog.base(this);
-
-    /**
-     * @private
-     * @type {org.apache.flex.core.SimpleCSSValuesImpl}
-     */
-    this.$ID0;
-
-    /**
-     * @private
-     * @type {MyInitialView}
-     */
-    this.$ID1;
-
-    /**
-     * @private
-     * @type {models.MyModel}
-     */
-    this.$ID2;
-
-    /**
-     * @private
-     * @type {controllers.MyController}
-     */
-    this.$ID3;
-
-    /**
-     * @private
-     * @type {org.apache.flex.net.HTTPService}
-     */
-    this.service;
-
-    /**
-     * @private
-     * @type {org.apache.flex.net.dataConverters.LazyCollection}
-     */
-    this.collection;
-
-    /**
-     * @private
-     * @type {org.apache.flex.net.JSONInputParser}
-     */
-    this.$ID4;
-
-    /**
-     * @private
-     * @type {StockDataJSONItemConverter}
-     */
-    this.$ID5;
-
-    /**
-     * @private
-     * @type {Array}
-     */
-    this.mxmldd;
-
-    /**
-     * @private
-     * @type {Array}
-     */
-    this.mxmldp;
+	goog.base(this);
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.core.SimpleCSSValuesImpl}
+	 */
+	this.$ID0;
+	
+	/**
+	 * @private
+	 * @type {MyInitialView}
+	 */
+	this.$ID1;
+	
+	/**
+	 * @private
+	 * @type {models.MyModel}
+	 */
+	this.$ID2;
+	
+	/**
+	 * @private
+	 * @type {controllers.MyController}
+	 */
+	this.$ID3;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.net.HTTPService}
+	 */
+	this.service;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.net.dataConverters.LazyCollection}
+	 */
+	this.collection;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.net.JSONInputParser}
+	 */
+	this.$ID4;
+	
+	/**
+	 * @private
+	 * @type {StockDataJSONItemConverter}
+	 */
+	this.$ID5;
+	
+	/**
+	 * @private
+	 * @type {Array}
+	 */
+	this.mxmldd;
+	
+	/**
+	 * @private
+	 * @type {Array}
+	 */
+	this.mxmldp;
 };
 goog.inherits(FlexJSTest_2013_03_11, org.apache.flex.core.Application);
 
@@ -86,7 +86,7 @@ goog.inherits(FlexJSTest_2013_03_11, org.apache.flex.core.Application);
  */
 FlexJSTest_2013_03_11.prototype.$EH0 = function(event)
 {
-    this.model.set_labelText('Hello World');
+	this.model.set_labelText('Hello World');
 };
 
 /**
@@ -95,7 +95,7 @@ FlexJSTest_2013_03_11.prototype.$EH0 = function(event)
  */
 FlexJSTest_2013_03_11.prototype.get_service = function()
 {
-    return this.service;
+	return this.service;
 };
 
 /**
@@ -104,8 +104,8 @@ FlexJSTest_2013_03_11.prototype.get_service = function()
  */
 FlexJSTest_2013_03_11.prototype.set_service = function(value)
 {
-    if (value != this.service)
-        this.service = value;
+	if (value != this.service)
+		this.service = value;
 };
 
 /**
@@ -114,7 +114,7 @@ FlexJSTest_2013_03_11.prototype.set_service = function(value)
  */
 FlexJSTest_2013_03_11.prototype.get_collection = function()
 {
-    return this.collection;
+	return this.collection;
 };
 
 /**
@@ -123,8 +123,8 @@ FlexJSTest_2013_03_11.prototype.get_collection = function()
  */
 FlexJSTest_2013_03_11.prototype.set_collection = function(value)
 {
-    if (value != this.collection)
-        this.collection = value;
+	if (value != this.collection)
+		this.collection = value;
 };
 
 /**
@@ -134,20 +134,20 @@ FlexJSTest_2013_03_11.prototype.set_collection = function(value)
  */
 FlexJSTest_2013_03_11.prototype.get_MXMLDescriptor = function()
 {
-    if (this.mxmldd == undefined)
-    {
-         /** @type {Array} */
-         var arr = goog.base(this, 'get_MXMLDescriptor');
-         /** @type {Array} */
-         var data = [
+	if (this.mxmldd == undefined)
+	{
+		/** @type {Array} */
+		var arr = goog.base(this, 'get_MXMLDescriptor');
+		/** @type {Array} */
+		var data = [
 ];
-
-         if (arr)
-             this.mxmldd = arr.concat(data);
-         else
-             this.mxmldd = data;
-    }
-    return this.mxmldd;
+	
+		if (arr)
+			this.mxmldd = arr.concat(data);
+		else
+			this.mxmldd = data;
+	}
+	return this.mxmldd;
 };
 
 /**
@@ -157,15 +157,15 @@ FlexJSTest_2013_03_11.prototype.get_MXMLDescriptor = function()
  */
 FlexJSTest_2013_03_11.prototype.get_MXMLProperties = function()
 {
-    if (this.mxmldp == undefined)
-    {
-         /** @type {Array} */
-         var arr = goog.base(this, 'get_MXMLProperties');
-         /** @type {Array} */
-         var data = [
+	if (this.mxmldp == undefined)
+	{
+		/** @type {Array} */
+		var arr = goog.base(this, 'get_MXMLProperties');
+		/** @type {Array} */
+		var data = [
 5,
 'model',
-false, 
+false,
 [models.MyModel, 1, '_id', true, '$ID2', 0, 0, null],
 'valuesImpl',
 false,
@@ -183,11 +183,12 @@ null, [org.apache.flex.net.HTTPService, 2, 'id', true, 'service', 'beads', null,
 'initialize',
 this.$EH0
 ];
-
-         if (arr)
-             this.mxmldp = arr.concat(data);
-         else
-             this.mxmldp = data;
-    }
-    return this.mxmldp;
+	
+		if (arr)
+			this.mxmldp = arr.concat(data);
+		else
+			this.mxmldp = data;
+	}
+	return this.mxmldp;
 };
+

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ffa50d15/compiler.jx.tests/test-files/flexjs/files/MyInitialView_2013_03_11_result.js
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/test-files/flexjs/files/MyInitialView_2013_03_11_result.js b/compiler.jx.tests/test-files/flexjs/files/MyInitialView_2013_03_11_result.js
index 1eea911..7da3794 100644
--- a/compiler.jx.tests/test-files/flexjs/files/MyInitialView_2013_03_11_result.js
+++ b/compiler.jx.tests/test-files/flexjs/files/MyInitialView_2013_03_11_result.js
@@ -16,115 +16,115 @@ goog.require('org.apache.flex.html.staticControls.RadioButton');
  * @extends {org.apache.flex.core.ViewBase}
  */
 MyInitialView_2013_03_11 = function() {
-    goog.base(this);
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.Label}
-     */
-    this.lbl;
-
-    /**
-     * @private
-     * @type {org.apache.flex.binding.SimpleBinding}
-     */
-    this.$ID0;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.TextButton}
-     */
-    this.$ID1;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.List}
-     */
-    this.list;
-
-    /**
-     * @private
-     * @type {org.apache.flex.binding.ConstantBinding}
-     */
-    this.$ID2;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.TextArea}
-     */
-    this.$ID3;
-
-    /**
-     * @private
-     * @type {org.apache.flex.binding.SimpleBinding}
-     */
-    this.$ID4;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.TextInput}
-     */
-    this.input;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.TextButton}
-     */
-    this.$ID5;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.CheckBox}
-     */
-    this.checkbox;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.RadioButton}
-     */
-    this.$ID6;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.RadioButton}
-     */
-    this.$ID7;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.RadioButton}
-     */
-    this.$ID8;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.RadioButton}
-     */
-    this.$ID9;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.RadioButton}
-     */
-    this.$ID10;
-
-    /**
-     * @private
-     * @type {org.apache.flex.html.staticControls.RadioButton}
-     */
-    this.$ID11;
-
-    /**
-     * @private
-     * @type {Array}
-     */
-    this.mxmldd;
-
-    /**
-     * @private
-     * @type {Array}
-     */
-    this.mxmldp;
+	goog.base(this);
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.Label}
+	 */
+	this.lbl;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.binding.SimpleBinding}
+	 */
+	this.$ID0;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.TextButton}
+	 */
+	this.$ID1;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.List}
+	 */
+	this.list;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.binding.ConstantBinding}
+	 */
+	this.$ID2;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.TextArea}
+	 */
+	this.$ID3;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.binding.SimpleBinding}
+	 */
+	this.$ID4;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.TextInput}
+	 */
+	this.input;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.TextButton}
+	 */
+	this.$ID5;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.CheckBox}
+	 */
+	this.checkbox;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.RadioButton}
+	 */
+	this.$ID6;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.RadioButton}
+	 */
+	this.$ID7;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.RadioButton}
+	 */
+	this.$ID8;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.RadioButton}
+	 */
+	this.$ID9;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.RadioButton}
+	 */
+	this.$ID10;
+	
+	/**
+	 * @private
+	 * @type {org.apache.flex.html.staticControls.RadioButton}
+	 */
+	this.$ID11;
+	
+	/**
+	 * @private
+	 * @type {Array}
+	 */
+	this.mxmldd;
+	
+	/**
+	 * @private
+	 * @type {Array}
+	 */
+	this.mxmldp;
 };
 goog.inherits(MyInitialView_2013_03_11, org.apache.flex.core.ViewBase);
 
@@ -135,7 +135,7 @@ goog.inherits(MyInitialView_2013_03_11, org.apache.flex.core.ViewBase);
  */
 MyInitialView_2013_03_11.prototype.get_symbol = function()
 {
-        return this.list.get_selectedItem() /* as String */;
+	return this.list.get_selectedItem();
 };
 
 /**
@@ -145,7 +145,7 @@ MyInitialView_2013_03_11.prototype.get_symbol = function()
  */
 MyInitialView_2013_03_11.prototype.get_inputText = function()
 {
-        return this.input.get_text();
+	return this.input.get_text();
 };
 
 /**
@@ -155,7 +155,7 @@ MyInitialView_2013_03_11.prototype.get_inputText = function()
  */
 MyInitialView_2013_03_11.prototype.$EH0 = function(event)
 {
-        this.dispatchEvent(org.apache.flex.FlexGlobal.newObject(flash.events.Event, ["buttonClicked"]));
+	this.dispatchEvent(org.apache.flex.FlexGlobal.newObject(flash.events.Event, ["buttonClicked"]));
 };
 
 /**
@@ -165,7 +165,7 @@ MyInitialView_2013_03_11.prototype.$EH0 = function(event)
  */
 MyInitialView_2013_03_11.prototype.$EH1 = function(event)
 {
-        this.dispatchEvent(org.apache.flex.FlexGlobal.newObject(flash.events.Event, ["listChanged"]));
+	this.dispatchEvent(org.apache.flex.FlexGlobal.newObject(flash.events.Event, ["listChanged"]));
 };
 
 /**
@@ -175,7 +175,7 @@ MyInitialView_2013_03_11.prototype.$EH1 = function(event)
  */
 MyInitialView_2013_03_11.prototype.$EH2 = function(event)
 {
-        this.dispatchEvent(org.apache.flex.FlexGlobal.newObject(flash.events.Event, ["transferClicked"]));
+	this.dispatchEvent(org.apache.flex.FlexGlobal.newObject(flash.events.Event, ["transferClicked"]));
 };
 
 /**
@@ -184,7 +184,7 @@ MyInitialView_2013_03_11.prototype.$EH2 = function(event)
  */
 MyInitialView_2013_03_11.prototype.get_lbl = function()
 {
-    return this.lbl;
+	return this.lbl;
 };
 
 /**
@@ -193,8 +193,8 @@ MyInitialView_2013_03_11.prototype.get_lbl = function()
  */
 MyInitialView_2013_03_11.prototype.set_lbl = function(value)
 {
-    if (value != this.lbl)
-        this.lbl = value;
+	if (value != this.lbl)
+		this.lbl = value;
 };
 
 /**
@@ -203,7 +203,7 @@ MyInitialView_2013_03_11.prototype.set_lbl = function(value)
  */
 MyInitialView_2013_03_11.prototype.get_list = function()
 {
-    return this.list;
+	return this.list;
 };
 
 /**
@@ -212,8 +212,8 @@ MyInitialView_2013_03_11.prototype.get_list = function()
  */
 MyInitialView_2013_03_11.prototype.set_list = function(value)
 {
-    if (value != this.list)
-        this.list = value;
+	if (value != this.list)
+		this.list = value;
 };
 
 /**
@@ -222,7 +222,7 @@ MyInitialView_2013_03_11.prototype.set_list = function(value)
  */
 MyInitialView_2013_03_11.prototype.get_input = function()
 {
-    return this.input;
+	return this.input;
 };
 
 /**
@@ -231,8 +231,8 @@ MyInitialView_2013_03_11.prototype.get_input = function()
  */
 MyInitialView_2013_03_11.prototype.set_input = function(value)
 {
-    if (value != this.input)
-        this.input = value;
+	if (value != this.input)
+		this.input = value;
 };
 
 /**
@@ -241,7 +241,7 @@ MyInitialView_2013_03_11.prototype.set_input = function(value)
  */
 MyInitialView_2013_03_11.prototype.get_checkbox = function()
 {
-    return this.checkbox;
+	return this.checkbox;
 };
 
 /**
@@ -250,8 +250,8 @@ MyInitialView_2013_03_11.prototype.get_checkbox = function()
  */
 MyInitialView_2013_03_11.prototype.set_checkbox = function(value)
 {
-    if (value != this.checkbox)
-        this.checkbox = value;
+	if (value != this.checkbox)
+		this.checkbox = value;
 };
 
 /**
@@ -261,12 +261,12 @@ MyInitialView_2013_03_11.prototype.set_checkbox = function(value)
  */
 MyInitialView_2013_03_11.prototype.get_MXMLDescriptor = function()
 {
-    if (this.mxmldd == undefined)
-    {
-         /** @type {Array} */
-         var arr = goog.base(this, 'get_MXMLDescriptor');
-         /** @type {Array} */
-         var data = [
+	if (this.mxmldd == undefined)
+	{
+		/** @type {Array} */
+		var arr = goog.base(this, 'get_MXMLDescriptor');
+		/** @type {Array} */
+		var data = [
 org.apache.flex.html.staticControls.Label,
 4,
 'id',
@@ -543,13 +543,13 @@ true,
 0,
 null
 ];
-
-         if (arr)
-             this.mxmldd = arr.concat(data);
-         else
-             this.mxmldd = data;
-    }
-    return this.mxmldd;
+	
+		if (arr)
+			this.mxmldd = arr.concat(data);
+		else
+			this.mxmldd = data;
+	}
+	return this.mxmldd;
 };
 
 /**
@@ -559,18 +559,19 @@ null
  */
 MyInitialView_2013_03_11.prototype.get_MXMLProperties = function()
 {
-    if (this.mxmldp == undefined)
-    {
-         /** @type {Array} */
-         var arr = goog.base(this, 'get_MXMLProperties');
-         /** @type {Array} */
-         var data = [
+	if (this.mxmldp == undefined)
+	{
+		/** @type {Array} */
+		var arr = goog.base(this, 'get_MXMLProperties');
+		/** @type {Array} */
+		var data = [
 ];
-
-         if (arr)
-             this.mxmldp = arr.concat(data);
-         else
-             this.mxmldp = data;
-    }
-    return this.mxmldp;
+	
+		if (arr)
+			this.mxmldp = arr.concat(data);
+		else
+			this.mxmldp = data;
+	}
+	return this.mxmldp;
 };
+