flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [02/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests
Date Sun, 02 Mar 2014 06:14:25 GMT
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/SliderTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/SliderTestScript.mxml b/mustella/tests/basicTests/spark/scripts/SliderTestScript.mxml
new file mode 100644
index 0000000..10af817
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/SliderTestScript.mxml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupSparkSliderTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkSliderTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkSliderTests.testSlider" propertyName="value" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkSliderTest1">
+			<body>
+				<DispatchMouseEvent target="sparkSliderTests.testSlider" type="rollOver" waitEvent="rollOver" localX="3" localY="3" />
+				<DispatchMouseEvent target="sparkSliderTests.testSlider" type="mouseDown" waitEvent="mouseDown" localX="3" localY="3" />
+				<DispatchMouseEvent target="sparkSliderTests.testSlider" type="mouseMove" buttonDown="true" waitEvent="move" waitTarget="sparkSliderTests.testSlider.thumb" localX="13" localY="3" />
+				<DispatchMouseEvent target="sparkSliderTests.testSlider" type="mouseMove" buttonDown="true" waitEvent="move" waitTarget="sparkSliderTests.testSlider.thumb" localX="23" localY="3" />
+				<DispatchMouseEvent target="sparkSliderTests.testSlider" type="mouseMove" buttonDown="true" waitEvent="move" waitTarget="sparkSliderTests.testSlider.thumb" localX="33" localY="3" />
+				<DispatchMouseEvent target="sparkSliderTests.testSlider" type="mouseUp" waitEvent="thumbRelease" localX="33" localY="3" />
+				<AssertPropertyValue target="sparkSliderTests.testSlider" propertyName="alpha" value="0.21875" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/SortTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/SortTestScript.mxml b/mustella/tests/basicTests/spark/scripts/SortTestScript.mxml
new file mode 100644
index 0000000..fefdaa0
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/SortTestScript.mxml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+    
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+            public static function init(o:DisplayObject):void
+            {
+            }
+        ]]>
+    </mx:Script>
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+    
+    <mx:Script>
+        <![CDATA[
+		import flash.globalization.Collator;
+		import flash.globalization.CollatorMode;
+		
+		
+		public var myCollator:Collator ;
+        [Bindable]
+        public var myArray:Array =
+                new Array("cote", "côte", "coté", "côté",
+                    "海 (U+6D77)", "雨 (U+96E8)", "水 (U+6C34)", "川 (U+5DDD)");
+ 
+		
+            
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupSortTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkSortTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+       <TestCase testID="SparkSort_en_US">
+            <setup>
+                <RunCode code="myCollator=new flash.globalization.Collator('en-US')" />
+				<RunCode code="myArray.sort(myCollator.compare)"/>
+				<RunCode code="application.sparkSortTests.sortArraycollectionSpark('en-US')" />
+             </setup>
+            <body>
+			    <AssertMethodValue method="value=myArray.toString()" valueExpression="value=application.sparkSortTests.myArrayCollection.toArray().toString()" />
+            </body>
+        </TestCase>
+		<TestCase testID="SparkSort_fr-FR">
+            <setup>
+                <RunCode code="myCollator=new flash.globalization.Collator('fr-FR')" />
+				<RunCode code="myArray.sort(myCollator.compare)"/>
+				<RunCode code="application.sparkSortTests.sortArraycollectionSpark('fr-FR')" />
+             </setup>
+            <body>
+			    <AssertMethodValue method="value=myArray.toString()" valueExpression="value=application.sparkSortTests.myArrayCollection.toArray().toString()" />
+            </body>
+        </TestCase>
+<!--
+		<TestCase testID="SparkSort_ja-JP">
+            <setup>
+                <RunCode code="myCollator=new flash.globalization.Collator('ja-JP')" />
+				<RunCode code="myArray.sort(myCollator.compare)"/>
+				<RunCode code="application.sparkSortTests.sortArraycollectionSpark('ja-JP')" />
+             </setup>
+            <body>
+			    <AssertMethodValue method="value=myArray.toString()" valueExpression="value=application.sparkSortTests.myArrayCollection.toArray().toString()" />
+            </body>
+        </TestCase>
+-->
+		<TestCase testID="MXSort">
+            <setup>
+                <RunCode code="myCollator=new flash.globalization.Collator('en-US')" />
+				<RunCode code="myArray.sort(myCollator.compare)"/>
+				<RunCode code="application.sparkSortTests.sortArraycollectionMX()" />
+             </setup>
+            <body>
+			    <AssertMethodValue method="value=myArray.toString()" valueExpression="value=application.sparkSortTests.myArrayCollection.toArray().toString()" />
+            </body>
+        </TestCase>
+        
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/StringToolsTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/StringToolsTestScript.mxml b/mustella/tests/basicTests/spark/scripts/StringToolsTestScript.mxml
new file mode 100644
index 0000000..24d6c84
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/StringToolsTestScript.mxml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+    
+    <!-- this set of lines form a template that must be in each unit test -->
+    <mx:Script>
+        <![CDATA[
+            public static function init(o:DisplayObject):void
+            {
+            }
+        ]]>
+    </mx:Script>
+    <mx:Metadata>
+        <![CDATA[
+        [Mixin]
+        ]]>
+    </mx:Metadata>
+    <!-- end of set of lines that must be in each unit test -->
+    
+    <mx:Script>
+        <![CDATA[
+            import flash.globalization.StringTools;
+            public var flashST:flash.globalization.StringTools;
+            public var str:String="Turkish I: iI & ıİ; Greek: ΣςσβΰΐΣ; German: ß";
+            public var stToUpperCase:String;
+            public var stToLowerCase:String;
+            public var flashSTToUpperCase:String;
+            public var flashSTToLowerCase:String;
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupStringToolsTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkStringToolsTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="StringTools_test" description="" keywords="[StringTools, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashST=new flash.globalization.StringTools('xx')" />
+                <RunCode code="flashSTToUpperCase=flashST.toUpperCase(str)" />
+                <RunCode code="flashSTToLowerCase=flashST.toLowerCase(str)" />
+                <RunCode code="stToUpperCase=application.sparkStringToolsTests.stringTools.toUpperCase(str)" />
+                <RunCode code="stToLowerCase=application.sparkStringToolsTests.stringTools.toLowerCase(str)" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkStringToolsTests.stringTools" propertyName="actualLocaleIDName" valueExpression="value=flashST.actualLocaleIDName" />
+                <AssertMethodValue method="value=stToUpperCase" valueExpression="value=flashSTToUpperCase" />
+                <AssertMethodValue method="value=stToLowerCase" valueExpression="value=flashSTToLowerCase" />
+            </body>
+        </TestCase>
+         <TestCase testID="StringTools_test1" description="" keywords="[StringTools, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashST=new flash.globalization.StringTools(application.sparkStringToolsTests.getLocale.text)" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashST.actualLocaleIDName" target="sparkStringToolsTests.stringToolsNoLocaleInline"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/StyleManagerTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/StyleManagerTestScript.mxml b/mustella/tests/basicTests/spark/scripts/StyleManagerTestScript.mxml
new file mode 100644
index 0000000..62a17d8
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/StyleManagerTestScript.mxml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+<!--		<TestCase testID="SetupStyleManagerTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="styleManagerTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="styleManagerTests.testTextInput" propertyName="height" value="22" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkStyleManagerTest1">
+			<body>
+				<SetProperty target="styleManagerTests.moduleLoader" propertyName="url" value="spark/views/StyleManagerModuleTest.swf" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="styleManagerTests.moduleLoader.child.moduleTestTextInput" propertyName="height" value="32" />
+			</body>
+		</TestCase>-->
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/TextAreaTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/TextAreaTestScript.mxml b/mustella/tests/basicTests/spark/scripts/TextAreaTestScript.mxml
new file mode 100644
index 0000000..2cc9110
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/TextAreaTestScript.mxml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupSparkTextAreaTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkTextAreaTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkTextAreaTests.testTextArea" propertyName="text" value="" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkTextAreaTest1">
+			<body>
+				<SetProperty target="sparkTextAreaTests.testTextArea" propertyName="text"
+					value="This is a TextArea and it contains lots of text which should word wrap and eventually cause scrollbars to appear.  The validation will test for the scrollbar properties" />
+				<AssertEvent target="sparkTextAreaTests.testTextArea" eventName="valueCommit" eventClass="mx.events::FlexEvent" numExpectedEvents="1" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/TextInputTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/TextInputTestScript.mxml b/mustella/tests/basicTests/spark/scripts/TextInputTestScript.mxml
new file mode 100644
index 0000000..9197b26
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/TextInputTestScript.mxml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupSparkTextInputTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkTextInputTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkTextInputTests.testTextInput" propertyName="text" value="" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkTextInputTest1">
+			<body>
+				<DispatchMouseClickEvent target="sparkTextInputTests.testTextInput" localX="10" localY="10" waitEvent="focusIn"/>
+				<DispatchKeyEvent char="This is another test." waitEvent="change" waitTarget="sparkTextInputTests.testTextInput" />
+				<AssertPropertyValue target="sparkTextInputTests.testTextInput" propertyName="text" value="This is another test." />
+				<AssertPropertyValue target="sparkTextInputTests.testTextInput.textDisplay" propertyName="text" value="This is another test." />
+				<AssertPropertyValue target="sparkTextInputTests.testTextInput" propertyName="width" value="128" />
+				<AssertPropertyValue target="sparkTextInputTests.testTextInput" propertyName="height" value="22" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/TileGroupTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/TileGroupTestScript.mxml b/mustella/tests/basicTests/spark/scripts/TileGroupTestScript.mxml
new file mode 100644
index 0000000..a13ade2
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/TileGroupTestScript.mxml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupSparkTileGroupTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkTileGroupTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkTileGroupTests.testTileGroup" propertyName="requestedRowCount" value="-1" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkTileGroupTest1">
+			<body>
+				<SetProperty target="sparkTileGroupTests.testTileGroup" propertyName="horizontalGap" value="10" 
+                    waitEvent="updateComplete" />
+                <SetProperty target="sparkTileGroupTests.testTileGroup" propertyName="verticalGap" value="10" 
+                    waitEvent="updateComplete" />
+            	<AssertPropertyValue target="sparkTileGroupTests.testTileGroup" propertyName="horizontalGap" value="10" />
+            	<AssertPropertyValue target="sparkTileGroupTests.testTileGroup" propertyName="verticalGap" value="10" />
+            	<AssertPropertyValue target="sparkTileGroupTests.btn5" propertyName="x" value="80" />
+            	<AssertPropertyValue target="sparkTileGroupTests.btn5" propertyName="y" value="31" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/TitleWindowTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/TitleWindowTestScript.mxml b/mustella/tests/basicTests/spark/scripts/TitleWindowTestScript.mxml
new file mode 100644
index 0000000..fa3c918
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/TitleWindowTestScript.mxml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="main.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupSparkTitleWindowTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkTitleWindowTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkTitleWindowTests.pua" propertyName="displayPopUp" value="false" />
+			</body>
+		</TestCase>
+		<TestCase testID="sparkTitleWindowTest1">
+			<body>
+				<DispatchMouseEvent target="sparkTitleWindowTests.popUpButton" type="rollOver" waitEvent="rollOver" localX="3" localY="3" />
+				<DispatchMouseClickEvent target="sparkTitleWindowTests.popUpButton" waitEvent="creationComplete" waitTarget="sparkTitleWindowTests.popUp" localX="3" localY="3" />
+				<DispatchMouseEvent target="sparkTitleWindowTests.titleWindowButton" type="rollOver" waitEvent="rollOver" localX="3" localY="3" />
+				<DispatchMouseEvent target="sparkTitleWindowTests.popUp" type="mouseDown" waitEvent="mouseDown" localX="10" localY="10" />
+				<DispatchMouseEvent target="sparkTitleWindowTests.popUp" type="mouseMove" buttonDown="true" waitEvent="windowMoveStart" localX="20" localY="10" />
+				<DispatchMouseEvent target="sparkTitleWindowTests.popUp" type="mouseMove" buttonDown="true" waitEvent="windowMove" localX="20" localY="10" />
+				<DispatchMouseEvent target="sparkTitleWindowTests.popUp" type="mouseMove" buttonDown="true" waitEvent="windowMove" localX="10" localY="20" />
+				<DispatchMouseEvent target="sparkTitleWindowTests.popUp" type="mouseUp" waitEvent="windowMoveEnd" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkTitleWindowTests.popUp" waitEvent="close" localX="140" localY="10" />
+				<AssertPropertyValue target="sparkTitleWindowTests.pua" propertyName="displayPopUp" value="false" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml b/mustella/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml
new file mode 100644
index 0000000..1b038e5
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/AdvancedStyleClientTests.mxml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:styleTest="spark.views.styleTest.*" >
+    
+    <fx:Style>
+       
+    </fx:Style>
+    
+    <fx:Script>
+        <![CDATA[
+            
+            public function setCompStyle():void
+            {
+                componentADV.setStyle("teststyle_1_string_noinh","testsetStr");
+                componentADV.setStyle("teststyle_3_uint_inh",56);
+            }
+            
+        ]]>
+    </fx:Script>
+    
+    <fx:Declarations>
+        <!-- Place non-visual elements (e.g., services, value objects) here -->
+        <styleTest:ADVStyleTestClass id="componentADV" />	
+        <styleTest:ADVStyleTestClass id="componentADVInline" teststyle_2_number_noinh = "12"/>
+    </fx:Declarations>
+    
+    
+   
+   
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/AnimateConstraintsTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/AnimateConstraintsTests.mxml b/mustella/tests/basicTests/spark/views/AnimateConstraintsTests.mxml
new file mode 100644
index 0000000..c907157
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/AnimateConstraintsTests.mxml
@@ -0,0 +1,144 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer
+	xmlns:fx="http://ns.adobe.com/mxml/2009"
+	xmlns:s="library://ns.adobe.com/flex/spark"
+	width="930" height="800">
+    <s:states> 
+        <s:State name="s1"/> 
+        <s:State name="s2"/> 
+    </s:states> 
+    <s:transitions> 
+        <s:Transition> 
+            <s:Parallel duration="250">
+                <s:Animate targets="{[b1,b2,b3]}">
+                    <s:SimpleMotionPath property="left"/>
+                    <s:SimpleMotionPath property="right"/>
+                </s:Animate>
+                <s:Animate targets="{[b3a]}">
+                    <s:SimpleMotionPath property="left"/>
+                </s:Animate>
+                <s:Animate targets="{[b3b]}">
+                    <s:SimpleMotionPath property="right"/>
+                </s:Animate>
+                <s:Animate targets="{[b4,b5,b6]}">
+                    <s:SimpleMotionPath property="top"/>
+                    <s:SimpleMotionPath property="bottom"/>
+                </s:Animate>
+                <s:Animate targets="{[b6a]}">
+                    <s:SimpleMotionPath property="top"/>
+                </s:Animate>
+                <s:Animate targets="{[b6b]}">
+                    <s:SimpleMotionPath property="bottom"/>
+                </s:Animate>
+                <s:Animate targets="{[b7,b8,b9]}">
+                    <s:SimpleMotionPath property="left"/>
+                    <s:SimpleMotionPath property="horizontalCenter"/>
+                </s:Animate>
+                <s:Animate targets="{[b10,b11]}">
+                    <s:SimpleMotionPath property="verticalCenter"/>
+                </s:Animate>
+                <s:Animate targets="{[b12]}">
+                    <s:SimpleMotionPath property="verticalCenter"/>
+                    <s:SimpleMotionPath property="bottom"/>
+                </s:Animate>
+                <s:Animate targets="{[b13,b14]}">
+                    <s:SimpleMotionPath property="percentWidth"/>
+                </s:Animate>
+                <s:Animate targets="{[b15]}">
+                    <s:SimpleMotionPath property="percentWidth"/>
+                    <s:SimpleMotionPath property="width"/>
+                </s:Animate>
+                <s:Animate targets="{[b16,b17]}">
+                    <s:SimpleMotionPath property="height"/>
+                </s:Animate>
+                <s:Animate targets="{[b18]}">
+                    <s:SimpleMotionPath property="height"/>
+                </s:Animate>
+            </s:Parallel> 
+        </s:Transition> 
+    </s:transitions> 
+    <s:VGroup top="50" width="100%">        
+        <s:HGroup width="100%" height="380">
+            <!-- left/right -->
+            <s:Group width="300" height="100%">
+                <s:Rect left="0" right="0" top="0" bottom="0">
+                    <s:stroke>
+                        <s:SolidColorStroke color="black"/>
+                    </s:stroke>
+                </s:Rect>
+                <s:Button id="b1" y="100" left="10" left.s2="{NaN}" right.s2="10" label="Left->Right"/>
+                <s:Button id="b2" y="150" right="10" right.s2="{NaN}" left.s2="10" label="Right->Left"/>
+                <s:Button id="b3" y="200" left="10" left.s2="{NaN}" right="10" right.s2="{NaN}" label="LeftRight"/>        
+                <s:Button id="b3a" y="250" left="10" left.s2="100" label="Left"/>
+                <s:Button id="b3b" y="300" right="10" right.s2="100" label="Right"/>
+            </s:Group>
+            <!-- top/bottom -->
+            <s:Group width="300" height="100%">
+                <s:Rect left="0" right="0" top="0" bottom="0">
+                    <s:stroke>
+                        <s:SolidColorStroke color="black"/>
+                    </s:stroke>
+                </s:Rect>
+                <s:Button id="b4" x="0" top="100" top.s2="{NaN}" bottom.s2="100" label="Top->Bottom"/>
+                <s:Button id="b5" x="100" bottom="100" bottom.s2="{NaN}" top.s2="100" label="Bottom->Top"/>
+                <s:Button id="b6" x="200" top="100" top.s2="{NaN}" bottom="100" bottom.s2="{NaN}" label="TopBottom"/>
+                <s:Button id="b6a" x="200" top="0" top.s2="50" label="Top"/>
+                <s:Button id="b6b" x="200" bottom="0" bottom.s2="50" label="Bottom"/>
+            </s:Group>
+            <!-- horizontalCenter -->
+            <s:Group width="300" height="100%">
+                <s:Rect left="0" right="0" top="0" bottom="0">
+                    <s:stroke>
+                        <s:SolidColorStroke color="black"/>
+                    </s:stroke>
+                </s:Rect>
+                <s:Button id="b7" top="50" horizontalCenter="0" horizontalCenter.s2="50" label="HorCtr"/>
+                <s:Button id="b8" top="80" horizontalCenter="0" horizontalCenter.s2="-50" label="HorCtr"/>
+                <s:Button id="b9" top="110" horizontalCenter="0" horizontalCenter.s2="{NaN}" left.s2="10" label="Hor->Left"/>
+                <s:Button id="b10" left="0" verticalCenter="0" verticalCenter.s2="50" label="VertCtr"/>
+                <s:Button id="b11" left="100" verticalCenter="0" verticalCenter.s2="-50" label="VertCtr"/>
+                <s:Button id="b12" left="200" verticalCenter="0" verticalCenter.s2="{NaN}" bottom.s2="100" label="Vert->Bottom"/>
+            </s:Group>
+        </s:HGroup>
+        <s:HGroup width="100%" height="370">
+            <s:Group width="300" height="100%">
+                <s:Rect left="0" right="0" top="0" bottom="0">
+                    <s:stroke>
+                        <s:SolidColorStroke color="black"/>
+                    </s:stroke>
+                </s:Rect>
+                <s:Button id="b13" top="50" width="50%" width.s2="100%" label="%Width"/>
+                <s:Button id="b14" top="80" width="100%" width.s2="50%" horizontalCenter="0" label="%Width"/>
+                <s:Button id="b15" top="110" width="50%" width.s2="200" label="%Width->width"/>
+            </s:Group>
+            <s:Group width="300" height="100%">
+                <s:Rect left="0" right="0" top="0" bottom="0">
+                    <s:stroke>
+                        <s:SolidColorStroke color="black"/>
+                    </s:stroke>
+                </s:Rect>
+                <s:Button id="b16" height="10%" height.s2="50%" label="%Height"/>
+                <s:Button id="b17" left="80" height="100%" height.s2="50%" verticalCenter="0" label="%Height"/>
+                <s:Button id="b18" left="160" height="50%" height.s2="300" label="%Height->height"/>
+            </s:Group>
+        </s:HGroup>
+    </s:VGroup>
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/BorderContainerTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/BorderContainerTests.mxml b/mustella/tests/basicTests/spark/views/BorderContainerTests.mxml
new file mode 100644
index 0000000..0bfffda
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/BorderContainerTests.mxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx">
+    
+    <fx:Script>
+        <![CDATA[
+            
+            import mx.collections.*;
+            import mx.controls.*;
+            import mx.events.*;
+            import mx.managers.*;
+        ]]>
+    </fx:Script>
+    
+    <s:BorderContainer id="testBorder" width="300" height="200">
+        <s:Button label="Center" horizontalCenter="0" verticalCenter="0"/>
+    </s:BorderContainer>
+    
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/ButtonBarTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/ButtonBarTests.mxml b/mustella/tests/basicTests/spark/views/ButtonBarTests.mxml
new file mode 100644
index 0000000..088f79a
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/ButtonBarTests.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+]]>
+</fx:Script>
+
+    <s:ButtonBar id="testButtonBar" dataProvider="{testViewStack}" labelField="label" requireSelection="true" />
+
+    <mx:ViewStack id="testViewStack" >
+        <mx:VBox label="foo" width="100" height="100" >
+        </mx:VBox>
+        <mx:VBox label="bar" width="100" height="100" >
+        </mx:VBox>
+    </mx:ViewStack>
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/ButtonTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/ButtonTests.mxml b/mustella/tests/basicTests/spark/views/ButtonTests.mxml
new file mode 100644
index 0000000..5ea4142
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/ButtonTests.mxml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<mx:VBox 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+]]>
+</fx:Script>
+
+    <s:Button id="testButton" label="test button" click="testLabel.text='This is a test'" />
+    <mx:Label id="testLabel" text="test" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/CheckBoxTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/CheckBoxTests.mxml b/mustella/tests/basicTests/spark/views/CheckBoxTests.mxml
new file mode 100644
index 0000000..80ee483
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/CheckBoxTests.mxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+]]>
+</fx:Script>
+
+    <s:CheckBox id="testCheckBox" label="test CheckBox" />
+
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/CollatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/CollatorTests.mxml b/mustella/tests/basicTests/spark/views/CollatorTests.mxml
new file mode 100644
index 0000000..4913b64
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/CollatorTests.mxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+    
+    <fx:Declarations>
+        <s:MatchingCollator id="matchingCollatorNoLocaleInline" />
+        <s:MatchingCollator id="matchingCollator" locale="fr"/>
+        <s:SortingCollator id="sortingCollatorNoLocaleInline" />
+        <s:SortingCollator id="sortingCollator" locale="xx"/>
+    </fx:Declarations>
+    <fx:Script>
+        <![CDATA[
+        ]]>
+    </fx:Script>
+    
+    <s:Label id="getLocale" text="{getStyle('locale')}" />
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/ComboBoxTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/ComboBoxTests.mxml b/mustella/tests/basicTests/spark/views/ComboBoxTests.mxml
new file mode 100644
index 0000000..441dcc1
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/ComboBoxTests.mxml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx">
+    
+    <fx:Script>
+        <![CDATA[
+            
+            import mx.collections.*;
+            import mx.controls.*;
+            import mx.events.*;
+            import mx.managers.*;
+            
+            [Bindable]
+            public var simpleDP:ArrayCollection = new ArrayCollection(
+                ["Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", "North Carolina", "Tennessee", "Texas", "Wisconsin", "Wyoming"]
+            );
+        ]]>
+    </fx:Script>
+    
+    <s:ComboBox id="testCombo" dataProvider="{simpleDP}" selectedIndex="0"/>
+    
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/CurrencyFormatterTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/CurrencyFormatterTests.mxml b/mustella/tests/basicTests/spark/views/CurrencyFormatterTests.mxml
new file mode 100644
index 0000000..33b5338
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/CurrencyFormatterTests.mxml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+    
+    <fx:Declarations>
+        <s:CurrencyFormatter id="cfFormatterNoLocaleInline" errorText="#####"/>
+        <s:CurrencyFormatter id="cfFormatter" locale="xx" negativeCurrencyFormat="1"/>
+        <s:CurrencyFormatter id="cfFormatterDecimalSeparator" locale="en-US" decimalSeparator="." currencySymbol="@" currencyISOCode="INR" />
+        <s:CurrencyFormatter id="cfFormatterDigitsType" locale="en-US" digitsType="{NationalDigitsType.CHAM}"/>
+        <s:CurrencyFormatter id="cfFormatterFractionalDigits" locale="en-US" fractionalDigits="{1}" trailingZeros="true" useGrouping="true" groupingSeparator=","  groupingPattern='*'/>
+    </fx:Declarations>
+    <fx:Script>
+        <![CDATA[
+            import flash.globalization.NationalDigitsType;
+        ]]>
+    </fx:Script>
+    
+    <s:Label id="cfLabel" text="{cfFormatterDigitsType.digitsType}" />
+	<s:Label id="getLocale" text="{getStyle('locale')}" />
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/CurrencyValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/CurrencyValidatorTests.mxml b/mustella/tests/basicTests/spark/views/CurrencyValidatorTests.mxml
new file mode 100644
index 0000000..4cbf4e0
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/CurrencyValidatorTests.mxml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+    
+    <fx:Declarations>
+        <s:CurrencyValidator id="cv" source="{tb1}" property="text" />
+    </fx:Declarations>
+    <fx:Script>
+        <![CDATA[
+        ]]>
+    </fx:Script>
+    
+    <s:Label text="Input Currency"/>
+    <s:TextInput id="tb1"/>
+   
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/DataGridTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/DataGridTests.mxml b/mustella/tests/basicTests/spark/views/DataGridTests.mxml
new file mode 100644
index 0000000..df00bb6
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/DataGridTests.mxml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx">
+
+    <fx:Script>
+    <![CDATA[
+    
+        import mx.collections.*;
+        import mx.controls.*;
+        import mx.events.*;
+        import mx.managers.*;
+    	
+        import spark.components.DataGrid;
+        import spark.components.gridClasses.GridColumn;
+    ]]>
+    </fx:Script>
+
+    <fx:Declarations>
+        <s:ArrayCollection id="dp">
+            <fx:Object country="USA" firstName="Jerry" lastName="Altinegra" position="FW" club="Club16" number="00"/>
+            <fx:Object country="USA" firstName="Carl" lastName="Bocadore" position="DF" club="Club13" number="01"/>
+            <fx:Object country="USA" firstName="Tom" lastName="How" position="GK" club="Club5" number="02"/>
+            <fx:Object country="USA" firstName="Calvin" lastName="Dempley" position="MF" club="Club6" number="03"/>
+            <fx:Object country="USA" firstName="Robert" lastName="Findsey" position="FW" club="Club12" number="04"/>
+            <fx:Object country="USA" firstName="Herz" lastName="Gomvan" position="FW" club="Club11" number="05"/>
+            <fx:Object country="USA" firstName="Lon" lastName="Donovez" position="MF" club="Club8" number="06"/>
+            <fx:Object country="USA" firstName="Oger" lastName="Once" position="DF" club="Club9" number="07"/>
+            <fx:Object country="USA" firstName="Benson" lastName="Feller" position="MF" club="Club0" number="08"/>
+            <fx:Object country="USA" firstName="Ed" lastName="Bundle" position="FW" club="Club8" number="09"/>
+            <fx:Object country="USA" firstName="Mivel" lastName="Brady" position="MF" club="Club4" number="10"/>
+            <fx:Object country="USA" firstName="Stere" lastName="Cherry" position="DF" club="Club7" number="11"/>
+            <fx:Object country="USA" firstName="Jack" lastName="Demit" position="DF" club="Club15" number="12"/>
+            <fx:Object country="USA" firstName="Jerry" lastName="Altinegra" position="FW" club="Club16" number="13"/>
+            <fx:Object country="ENG" firstName="Robin" lastName="Grain" position="GK" club="Club3" number="14"/>
+            <fx:Object country="ENG" firstName="Joseph" lastName="Hartman" position="GK" club="Club10" number="15"/>
+            <fx:Object country="ENG" firstName="Gran" lastName="Johnsen" position="DF" club="Club9" number="16"/>
+            <fx:Object country="ENG" firstName="Ashton" lastName="Colvin" position="DF" club="Club2" number="17"/>
+            <fx:Object country="ENG" firstName="Mim" lastName="Dawon" position="DF" club="Club14" number="18"/>
+            <fx:Object country="ENG" firstName="Jon" lastName="Terren" position="DF" club="Club2" number="19"/>
+            <fx:Object country="ENG" firstName="Steven" lastName="Warren" position="DF" club="Club1" number="20"/>
+            <fx:Object country="ENG" firstName="Mark" lastName="Upton" position="DF" club="Club17" number="21"/>
+            <fx:Object country="ENG" firstName="James" lastName="Carrer" position="DF" club="Club10" number="22"/>
+            <fx:Object country="ENG" firstName="Len" lastName="Kingman" position="DF" club="Club14" number="23"/>		
+        </s:ArrayCollection>
+        
+        <fx:Object id="obj1" country="ENG" firstName="len" lastName="Kingman" position="DF" club="Club14" number="23"/>
+        <fx:Object id="obj2" country="USA" firstName="Jack" lastName="Demit" position="DF" club="Club15" number="12"/>
+        
+        <s:ArrayCollection id="columns">
+            <s:GridColumn id="col1" dataField="country" />
+            <s:GridColumn id="col2" dataField="firstName" visible="false" />
+            <s:GridColumn id="col3" dataField="lastName" />
+            <s:GridColumn id="col5" dataField="club" />
+            <s:GridColumn id="col6" dataField="number" />
+        </s:ArrayCollection>
+        
+        <s:GridColumn id="col4" dataField="position"/>
+    </fx:Declarations>
+
+	<s:DataGrid id="testdg" />
+
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/DateTimeFormatterTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/DateTimeFormatterTests.mxml b/mustella/tests/basicTests/spark/views/DateTimeFormatterTests.mxml
new file mode 100644
index 0000000..ab44759
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/DateTimeFormatterTests.mxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+    
+    <fx:Declarations>
+        <s:DateTimeFormatter id="dtFormatterNoLocaleInline" errorText="#####"/>
+        <s:DateTimeFormatter id="dtFormatter" locale="xx"/>
+        <s:DateTimeFormatter id="dtFormatterShortDate" dateStyle="short"/>    
+        <s:DateTimeFormatter id="dtFormatterShortTime" timeStyle="short"/>
+        <s:DateTimeFormatter id="dtFormatterPattern" dateTimePattern="EEEE, MMMM. d, yyyy 'at' h:mm a"/>
+    </fx:Declarations>
+    <fx:Script>
+        <![CDATA[
+            [Bindable]
+            private var aDate:Date = new Date(2000,0,1);
+			
+			
+        ]]>
+    </fx:Script>
+    <mx:Form width="370" x="0" y="0" height="59">
+        <s:Label text="format - dateStyle and timeStyle:" x="9" y="110"/>
+		<s:Label id="getLocale" text="{getStyle('locale')}" />
+        <mx:FormItem label="dateShort">
+            <s:TextInput id="dateShort" text="{dtFormatterShortDate.format(aDate)}"  width="210"/>
+        </mx:FormItem>
+        <mx:FormItem label="timeShort">
+            <s:TextInput id="timeShort" text="{dtFormatterShortTime.format(aDate)}"  width="200"/>
+        </mx:FormItem>    
+    </mx:Form>
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/DeferredInstantiationTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/DeferredInstantiationTests.mxml b/mustella/tests/basicTests/spark/views/DeferredInstantiationTests.mxml
new file mode 100644
index 0000000..592805c
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/DeferredInstantiationTests.mxml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+]]>
+</fx:Script>
+
+    <s:SkinnableContainer id="deferredContent" creationPolicy="none">
+	<s:layout>
+		<s:VerticalLayout/>
+	</s:layout>
+        <s:Button id="button1" label="Button 1" />
+        <s:Button id="button2" label="Button 2" />
+    </s:SkinnableContainer>
+
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/DesignLayerTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/DesignLayerTests.mxml b/mustella/tests/basicTests/spark/views/DesignLayerTests.mxml
new file mode 100644
index 0000000..87972cf
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/DesignLayerTests.mxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx" >
+
+<fx:DesignLayer id="myLayer" visible="false" alpha=".5">
+    <fx:DesignLayer id="myInnerLayer">
+        <s:Button id="testDLButton" />
+    </fx:DesignLayer>
+</fx:DesignLayer>
+    
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/DropDownListTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/DropDownListTests.mxml b/mustella/tests/basicTests/spark/views/DropDownListTests.mxml
new file mode 100644
index 0000000..2b135df
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/DropDownListTests.mxml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+
+    public var comboDP:Array = ["Apples", "Beer", "Soda", "Pears", "Peaches", "Bagels"];
+]]>
+</fx:Script>
+
+    <s:DropDownList id="testCombo" requireSelection="true" initialize="testCombo.dataProvider = new ArrayCollection(comboDP)" />
+
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/EasingTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/EasingTests.mxml b/mustella/tests/basicTests/spark/views/EasingTests.mxml
new file mode 100644
index 0000000..7c483cb
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/EasingTests.mxml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer
+	xmlns:fx="http://ns.adobe.com/mxml/2009"
+	xmlns:s="library://ns.adobe.com/flex/spark"
+	xmlns:mx="library://ns.adobe.com/flex/mx"
+	width="600" height="600"
+	backgroundColor="0x000000">
+	<s:layout>
+		<s:BasicLayout/>
+	</s:layout>
+
+	<fx:Declarations>
+		<s:Parallel id="bd">
+			<s:Move id="m1" duration="200" target="{bl}" yFrom="100" yTo="575">
+				<s:easer>
+					<s:Bounce/>
+				</s:easer>
+			</s:Move>
+			<s:Move id="m2" duration="200" target="{rl}" yFrom="100" yTo="575">
+				<s:easer>
+					<s:Elastic/>
+				</s:easer>
+			</s:Move>
+		</s:Parallel>
+	</fx:Declarations>
+
+	<s:Line xFrom="{bl.x + (bl.width/2)}" yFrom="{bl.y + (bl.height/2)}" xTo="{rl.x + (rl.width/2)}" yTo="{rl.y + (rl.height/2)}">
+		<s:stroke>
+			<s:SolidColorStroke color="0xFFFFFF" weight="3"/>
+		</s:stroke>
+	</s:Line>
+
+	<s:Group id="bl" left="200" y="100">
+		<s:Ellipse width="25" height="25">
+			<s:fill>
+				<s:SolidColor color="white"/>
+			</s:fill>
+		</s:Ellipse>
+	</s:Group>
+
+	<s:Group id="rl" right="200" y="100">
+		<s:Ellipse width="25" height="25">
+			<s:fill>
+				<s:SolidColor color="white"/>
+			</s:fill>
+		</s:Ellipse>
+	</s:Group>
+
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/FXG2RuntimeTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/FXG2RuntimeTests.mxml b/mustella/tests/basicTests/spark/views/FXG2RuntimeTests.mxml
new file mode 100644
index 0000000..2f33b36
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/FXG2RuntimeTests.mxml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<s:layout>
+	<s:TileLayout />
+</s:layout>
+
+<fx:Script>
+<![CDATA[
+	
+]]>
+</fx:Script>
+
+		<s:Graphic id="graphic1" width="200" height="200" maskType="clip">
+			<s:mask>
+			<s:Group>
+			<s:Ellipse width="85" height="85" >
+				<s:fill>
+                    			<s:SolidColor color="#2D1FFF"/>
+                  		</s:fill>
+                	</s:Ellipse>
+			</s:Group>
+			</s:mask>
+			<s:Rect id="rect1" width="100" height="100" >
+				<s:fill>
+					<mx:SolidColor color="0xFF0000" />
+				</s:fill>
+			</s:Rect>
+		</s:Graphic>
+		<s:Group id="bitmapGroup" width="200" height="200">
+			<s:BitmapImage id="image1" source="@Embed('../../basicImage.jpg')" x="10" y="10" />
+		</s:Group>
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/FormTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/FormTests.mxml b/mustella/tests/basicTests/spark/views/FormTests.mxml
new file mode 100644
index 0000000..6a750f6
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/FormTests.mxml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:SkinnableContainer
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx">
+    
+    <fx:Script>
+        <![CDATA[
+            import mx.collections.ArrayCollection;
+            [Bindable]
+            public var statesDP:ArrayCollection = new ArrayCollection(["Arizona","California","Kansas","New Mexico","Texas","Wyoming"]);
+        ]]>
+    </fx:Script>
+    
+    <s:Form id="form1">
+        <s:FormHeading label="Horizontal"/>
+        
+        <s:FormItem label="Address" sequenceLabel="1." 
+                    required="true" id="formItem1">
+            <s:TextInput width="100%"/>
+            <s:TextInput width="100%"/>
+            <s:TextInput width="100%"/>
+            <s:helpContent>
+                <s:Label text="(ex. 123 Main Street)" baseline="14" />
+                <s:Button label="?" width="30" baseline="14" x="120"/>
+            </s:helpContent>
+        </s:FormItem>       
+        <s:FormItem label="City" sequenceLabel="2." required="true"
+                    id="formItem2">
+            <s:Button label="Hollywood!" fontSize="20"/>
+        </s:FormItem> 
+        <s:FormItem label="State" sequenceLabel="3." >
+            <s:ComboBox dataProvider="{statesDP}" width="100%"/>
+        </s:FormItem>
+        <s:FormItem label="ZipCode" sequenceLabel="4." required="true">
+            <s:TextInput widthInChars="4" restrict="0123456789"/>
+            <s:helpContent>
+                <s:Label text="Will appear in your profile" left="0" right="0"/>
+            </s:helpContent>
+        </s:FormItem>
+    </s:Form>
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/HelloWorld.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/HelloWorld.mxml b/mustella/tests/basicTests/spark/views/HelloWorld.mxml
new file mode 100644
index 0000000..453fbc9
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/HelloWorld.mxml
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Application
+xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:mx="library://ns.adobe.com/flex/halo"
+    xmlns:s="library://ns.adobe.com/flex/spark" 
+    creationComplete="creationCompleteHandler()" >
+
+<fx:Script>
+<![CDATA[
+
+    // import all Spark Components to make sure mx.swc is not
+    // dragged in.
+    import spark.effects.AddAction; AddAction;
+    import spark.effects.Animate; Animate;
+    import spark.effects.AnimateColor; AnimateColor;
+    import spark.effects.AnimateFilter; AnimateFilter;
+    import spark.effects.AnimateTransitionShader; AnimateTransitionShader;
+    import spark.effects.AnimateTransform; AnimateTransform;
+    import spark.effects.AnimateTransform3D; AnimateTransform3D;
+    import spark.effects.animation.Animation; Animation;
+    import spark.layouts.BasicLayout; BasicLayout;
+    import spark.filters.BevelFilter; BevelFilter;
+    import spark.primitives.BitmapImage; BitmapImage;
+    import spark.layouts.supportClasses.Block; Block;
+    import spark.filters.BlurFilter; BlurFilter;
+    import spark.components.BorderContainer; BorderContainer;
+    import spark.effects.easing.Bounce; Bounce;
+    import spark.components.Button; Button;
+    import spark.components.ButtonBar; ButtonBar;
+    import spark.components.ButtonBarButton; ButtonBarButton;
+    import spark.components.supportClasses.ButtonBarHorizontalLayout; ButtonBarHorizontalLayout;
+    import spark.components.supportClasses.ButtonBase; ButtonBase;
+    import spark.effects.CallAction; CallAction;
+    import spark.components.CheckBox; CheckBox;
+    import spark.filters.ColorMatrixFilter; ColorMatrixFilter;
+    import spark.layouts.ColumnAlign; ColumnAlign;
+    import spark.components.ComboBox; ComboBox;
+    import spark.layouts.ConstraintLayout; ConstraintLayout;
+    import spark.core.ContentCache; ContentCache;
+    import spark.filters.ConvolutionFilter; ConvolutionFilter;
+    import spark.effects.CrossFade; CrossFade;
+    import spark.components.DataGroup; DataGroup;
+    import spark.components.DataRenderer; DataRenderer;
+    import spark.filters.DisplacementMapFilter; DisplacementMapFilter;
+    import spark.components.DropDownList; DropDownList;
+    import spark.layouts.supportClasses.DropLocation; DropLocation;
+    import spark.filters.DropShadowFilter; DropShadowFilter;
+    import spark.components.mediaClasses.DynamicStreamingVideoSource; DynamicStreamingVideoSource;
+    import spark.components.mediaClasses.DynamicStreamingVideoItem; DynamicStreamingVideoItem;
+    import spark.effects.easing.Elastic; Elastic;
+    import spark.primitives.Ellipse; Ellipse;
+    import spark.effects.Fade; Fade;
+    import spark.primitives.supportClasses.FilledElement; FilledElement;
+    import spark.filters.GlowFilter; GlowFilter;
+    import spark.filters.GradientBevelFilter; GradientBevelFilter;
+    import spark.filters.GradientFilter; GradientFilter;
+    import spark.filters.GradientGlowFilter; GradientGlowFilter;
+    import spark.primitives.Graphic; Graphic;
+    import spark.primitives.supportClasses.GraphicElement; GraphicElement;
+    import spark.components.Group; Group;
+    import spark.components.supportClasses.GroupBase; GroupBase;
+    import spark.components.HGroup; HGroup;
+    import spark.layouts.HorizontalLayout; HorizontalLayout;
+    import spark.effects.interpolation.HSBInterpolator; HSBInterpolator;
+    import spark.components.HScrollBar; HScrollBar;
+    import spark.components.HSlider; HSlider;
+    import spark.components.Image; Image;
+    import spark.components.supportClasses.ItemRenderer; ItemRenderer;
+    import spark.effects.animation.Keyframe; Keyframe;
+    import spark.components.Label; Label;
+    import spark.layouts.supportClasses.LayoutBase; LayoutBase;
+    import spark.primitives.Line; Line;
+    import spark.effects.easing.Linear; Linear;
+    import spark.components.List; List;
+    import spark.components.supportClasses.ListBase; ListBase;
+    import spark.core.MaskType; MaskType;
+    import spark.effects.animation.MotionPath; MotionPath;
+    import spark.effects.Move; Move;
+    import spark.effects.Move3D; Move3D;
+    import spark.effects.interpolation.MultiValueInterpolator; MultiValueInterpolator;
+    import spark.components.mediaClasses.MuteButton; MuteButton;
+    import spark.components.NavigatorContent; NavigatorContent;
+    import spark.effects.interpolation.NumberInterpolator; NumberInterpolator;
+    import spark.components.NumericStepper; NumericStepper
+    import spark.components.Panel; Panel;
+    import spark.primitives.Path; Path;
+    import spark.components.PopUpAnchor; PopUpAnchor;
+    import spark.components.PopUpPosition; PopUpPosition;
+    import spark.effects.easing.Power; Power;
+    import spark.components.RadioButton; RadioButton;
+    import spark.components.RadioButtonGroup; RadioButtonGroup;
+    import spark.components.supportClasses.Range; Range;
+    import spark.primitives.Rect; Rect;
+    import spark.primitives.RectangularDropShadow; RectangularDropShadow;
+    import spark.effects.RemoveAction; RemoveAction;
+    import spark.effects.Resize; Resize;
+    import spark.effects.interpolation.RGBInterpolator; RGBInterpolator;
+    import spark.components.RichEditableText; RichEditableText;
+    import spark.components.RichText; RichText;
+    import spark.effects.Rotate; Rotate;
+    import spark.effects.Rotate3D; Rotate3D;
+    import spark.layouts.RowAlign; RowAlign;
+    import spark.effects.Scale; Scale;
+    import spark.effects.Scale3D; Scale3D;
+    import spark.components.supportClasses.ScrollBarBase; ScrollBarBase;
+    import spark.components.Scroller; Scroller;
+    import spark.components.supportClasses.ScrollerLayout; ScrollerLayout;
+    import spark.components.mediaClasses.ScrubBar; ScrubBar;
+    import spark.effects.SetAction; SetAction;
+    import spark.filters.ShaderFilter; ShaderFilter;
+    import spark.effects.animation.SimpleMotionPath; SimpleMotionPath;
+    import spark.effects.easing.Sine; Sine;
+    import spark.components.supportClasses.Skin; Skin;
+    import spark.components.supportClasses.SkinnableComponent; SkinnableComponent;
+    import spark.components.SkinnableContainer; SkinnableContainer;
+    import spark.components.supportClasses.SkinnableContainerBase; SkinnableContainerBase;
+    import spark.components.SkinnableDataContainer; SkinnableDataContainer;
+    import spark.components.supportClasses.SkinnableTextBase; SkinnableTextBase;
+    import spark.components.supportClasses.SliderBase; SliderBase;
+    import spark.skins.SparkSkin; SparkSkin;
+    import spark.components.Spinner; Spinner;
+    import spark.core.SpriteVisualElement; SpriteVisualElement;
+    import spark.primitives.supportClasses.StrokedElement; StrokedElement;
+    import spark.components.TabBar; TabBar;
+    import spark.components.TextArea; TextArea;
+    import spark.components.supportClasses.TextBase; TextBase;
+    import spark.components.TextInput; TextInput;
+    import spark.components.TextSelectionHighlighting; TextSelectionHighlighting;
+    import spark.utils.TextUtil; TextUtil;
+    import spark.components.TileGroup; TileGroup;
+    import spark.layouts.TileLayout; TileLayout;
+    import spark.layouts.TileOrientation; TileOrientation;
+    import spark.components.TitleWindow; TitleWindow;
+    import spark.components.ToggleButton; ToggleButton;
+    import spark.components.supportClasses.ToggleButtonBase; ToggleButtonBase;
+    import spark.components.supportClasses.TrackBase; TrackBase;
+    import spark.layouts.VerticalAlign; VerticalAlign;
+    import spark.layouts.VerticalLayout; VerticalLayout;
+    import spark.components.VGroup; VGroup;
+    import spark.components.VideoDisplay; VideoDisplay;
+    import spark.components.VideoPlayer; VideoPlayer;
+    import spark.components.mediaClasses.VolumeBar; VolumeBar;
+    import spark.components.VScrollBar; VScrollBar;
+    import spark.components.VSlider; VSlider;
+    import spark.effects.Wipe; Wipe;
+
+    private function creationCompleteHandler():void
+    {
+        var isAvailable:Boolean = false;
+ 
+        if (ApplicationDomain.currentDomain.hasDefinition("mx.controls::Label"))
+            isAvailable = true;
+
+          //trace("mx.controls::Label is available = " + isAvailable);
+	    systemManager.dispatchEvent(new FocusEvent("valueIsReady", false, false, null, isAvailable));
+    }
+
+]]>
+</fx:Script>
+
+
+    <s:Label text="Hello World"/>
+
+</s:Application> 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/ImageTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/ImageTests.mxml b/mustella/tests/basicTests/spark/views/ImageTests.mxml
new file mode 100644
index 0000000..30f2a19
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/ImageTests.mxml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"                >
+
+<fx:Script>
+<![CDATA[
+	
+]]>
+</fx:Script>
+
+	<s:VGroup id="bitmapGroup" width="200" height="200">
+		<s:Image id="image1"  />
+		<s:Image id="image2" preliminaryWidth="50" preliminaryHeight="50" />
+	</s:VGroup>
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/LayoutDirectionTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/LayoutDirectionTests.mxml b/mustella/tests/basicTests/spark/views/LayoutDirectionTests.mxml
new file mode 100644
index 0000000..0daf38b
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/LayoutDirectionTests.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<s:Group 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx">
+
+    <s:VGroup id="testGroup" layoutDirection="rtl" direction="rtl" width="300">       
+        <mx:DateChooser id="mx_datechooser" textFieldClass="mx.core.UIFTETextField" />
+        <s:TextInput id="spark_textinput" text="layoutDirection test" />
+        <s:Button id="spark_button" label="spark button" />
+        <s:CheckBox id="spark_checkbox" label="spark check box" />
+        <s:BitmapImage id="spark_image" source="@Embed('../../basicImage.jpg')" width="143"/>
+    </s:VGroup>
+
+</s:Group>


Mime
View raw message