You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/03/02 07:14:24 UTC

[01/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Repository: flex-asjs
Updated Branches:
  refs/heads/develop b45e0a373 -> 7c84f3e63


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/LayoutTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/LayoutTests.mxml b/mustella/tests/basicTests/spark/views/LayoutTests.mxml
new file mode 100644
index 0000000..7e90929
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/LayoutTests.mxml
@@ -0,0 +1,30 @@
+<!--
+
+  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"
+    width="800"
+    height="800">
+
+    <s:layout> <s:BasicLayout/> </s:layout>
+
+    <mx:Button id="b1" label="Hello"/>
+
+</s:Group>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/ListDragDropTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/ListDragDropTests.mxml b/mustella/tests/basicTests/spark/views/ListDragDropTests.mxml
new file mode 100644
index 0000000..41b9c1e
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/ListDragDropTests.mxml
@@ -0,0 +1,67 @@
+<!--
+
+  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"
+    width="800"
+    height="800">
+
+	<fx:Script>
+		<![CDATA[
+			import mx.collections.*;
+			
+			
+			public function createPlayersAC():ArrayCollection
+			{
+				var players:ArrayCollection = new ArrayCollection([
+					{team:"PTeam",jerseyNumber:80, lastName:"Brown",    firstName:"Tom"},
+					{team:"JTeam", jerseyNumber:7,  lastName:"Left", firstName:"Brian"},
+					{team:"PTeam",jerseyNumber:12, lastName:"Brady",    firstName:"Brad"},
+					{team:"PTeam",jerseyNumber:21, lastName:"Gore",      firstName:"Ron"},
+					{team:"RTeam", jerseyNumber:34, lastName:"OName",    firstName:"Don"},
+					{team:"PTeam",jerseyNumber:12, lastName:"VName",	firstName:"AName"},
+					{team:"JTeam", jerseyNumber:7,  lastName:"Boone",     firstName:"BName"},
+				]);
+				return players;
+			}
+			
+			
+			public function createAbc():ArrayList
+			{
+				var col:ArrayList =
+					new ArrayList(['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']);
+				return (col);
+			}
+			public function createNullDupData():ArrayList
+			{
+				var col:ArrayList =
+					new ArrayList([null,'A',null,'A','a','a','a','B','C','D','E','F','G','H','I','J','K',
+						'L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','a','aa','aa',null,null]);
+				return (col);
+			}
+			
+			
+		]]>
+	</fx:Script>
+	<s:HGroup id="hg" paddingLeft="10" paddingTop="10" paddingRight="10" paddingBottom="10">
+		<s:List id="dragFrom"/>
+		<s:List id="l2"/>
+	</s:HGroup>
+</s:Group>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/NumberFormatterTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/NumberFormatterTests.mxml b/mustella/tests/basicTests/spark/views/NumberFormatterTests.mxml
new file mode 100644
index 0000000..c2171a6
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/NumberFormatterTests.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:NumberFormatter id="nfFormatterNoLocaleInline" errorText="#####"/>
+        <s:NumberFormatter id="nfFormatter" locale="xx"/>
+        <s:NumberFormatter id="nfFormatterDecimalSeparator" locale="en-US" decimalSeparator="@" />
+        <s:NumberFormatter id="nfFormatterDigitsType" locale="en-US" digitsType="{NationalDigitsType.CHAM}"/>
+        <s:NumberFormatter id="nfFormatterFractionalDigits" 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="nfLabel" text="{nfFormatterDigitsType.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/NumberValidatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/NumberValidatorTests.mxml b/mustella/tests/basicTests/spark/views/NumberValidatorTests.mxml
new file mode 100644
index 0000000..b260e9b
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/NumberValidatorTests.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:NumberValidator id="nv" source="{tb1}" property="text" />
+    </fx:Declarations>
+    <fx:Script>
+        <![CDATA[
+        ]]>
+    </fx:Script>
+    
+    <s:Label text="Input Number"/>
+    <s:TextInput id="tb1"/>
+   
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/NumericStepperTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/NumericStepperTests.mxml b/mustella/tests/basicTests/spark/views/NumericStepperTests.mxml
new file mode 100644
index 0000000..abb3167
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/NumericStepperTests.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.
+
+-->
+<mx:Panel title="NumericStepper" 
+    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:NumericStepper id="testNumStep" />
+
+</mx:Panel>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/PanelControlBarTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/PanelControlBarTests.mxml b/mustella/tests/basicTests/spark/views/PanelControlBarTests.mxml
new file mode 100644
index 0000000..5d8d2ab
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/PanelControlBarTests.mxml
@@ -0,0 +1,52 @@
+<?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:Panel id="testPanel" >
+        <s:Group>
+            <s:layout>
+                <s:VerticalLayout />
+            </s:layout>
+            <s:TextInput id="contentTextInput" height="100" />
+            <s:Button id="contentButton" label="Content Button" height="100" click="contentTextInput.text = 'content clicked'" />
+        </s:Group>
+        <s:controlBarContent>
+            <s:TextInput id="controlTextInput" height="100" />
+            <s:Button id="controlButton" label="Control Button" height="100" click="controlTextInput.text = 'control clicked'" />
+        </s:controlBarContent>
+        <s:controlBarLayout>
+            <s:HorizontalLayout gap="40" paddingTop="5" paddingBottom="5" paddingLeft="5" paddingRight="5" />
+        </s:controlBarLayout>
+    </s:Panel>
+
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/RadioButtonTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/RadioButtonTests.mxml b/mustella/tests/basicTests/spark/views/RadioButtonTests.mxml
new file mode 100644
index 0000000..bf7f29f
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/RadioButtonTests.mxml
@@ -0,0 +1,49 @@
+<?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:Panel title="RadioButtons" 
+    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>
+
+<fx:Declarations>
+    <s:RadioButtonGroup id="spark" />
+</fx:Declarations>
+
+    <s:layout>
+        <s:VerticalLayout />
+    </s:layout>
+    <s:RadioButton id="testRadio1" label="test Radio1" groupName="spark" />
+    <s:RadioButton id="testRadio2" label="test Radio2" groupName="spark" />
+    <s:RadioButton id="testRadio3" label="test Radio3" groupName="spark" />
+
+
+</s:Panel>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/ScrollBarTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/ScrollBarTests.mxml b/mustella/tests/basicTests/spark/views/ScrollBarTests.mxml
new file mode 100644
index 0000000..931c1b4
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/ScrollBarTests.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: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:layout>
+		<s:VerticalLayout/>
+	</s:layout>
+    <s:CheckBox id="enabler" selected="true" label="Enabled"/>
+    <s:VScrollBar id="testVScrollBar" minimum="0" maximum="100" enabled="{enabler.selected}" />
+    <s:HScrollBar id="testHScrollBar" minimum="0" maximum="100" enabled="{enabler.selected}"/>
+
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/SliderTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/SliderTests.mxml b/mustella/tests/basicTests/spark/views/SliderTests.mxml
new file mode 100644
index 0000000..da0f97c
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/SliderTests.mxml
@@ -0,0 +1,41 @@
+<?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:Canvas 
+    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:HSlider id="testSlider" width="150" 
+            minimum="0" maximum="100"  snapInterval="1"
+            liveDragging="true"
+            change="testSlider.alpha = (testSlider.value / 100);"
+            />
+
+</mx:Canvas>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/SortTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/SortTests.mxml b/mustella/tests/basicTests/spark/views/SortTests.mxml
new file mode 100644
index 0000000..e24bf96
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/SortTests.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.
+
+-->
+<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:SortField id="mySparkSortField"/>
+        <s:Sort id="mySparkSort" fields="{[mySparkSortField]}"/>
+		<mx:SortField id="myMXSortField"/>
+        <s:Sort id="myMXSort" fields="{[myMXSortField]}"/>
+    </fx:Declarations>
+
+    <fx:Script>
+        <![CDATA[
+            
+         
+		 import mx.collections.ArrayCollection;
+            
+            
+            
+            [Bindable]
+            public var myArrayCollection:ArrayCollection =
+                new ArrayCollection(["cote", "côte", "coté", "côté",
+                    "海 (U+6D77)", "雨 (U+96E8)", "水 (U+6C34)", "川 (U+5DDD)"]);
+			
+            public function sortArraycollectionSpark(localeStyle:String):void
+            {
+			    mySparkSortField.setStyle("locale",localeStyle);
+                myArrayCollection.sort = mySparkSort;
+                myArrayCollection.refresh();
+                
+            }
+           
+		   public function sortArraycollectionMX():void
+            {
+			    myArrayCollection.sort = myMXSort;
+                myArrayCollection.refresh();
+                
+            }
+        ]]>
+    </fx:Script>
+    
+		
+  
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/StringToolsTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/StringToolsTests.mxml b/mustella/tests/basicTests/spark/views/StringToolsTests.mxml
new file mode 100644
index 0000000..3e93f73
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/StringToolsTests.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:Declarations>
+        <s:StringTools id="stringToolsNoLocaleInline" />
+		<s:StringTools id="stringTools" 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/StyleManagerModuleTest.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/StyleManagerModuleTest.mxml b/mustella/tests/basicTests/spark/views/StyleManagerModuleTest.mxml
new file mode 100644
index 0000000..a9fa476
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/StyleManagerModuleTest.mxml
@@ -0,0 +1,34 @@
+<?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:Module xmlns:fx="http://ns.adobe.com/mxml/2009" 
+           xmlns:s="library://ns.adobe.com/flex/spark" 
+           xmlns:mx="library://ns.adobe.com/flex/mx" layout="vertical" width="400" height="100">
+    <fx:Style>
+        @namespace s "library://ns.adobe.com/flex/spark";
+        @namespace mx "library://ns.adobe.com/flex/mx";
+  
+        s|TextInput{
+            paddingTop: 15;
+        }
+    </fx:Style>
+    
+    <s:TextInput id="moduleTestTextInput" text="paddingTop = 15" fontFamily="Arial" fontSize="12" />
+</mx:Module>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/StyleManagerTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/StyleManagerTests.mxml b/mustella/tests/basicTests/spark/views/StyleManagerTests.mxml
new file mode 100644
index 0000000..ec7d4fe
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/StyleManagerTests.mxml
@@ -0,0 +1,49 @@
+<?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:layout>
+<s:VerticalLayout/>
+</s:layout>
+
+<s:TextInput id="testTextInput" text="paddingTop = 5" fontLookup="device" fontFamily="Arial" fontSize="12" />
+<!--
+<s:Button label="get height" click="{testTextInput.text = String(testTextInput.height)}" />
+<s:Button id="loadModule" label="load module" click="{moduleLoader.url='spark/views/StyleManagerModuleTest.swf'}" />
+-->
+<mx:ModuleLoader id="moduleLoader" />
+<!--
+<s:Button label="get height" click="{Object(moduleLoader.child).moduleTestTextInput.text = String(Object(moduleLoader.child).moduleTestTextInput.height)}" />
+-->
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/TextAreaTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/TextAreaTests.mxml b/mustella/tests/basicTests/spark/views/TextAreaTests.mxml
new file mode 100644
index 0000000..f0a98f8
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/TextAreaTests.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:TextArea id="testTextArea" width="100" height="100" />
+
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/TextInputTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/TextInputTests.mxml b/mustella/tests/basicTests/spark/views/TextInputTests.mxml
new file mode 100644
index 0000000..45bf342
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/TextInputTests.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:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+]]>
+</fx:Script>
+
+    <s:TextInput id="testTextInput" fontFamily="Arial" fontSize="12" />
+
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/TileGroupTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/TileGroupTests.mxml b/mustella/tests/basicTests/spark/views/TileGroupTests.mxml
new file mode 100644
index 0000000..df985e5
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/TileGroupTests.mxml
@@ -0,0 +1,48 @@
+<?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:TileGroup id="testTileGroup" width="300" height="300">
+    	<s:Button label="1" />
+    	<s:Button label="2" />
+    	<s:Button label="3" />
+    	<s:Button label="4" />
+    	<s:Button id="btn5" label="5" />
+    	<s:Button label="6" />
+    	<s:Button label="7" />
+    	<s:Button label="8" />
+    	<s:Button label="9" />
+    	<s:Button label="10" />
+    </s:TileGroup>
+
+</s:SkinnableContainer>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/TitleWindowTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/TitleWindowTests.mxml b/mustella/tests/basicTests/spark/views/TitleWindowTests.mxml
new file mode 100644
index 0000000..82c4aaf
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/TitleWindowTests.mxml
@@ -0,0 +1,46 @@
+<?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:PopUpAnchor displayPopUp="false" top="100" id="pua">
+		<s:TitleWindow title="From PopUpAnchor..." id="popUp" width="150" height="100" close="pua.displayPopUp=false;">
+			<s:layout>
+				<s:VerticalLayout paddingLeft="10" paddingTop="10" paddingRight="10" paddingBottom="10" />
+			</s:layout>
+			<s:Button id="titleWindowButton" />
+		</s:TitleWindow>
+	</s:PopUpAnchor>
+	<s:Button id="popUpButton" click="pua.displayPopUp=true;" />
+
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as b/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as
new file mode 100644
index 0000000..e1c51a7
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestClass.as
@@ -0,0 +1,119 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package spark.views.styleTest
+{
+	import flash.events.Event;
+	
+	import mx.collections.ArrayCollection;
+	import mx.collections.IList;
+	import mx.collections.XMLListCollection;
+	import mx.core.FlexGlobals;
+	import mx.styles.AdvancedStyleClient;
+	import mx.styles.CSSStyleDeclaration;
+	
+	//The possible values of the format property of the [Style] metadata tag are:
+	// Boolean, Color, Number, Length, uint, Time, File, EmbeddedFile, int, 
+	// ICollectionView, Array, Class, String, Object 
+	
+	//style with String type
+	[Style(name="teststyle_1_string_noinh", type="String", inherit="no")]
+	
+	//sample as <s:ComboBox paddingBottom="13.5" />
+	[Style(name="teststyle_2_number_noinh", type="Number", inherit="no")]
+	
+	[Style(name="teststyle_3_uint_inh", type="uint", inherit="yes")]
+	
+	
+	
+	/**
+	 * this event will be dispatched when a style named start with "teststyle_" has been changed.
+	 * and event's property: changedStyleName will contain this style name.
+	 */
+	[Event(name="testStylesChanged", type="assets.styleTest.ADVStyleTestEvent")]
+		
+	public class ADVStyleTestClass extends AdvancedStyleClient
+	{
+		
+		// Define a static variable.
+		private static var classConstructed:Boolean = classConstruct();
+		
+		// Define a static method.
+		private static function classConstruct():Boolean {
+			if (!FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration("assets.styleTest.ADVStyleTestClass"))
+			{
+				// If there is no CSS definition for StyledRectangle, 
+				// then create one and set the default value.
+				var cssStyle:CSSStyleDeclaration = new CSSStyleDeclaration();
+				cssStyle.defaultFactory = function():void
+				{
+					this.teststyle_1_string_noinh = 'defaultString';
+					/**
+					 * 2, 3 unset here, so can set them using Application and global selector.
+					 */
+					//this.teststyle_2_number_noinh = 11111.2345;
+					//this.teststyle_3_uint_inh = 9870;
+					
+				}
+					
+				FlexGlobals.topLevelApplication.styleManager.setStyleDeclaration("assets.styleTest.ADVStyleTestClass", cssStyle, true);
+				
+			}
+			
+			return true;
+		}
+		
+		/**
+		 * a list that fill with all style's name defined in this ADVStyleTestClass class.
+		 */
+		public static const STYLE_NAME_LIST:ArrayCollection = new ArrayCollection([
+			'teststyle_1_string_noinh',
+			'teststyle_2_number_noinh',
+			'teststyle_3_uint_inh'
+			
+		
+		]);
+		
+		public function ADVStyleTestClass()
+		{
+			super();
+		}
+		
+		/**
+		 *  Detects changes to style properties. When any style property is set,
+		 *  Flex calls the <code>styleChanged()</code> method,
+		 *  passing to it the name of the style being set.
+		 * 
+		 * 	Override this method to dispatch an event:ADVStyleTestEvent(ADVStyleTestEvent.TEST_STYLE_CHANGED)
+		 *  when a "teststyle_*" has changed.
+		 */
+		override public function styleChanged(styleProp:String):void {
+			super.styleChanged(styleProp);
+			
+			if (styleProp) {
+				if (styleProp.indexOf('teststyle_') == 0) {
+					var event:ADVStyleTestEvent = new ADVStyleTestEvent(ADVStyleTestEvent.TEST_STYLE_CHANGED);
+					event.changedStyleName = styleProp;
+					
+					this.dispatchEvent(event);
+				}
+			}
+		}
+
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as b/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as
new file mode 100644
index 0000000..cd29cb5
--- /dev/null
+++ b/mustella/tests/basicTests/spark/views/styleTest/ADVStyleTestEvent.as
@@ -0,0 +1,42 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package spark.views.styleTest
+{
+	import flash.events.Event;
+	
+	import mx.collections.ArrayCollection;
+	
+	public class ADVStyleTestEvent extends Event
+	{
+		public static const TEST_STYLE_CHANGED:String = "testStylesChanged";
+		
+		public static const TEST_STYLE_LOAD_COMPLETE:String = "testStylesLoadComplete";
+		
+		public var changedStyleName:String;
+		
+		public function ADVStyleTestEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
+		{
+			super(type, bubbles, cancelable);
+		}
+		
+		override public function clone():Event {
+			return new ADVStyleTestEvent(type, bubbles, cancelable);
+		}
+	}
+}
\ No newline at end of file


[05/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/MenuBarTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/MenuBarTestScript.mxml b/mustella/tests/basicTests/halo/scripts/MenuBarTestScript.mxml
new file mode 100644
index 0000000..227f710
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/MenuBarTestScript.mxml
@@ -0,0 +1,85 @@
+<?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="SetupMenuBarTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloMenuBarTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloMenuBarTests.testMenuBar" propertyName="id" value="testMenuBar" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuBarTest1">
+			<body>
+				<DispatchMouseEvent target="haloMenuBarTests.testMenuBar.menuBarItems.0" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloMenuBarTests.testMenuBar.menuBarItems.0" localX="10" localY="10" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar" eventName="menuShow" eventClass="mx.events::MenuEvent" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar.menus.0.mx_internal:popupTween" eventName="tweenEnd" eventClass="mx.events::TweenEvent" />
+				<AssertPropertyValue target="haloMenuBarTests.testMenuBar.menus.0" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuBarTest2">
+			<body>
+				<DispatchMouseEvent target="haloMenuBarTests.testMenuBar.menuBarItems.0" type="mouseOut" localX="10" localY="10" />
+				<DispatchMouseEvent target="haloMenuBarTests.testMenuBar.menuBarItems.1" type="mouseOver" localX="10" localY="10" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar" eventName="menuHide" eventClass="mx.events::MenuEvent" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar" eventName="menuShow" eventClass="mx.events::MenuEvent" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar.menus.1.mx_internal:popupTween" eventName="tweenEnd" eventClass="mx.events::TweenEvent" />
+				<AssertPropertyValue target="haloMenuBarTests.testMenuBar.menus.1" propertyName="visible" value="true" />
+				<AssertPropertyValue target="haloMenuBarTests.testMenuBar.menus.0" propertyName="visible" value="false" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuBarTest3">
+			<body>
+				<DispatchMouseEvent target="haloMenuBarTests.testMenuBar.menus.1" type="mouseOver" localX="20" localY="30" />
+				<DispatchMouseEvent target="haloMenuBarTests.testMenuBar.menus.1" type="mouseDown" localX="20" localY="30" />
+				<DispatchMouseEvent target="haloMenuBarTests.testMenuBar.menus.1" type="mouseUp" localX="20" localY="30" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar" eventName="itemClick" eventClass="mx.events::MenuEvent" />
+				<AssertEventPropertyValue propertyName="label" value="Paste" />
+				<AssertEvent target="haloMenuBarTests.testMenuBar" eventName="menuHide" eventClass="mx.events::MenuEvent" />
+				<AssertPropertyValue target="haloMenuBarTests.testMenuLabel" propertyName="text" value="Paste" />
+				<AssertPropertyValue target="haloMenuBarTests.testMenuBar.menus.1" propertyName="visible" value="false" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/MenuTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/MenuTestScript.mxml b/mustella/tests/basicTests/halo/scripts/MenuTestScript.mxml
new file mode 100644
index 0000000..52b0d75
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/MenuTestScript.mxml
@@ -0,0 +1,91 @@
+<?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="SetupMenuTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloMenuTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloMenuTests.testMenuButton" propertyName="label" value="Create and Show Menu" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuTest1">
+			<body>
+				<DispatchMouseEvent target="haloMenuTests.testMenuButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloMenuTests.testMenuButton" localX="10" localY="10" />
+				<AssertEvent target="haloMenuTests.testMenu.mx_internal:popupTween" eventName="tweenEnd" eventClass="mx.events::TweenEvent" />
+				<AssertPropertyValue target="haloMenuTests.testMenu" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuTest2">
+			<body>
+				<DispatchMouseEvent target="haloMenuTests.testMenu" type="mouseOver" localX="20" localY="10" />
+				<AssertEvent target="haloMenuTests.testMenu" eventName="menuShow" eventClass="mx.events::MenuEvent" />
+				<AssertEvent target="haloMenuTests.testMenu.mx_internal:subMenus.0.mx_internal:popupTween" eventName="tweenEnd" eventClass="mx.events::TweenEvent" />
+				<AssertPropertyValue target="haloMenuTests.testMenu.mx_internal:subMenus.0" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuTest3">
+			<body>
+				<DispatchMouseEvent target="haloMenuTests.testMenu" type="mouseOver" localX="20" localY="30" />
+				<AssertEvent target="haloMenuTests.testMenu" eventName="menuHide" eventClass="mx.events::MenuEvent" />
+				<AssertPropertyValue target="haloMenuTests.testMenu.mx_internal:subMenus.0" propertyName="visible" value="false" />
+				<AssertEvent target="haloMenuTests.testMenu" eventName="menuShow" eventClass="mx.events::MenuEvent" />
+				<AssertEvent target="haloMenuTests.testMenu.mx_internal:subMenus.1.mx_internal:popupTween" eventName="tweenEnd" eventClass="mx.events::TweenEvent" />
+				<AssertPropertyValue target="haloMenuTests.testMenu.mx_internal:subMenus.1" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="MenuTest4">
+			<body>
+				<DispatchMouseEvent target="haloMenuTests.testMenu.mx_internal:subMenus.1" type="mouseOver" localX="20" localY="10" />
+				<DispatchMouseEvent target="haloMenuTests.testMenu.mx_internal:subMenus.1" type="mouseDown" localX="20" localY="10" />
+				<DispatchMouseEvent target="haloMenuTests.testMenu.mx_internal:subMenus.1" type="mouseUp" localX="20" localY="10" />
+				<AssertEvent target="haloMenuTests.testMenu" eventName="itemClick" eventClass="mx.events::MenuEvent" />
+				<AssertEventPropertyValue propertyName="label" value="Copy" />
+				<AssertEvent target="haloMenuTests.testMenu" eventName="menuHide" eventClass="mx.events::MenuEvent" />
+				<AssertPropertyValue target="haloMenuTests.testMenuLabel" propertyName="text" value="Copy" />
+				<AssertPropertyValue target="haloMenuTests.testMenu" propertyName="visible" value="false" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/NumericStepperTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/NumericStepperTestScript.mxml b/mustella/tests/basicTests/halo/scripts/NumericStepperTestScript.mxml
new file mode 100644
index 0000000..30ae0d1
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/NumericStepperTestScript.mxml
@@ -0,0 +1,86 @@
+<?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="SetupNumericStepperTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloNumericStepperTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloNumericStepperTests.testNumStep" propertyName="value" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="NumericStepperTest1">
+			<body>
+				<DispatchMouseEvent target="haloNumericStepperTests.testNumStep.mx_internal:nextButton" type="mouseOver" localX="2" localY="2" />
+				<DispatchMouseClickEvent target="haloNumericStepperTests.testNumStep.mx_internal:nextButton" localX="2" localY="2" />
+				<AssertEvent target="haloNumericStepperTests.testNumStep" eventName="change" eventClass="mx.events::NumericStepperEvent" />
+				<AssertPropertyValue target="haloNumericStepperTests.testNumStep" propertyName="value" value="1" />
+			</body>
+			<cleanup>
+				<DispatchMouseEvent target="haloNumericStepperTests.testNumStep.mx_internal:nextButton" type="mouseOut" localX="2" localY="2" />
+			</cleanup>
+		</TestCase>
+		<TestCase testID="NumericStepperTest2">
+			<body>
+				<DispatchMouseEvent target="haloNumericStepperTests.testNumStep.mx_internal:nextButton" type="mouseOver" localX="2" localY="2" />
+				<DispatchMouseClickEvent target="haloNumericStepperTests.testNumStep.mx_internal:nextButton" localX="2" localY="2" />
+				<AssertEvent target="haloNumericStepperTests.testNumStep" eventName="change" eventClass="mx.events::NumericStepperEvent" />
+				<AssertPropertyValue target="haloNumericStepperTests.testNumStep" propertyName="value" value="2" />
+			</body>
+			<cleanup>
+				<DispatchMouseEvent target="haloNumericStepperTests.testNumStep.mx_internal:nextButton" type="mouseOut" localX="2" localY="2" />
+			</cleanup>
+		</TestCase>
+		<TestCase testID="NumericStepperTest3">
+			<body>
+				<DispatchMouseEvent target="haloNumericStepperTests.testNumStep.mx_internal:prevButton" type="mouseOver" localX="2" localY="2" />
+				<DispatchMouseClickEvent target="haloNumericStepperTests.testNumStep.mx_internal:prevButton" localX="2" localY="2" />
+				<AssertEvent target="haloNumericStepperTests.testNumStep" eventName="change" eventClass="mx.events::NumericStepperEvent" />
+				<AssertPropertyValue target="haloNumericStepperTests.testNumStep" propertyName="value" value="1" />
+			</body>
+			<cleanup>
+				<DispatchMouseEvent target="haloNumericStepperTests.testNumStep.mx_internal:prevButton" type="mouseOut" localX="2" localY="2" />
+			</cleanup>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/ProgressBarTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/ProgressBarTestScript.mxml b/mustella/tests/basicTests/halo/scripts/ProgressBarTestScript.mxml
new file mode 100644
index 0000000..6714a6e
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/ProgressBarTestScript.mxml
@@ -0,0 +1,78 @@
+<?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[
+        [Bindable]
+        public var props1:Object = { bytesLoaded: 50, bytesTotal: 100 };
+        [Bindable]
+        public var props2:Object = { bytesLoaded: 90, bytesTotal: 100 };
+        [Bindable]
+        public var props3:Object = { bytesLoaded: 100, bytesTotal: 100 };
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupProgressBarTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloProgressBarTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloProgressBarTests.testProgressBar" propertyName="label" value="Test ProgressBar" />
+			</body>
+		</TestCase>
+		<TestCase testID="ProgressBarTest1">
+			<body>
+				<DispatchEvent target="haloProgressBarTests" type="progress" eventClass="flash.events.ProgressEvent" properties="{props1}" />
+				<AssertPropertyValue target="haloProgressBarTests.testProgressBar" propertyName="value" value="50" />
+			</body>
+		</TestCase>
+		<TestCase testID="ProgressBarTest2">
+			<body>
+				<DispatchEvent target="haloProgressBarTests" type="progress" eventClass="flash.events.ProgressEvent" properties="{props2}" />
+				<AssertPropertyValue target="haloProgressBarTests.testProgressBar" propertyName="value" value="90" />
+			</body>
+		</TestCase>
+		<TestCase testID="ProgressBarTest3">
+			<body>
+				<DispatchEvent target="haloProgressBarTests" type="progress" eventClass="flash.events.ProgressEvent" properties="{props3}" />
+				<DispatchEvent target="haloProgressBarTests" type="complete" eventClass="flash.events.Event" />
+				<AssertPropertyValue target="haloProgressBarTests.testProgressBar" propertyName="value" value="100" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/RPCDataBindingTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/RPCDataBindingTestScript.mxml b/mustella/tests/basicTests/halo/scripts/RPCDataBindingTestScript.mxml
new file mode 100644
index 0000000..51be033
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/RPCDataBindingTestScript.mxml
@@ -0,0 +1,69 @@
+<?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="SetupRPCDataBindingTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloRPCDataBindingTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloRPCDataBindingTests.testList" propertyName="dataProvider" valueExpression="value=null" />
+			</body>
+		</TestCase>
+		<TestCase testID="RPCDataBindingTest1">
+			<body>
+				<DispatchMouseEvent target="haloRPCDataBindingTests.loadButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloRPCDataBindingTests.loadButton"  localX="10" localY="10" waitEvent="result" waitTarget="haloRPCDataBindingTests.svc" />
+				<AssertPropertyValue target="haloRPCDataBindingTests.testList.dataProvider" propertyName="length" value="50" />
+				<AssertPropertyValue target="haloRPCDataBindingTests.testList.mx_internal:rendererArray.1.0.getLabel()" propertyName="text" value="California" />
+			</body>
+		</TestCase>
+		<TestCase testID="RPCDataBindingTest2">
+			<body>
+				<DispatchMouseEvent target="haloRPCDataBindingTests.testList" type="mouseOver" localX="10" localY="56" />
+				<DispatchMouseClickEvent target="haloRPCDataBindingTests.testList" localX="10" localY="56" />
+				<AssertEvent target="haloRPCDataBindingTests.testList" eventName="itemClick" eventClass="mx.events::ListEvent" />
+				<AssertPropertyValue target="haloRPCDataBindingTests.testList.selectedItem" propertyName="name" value="Alabama" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/RadioButtonTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/RadioButtonTestScript.mxml b/mustella/tests/basicTests/halo/scripts/RadioButtonTestScript.mxml
new file mode 100644
index 0000000..c138835
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/RadioButtonTestScript.mxml
@@ -0,0 +1,69 @@
+<?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="SetupRadioButtonTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloRadioButtonTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloRadioButtonTests.testRadio1" propertyName="label" value="test Radio1" />
+				<AssertPropertyValue target="haloRadioButtonTests.testRadio2" propertyName="label" value="test Radio2" />
+			</body>
+		</TestCase>
+		<TestCase testID="RadioButtonTest1">
+			<body>
+				<DispatchMouseEvent target="haloRadioButtonTests.testRadio1" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloRadioButtonTests.testRadio1" localX="10" localY="10" />
+				<AssertPropertyValue target="haloRadioButtonTests.testRadio1" propertyName="selected" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="RadioButtonTest2">
+			<body>
+				<DispatchMouseEvent target="haloRadioButtonTests.testRadio2" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloRadioButtonTests.testRadio2" localX="10" localY="10" />
+				<AssertPropertyValue target="haloRadioButtonTests.testRadio1" propertyName="selected" value="false" />
+				<AssertPropertyValue target="haloRadioButtonTests.testRadio2" propertyName="selected" value="true" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/SWFLoaderTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/SWFLoaderTestScript.mxml b/mustella/tests/basicTests/halo/scripts/SWFLoaderTestScript.mxml
new file mode 100644
index 0000000..7b1787e
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/SWFLoaderTestScript.mxml
@@ -0,0 +1,58 @@
+<?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="SetupSWFLoaderTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloSWFLoaderTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloSWFLoaderTests.testLoader" propertyName="source" value="basicLoader.swf" />
+			</body>
+		</TestCase>
+		<TestCase testID="SWFLoaderTest1">
+			<body>
+				<AssertPixelValue target="haloSWFLoaderTests.testLoader" x="10" y="10" value="0xFF9933" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/SliderTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/SliderTestScript.mxml b/mustella/tests/basicTests/halo/scripts/SliderTestScript.mxml
new file mode 100644
index 0000000..ee39509
--- /dev/null
+++ b/mustella/tests/basicTests/halo/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="SetupSliderTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloSliderTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloSliderTests.testSlider" propertyName="value" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="SliderTest1">
+			<body>
+				<DispatchMouseEvent target="haloSliderTests.testSlider" type="mouseOver" localX="3" localY="30" />
+				<DispatchMouseEvent target="haloSliderTests.testSlider" type="mouseDown" localX="3" localY="30" />
+				<DispatchMouseEvent target="haloSliderTests.testSlider" type="mouseMove" localX="13" localY="30" />
+				<DispatchMouseEvent target="haloSliderTests.testSlider" type="mouseMove" localX="23" localY="30" />
+				<DispatchMouseEvent target="haloSliderTests.testSlider" type="mouseMove" localX="33" localY="30" />
+				<DispatchMouseEvent target="haloSliderTests.testSlider" type="mouseUp" localX="33" localY="30" />
+				<AssertPropertyValue target="haloSliderTests.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/halo/scripts/TabNavigatorTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/TabNavigatorTestScript.mxml b/mustella/tests/basicTests/halo/scripts/TabNavigatorTestScript.mxml
new file mode 100644
index 0000000..a6aa365
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/TabNavigatorTestScript.mxml
@@ -0,0 +1,71 @@
+<?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="SetupTabNavigatorTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloTabNavigatorTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator" propertyName="numChildren" value="3" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator" propertyName="selectedIndex" value="0" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator.selectedChild.getChildAt(0)" propertyName="text" value="This is Page One" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloTabNavigatorTest1">
+			<body>
+				<DispatchMouseEvent target="haloTabNavigatorTests.testTabNavigator" type="mouseOver" localX="100" localY="10" />
+				<DispatchMouseClickEvent target="haloTabNavigatorTests.testTabNavigator"  localX="100" localY="10" waitEvent="change" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator" propertyName="selectedIndex" value="1" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator.selectedChild.getChildAt(0)" propertyName="text" value="This is Page Two" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloTabNavigatorTest2">
+			<body>
+				<DispatchMouseEvent target="haloTabNavigatorTests.testTabNavigator" type="mouseOver" localX="200" localY="10" />
+				<DispatchMouseClickEvent target="haloTabNavigatorTests.testTabNavigator"  localX="200" localY="10" waitEvent="change" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator" propertyName="selectedIndex" value="2" />
+				<AssertPropertyValue target="haloTabNavigatorTests.testTabNavigator.selectedChild.getElementAt(0)" propertyName="text" value="This is Page Three" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/TextAreaTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/TextAreaTestScript.mxml b/mustella/tests/basicTests/halo/scripts/TextAreaTestScript.mxml
new file mode 100644
index 0000000..19d81ae
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/TextAreaTestScript.mxml
@@ -0,0 +1,62 @@
+<?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="SetupTextAreaTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloTextAreaTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloTextAreaTests.testTextArea" propertyName="text" value="" />
+			</body>
+		</TestCase>
+		<TestCase testID="TextAreaTest1">
+			<body>
+				<SetProperty target="haloTextAreaTests.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="haloTextAreaTests.testTextArea" eventName="updateComplete" eventClass="mx.events::FlexEvent" numExpectedEvents="1" />
+				<AssertPropertyValue target="haloTextAreaTests.testTextArea" propertyName="numChildren" value="4" />
+				<AssertPropertyValue target="haloTextAreaTests.testTextArea.getChildAt(3)" propertyName="className" value="VScrollBar" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/TextInputTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/TextInputTestScript.mxml b/mustella/tests/basicTests/halo/scripts/TextInputTestScript.mxml
new file mode 100644
index 0000000..5542a7a
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/TextInputTestScript.mxml
@@ -0,0 +1,61 @@
+<?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="SetupTextInputTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloTextInputTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloTextInputTests.testTextInput" propertyName="text" value="" />
+			</body>
+		</TestCase>
+		<TestCase testID="TextInputTest1">
+			<body>
+				<DispatchMouseClickEvent target="haloTextInputTests.testTextInput" localX="10" localY="10" />
+				<DispatchKeyEvent char="This is another test." />
+				<AssertPropertyValue target="haloTextInputTests.testTextInput" propertyName="text" value="This is another test." />
+				<AssertPropertyValue target="haloTextInputTests.testTextInput.getChildAt(1)" propertyName="text" value="This is another test." />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/TextTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/TextTestScript.mxml b/mustella/tests/basicTests/halo/scripts/TextTestScript.mxml
new file mode 100644
index 0000000..6772792
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/TextTestScript.mxml
@@ -0,0 +1,72 @@
+<?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[
+	    // Return true if the TextField is scrolled all the way.  
+            // SDK-15246 fixs player bug and we need to detect if the player
+            // fixes this.
+	    private function checkTextFieldScroll():Boolean
+	    {
+	        return (application.haloTextTests.testText.getChildAt(0).scrollV == 
+			application.haloTextTests.testText.getChildAt(0).maxScrollV);
+	    }
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+<!--
+-->
+		<TestCase testID="SetupTextTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloTextTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloTextTests.testText.getChildAt(0)" propertyName="numLines" value="8" />
+			</body>
+		</TestCase>
+		<TestCase testID="TextTest1">
+			<body>
+				<AssertPropertyValue target="haloTextTests.testText.getChildAt(0)" propertyName="length" value="87" />
+			</body>
+		</TestCase>
+		<TestCase testID="TextTest2">
+			<body>
+		                <AssertMethodValue method="value=checkTextFieldScroll()" valueExpression="value=true" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/TreeTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/TreeTestScript.mxml b/mustella/tests/basicTests/halo/scripts/TreeTestScript.mxml
new file mode 100644
index 0000000..8ba28c5
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/TreeTestScript.mxml
@@ -0,0 +1,68 @@
+<?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="SetupTreeTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloTreeTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloTreeTests.testTree.dataProvider" propertyName="length" value="5" />
+			</body>
+		</TestCase>
+		<TestCase testID="TreeTest1">
+			<body>
+				<DispatchMouseEvent target="haloTreeTests.addNodeButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloTreeTests.addNodeButton"  localX="10" localY="10" waitEvent="updateComplete" waitTarget="haloTreeTests.testTree" />
+				<AssertPropertyValue target="haloTreeTests.testTree.dataProvider" propertyName="length" value="6" />
+			</body>
+		</TestCase>
+		<TestCase testID="TreeTest2">
+			<body>
+				<DispatchMouseEvent target="haloTreeTests.testTree" type="mouseOver" localX="10" localY="56" />
+				<DispatchMouseClickEvent target="haloTreeTests.testTree" localX="10" localY="56" />
+				<AssertEvent target="haloTreeTests.testTree" eventName="itemOpen" eventClass="mx.events::TreeEvent" />
+				<AssertPropertyValue target="haloTreeTests.testTree.mx_internal:wrappedCollection" propertyName="length" value="8" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/AccordionTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/AccordionTests.mxml b/mustella/tests/basicTests/halo/views/AccordionTests.mxml
new file mode 100644
index 0000000..15302fd
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/AccordionTests.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.
+
+-->
+<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>
+
+    <mx:Accordion id="testAccordion" >
+        <mx:VBox label="First Page" height="200" >
+            <mx:Label id="pageLabel1" text="This is Page One" />
+        </mx:VBox>
+        <mx:VBox label="Second Page" height="200" >
+            <mx:Label id="pageLabel2" text="This is Page Two" />
+        </mx:VBox>
+        <s:NavigatorContent label="Third Page" height="200" >
+            <s:Label id="pageLabel3" text="This is Page Three" />
+        </s:NavigatorContent >
+    </mx:Accordion>
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/AlertTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/AlertTests.mxml b/mustella/tests/basicTests/halo/views/AlertTests.mxml
new file mode 100644
index 0000000..129f208
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/AlertTests.mxml
@@ -0,0 +1,41 @@
+<?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 width="200" height="200"
+    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>
+
+    <mx:Button id="alertButton" label="Show Alert" click="Alert.show('This is an Alert', 'Alert Test')" />
+    <mx:Button id="testButton" label="Test Modal" click="testLabel.text = 'clicked'" />
+    <mx:Label id="testLabel" text="not clicked" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ButtonTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ButtonTests.mxml b/mustella/tests/basicTests/halo/views/ButtonTests.mxml
new file mode 100644
index 0000000..e508aa8
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ButtonTests.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.
+
+-->
+<my:VBox 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:basic="library://ns.apache.org/flexjs/basic" 
+    xmlns:my="shim.*"                >
+
+<fx:Script>
+<![CDATA[
+]]>
+</fx:Script>
+
+    <basic:TextButton id="testButton" text="test button" click="testLabel.text='This is a test'" />
+    <basic:Label id="testLabel" text="test" />
+
+</my:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/CheckBoxTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/CheckBoxTests.mxml b/mustella/tests/basicTests/halo/views/CheckBoxTests.mxml
new file mode 100644
index 0000000..58b3aa9
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/CheckBoxTests.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.
+
+-->
+<my:VBox 
+    xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:basic="library://ns.apache.org/flexjs/basic" 
+    xmlns:my="shim.*"                >
+
+<fx:Script>
+<![CDATA[
+
+]]>
+</fx:Script>
+
+    <basic:CheckBox id="testCheckBox" text="test CheckBox" />
+
+</my:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/CollectionTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/CollectionTests.mxml b/mustella/tests/basicTests/halo/views/CollectionTests.mxml
new file mode 100644
index 0000000..3adfd50
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/CollectionTests.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.
+
+-->
+<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>
+
+<fx:Declarations>
+    <mx:HTTPService id="svc" url="halo/views/ListOfUSStateNames.xml" />
+</fx:Declarations>
+
+    <mx:DataGrid id="testDataGrid" dataProvider="{svc.lastResult.states.state}" >
+        <mx:columns>
+            <mx:DataGridColumn dataField="name" />
+            <mx:DataGridColumn dataField="data" />
+        </mx:columns>
+    </mx:DataGrid>
+    <mx:Button id="loadButton" label="load" click="svc.send()" />
+    <mx:Button id="filterButton" label="filter" 
+        click="testDataGrid.dataProvider.filterFunction = function(obj:Object):Boolean { return obj.name.indexOf('W') == 0; }; testDataGrid.dataProvider.refresh()" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ColorPickerTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ColorPickerTests.mxml b/mustella/tests/basicTests/halo/views/ColorPickerTests.mxml
new file mode 100644
index 0000000..96d480f
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ColorPickerTests.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.
+
+-->
+<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>
+
+    <mx:ColorPicker id="testColorPicker" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ComboBoxTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ComboBoxTests.mxml b/mustella/tests/basicTests/halo/views/ComboBoxTests.mxml
new file mode 100644
index 0000000..7f7b1f2
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ComboBoxTests.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.
+
+-->
+<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.*;
+
+	public var comboDP:Array = ["Apples", "Beer", "Soda", "Pears", "Peaches", "Bagels"];
+]]>
+</fx:Script>
+
+    <mx:ComboBox id="testCombo" initialize="testCombo.dataProvider = comboDP" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/DateFieldTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/DateFieldTests.mxml b/mustella/tests/basicTests/halo/views/DateFieldTests.mxml
new file mode 100644
index 0000000..6f32e45
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/DateFieldTests.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.
+
+-->
+<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>
+
+    <mx:DateField id="testDateField" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/FTETextTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/FTETextTests.mxml b/mustella/tests/basicTests/halo/views/FTETextTests.mxml
new file mode 100644
index 0000000..b5e2c6c
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/FTETextTests.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.
+
+-->
+<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>
+
+    <mx:Label id="testFTELabel" text="FTE text" 
+        textFieldClass="mx.core.UIFTETextField"/>
+    
+    <mx:NumericStepper id="testFTENumericStepper" value="7" 
+        textFieldClass="mx.core.UIFTETextField"
+        textInputClass="mx.controls.MXFTETextInput" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/FocusManagerTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/FocusManagerTests.mxml b/mustella/tests/basicTests/halo/views/FocusManagerTests.mxml
new file mode 100644
index 0000000..35a744c
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/FocusManagerTests.mxml
@@ -0,0 +1,44 @@
+<?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>
+
+    <mx:Button id="testButton" label="test button" click="testLabel.text='This is a test'" />
+    <mx:Label id="testLabel" text="test" />
+    <mx:CheckBox id="testCheckBox" label="test CheckBox" />
+    <mx:RadioButtonGroup id="halo1" />
+    <mx:RadioButton id="testRadio1" label="test Radio1" groupName="halo1" />
+    <mx:RadioButton id="testRadio2" label="test Radio2" groupName="halo1" selected="true" />
+    <mx:RadioButton id="testRadio3" label="test Radio3" groupName="halo1" />
+
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ImageTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ImageTests.mxml b/mustella/tests/basicTests/halo/views/ImageTests.mxml
new file mode 100644
index 0000000..6ed3a54
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ImageTests.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.
+
+-->
+<mx:Canvas 
+    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>
+
+    <mx:Image id="testImage" source="basicImage.jpg" /> 
+
+</mx:Canvas>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ListAndDataGridTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ListAndDataGridTests.mxml b/mustella/tests/basicTests/halo/views/ListAndDataGridTests.mxml
new file mode 100644
index 0000000..3ff807e
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ListAndDataGridTests.mxml
@@ -0,0 +1,75 @@
+<?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"     
+    initialize="initListComponents()"
+    >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+
+    public var listDP:Array = [
+       { Artist:'Pavement', Album:'Enchanted and Slanted', Price:11.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Rain Crooked, Rain Crooked', Price:10.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Zowee Wowee', Price:12.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Corners the Brighten', Price:11.99, Rating:'Good' },
+       { Artist:'Pavement', Album:'Twilight Terror', Price:11.99, Rating:'Good' },
+       { Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' }
+               ];
+
+    public var dataGridDP:Array =
+     [
+       { Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Crooked Rain, Crooked Rain', Price:10.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Wowee Zowee', Price:12.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Brighten the Corners', Price:11.99, Rating:'Good' },
+       { Artist:'Pavement', Album:'Terror Twilight', Price:11.99, Rating:'Good' },
+       { Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' }
+     ];
+
+    public function initListComponents():void
+    {
+            testList.dataProvider = listDP;
+            testDataGrid.dataProvider = dataGridDP;
+
+    }
+
+
+]]>
+</fx:Script>
+
+    <mx:List id="testList" labelField="Album" dragEnabled="true" dragMoveEnabled="false" />
+
+    <mx:DataGrid id="testDataGrid" dropEnabled="true">
+            <mx:columns>
+                        <mx:DataGridColumn dataField="Album" headerText="Record" />
+                        <mx:DataGridColumn dataField="Price" />
+            </mx:columns>
+    </mx:DataGrid>
+
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ListOfUSStateNames.xml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ListOfUSStateNames.xml b/mustella/tests/basicTests/halo/views/ListOfUSStateNames.xml
new file mode 100644
index 0000000..7ce0f62
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ListOfUSStateNames.xml
@@ -0,0 +1,73 @@
+<?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.
+
+-->
+
+
+<states>
+    <state name="Massachusetts" data="MA"/>
+    <state name="California" data="CA"/>
+    <state name="Alabama" data="AL"/>
+    <state name="Alaska" data="AK"/>
+    <state name="Arizona" data="AZ"/>
+    <state name="Arkansas" data="AR"/>
+    <state name="Colorado" data="CO"/>
+    <state name="Connecticut" data="CT"/>
+    <state name="Delaware" data="DE"/>
+    <state name="Florida" data="FL"/>
+    <state name="Georgia" data="GA"/>
+    <state name="Hawaii" data="HI"/>
+    <state name="Idaho" data="ID"/>
+    <state name="Illinois" data="IL"/>
+    <state name="Indiana" data="IN"/>
+    <state name="Iowa" data="IA"/>
+    <state name="Kansas" data="KS"/>
+    <state name="Kentucky" data="KY"/>
+    <state name="Louisiana" data="LA"/>
+    <state name="Maine" data="ME"/>
+    <state name="Maryland" data="MD"/>
+    <state name="Michigan" data="MI"/>
+    <state name="Minnesota" data="MN"/>
+    <state name="Mississippi" data="MS"/>
+    <state name="Missouri" data="MO"/>
+    <state name="Montana" data="MT"/>
+    <state name="Nebraska" data="NE"/>
+    <state name="Nevada" data="NV"/>
+    <state name="New Hampshire" data="NH"/>
+    <state name="New Jersey" data="NJ"/>
+    <state name="New Mexico" data="NM"/>
+    <state name="New York" data="NY"/>
+    <state name="North Carolina" data="NC"/>
+    <state name="North Dakota" data="ND"/>
+    <state name="Ohio" data="OH"/>
+    <state name="Oklahoma" data="OK"/>
+    <state name="Oregon" data="OR"/>
+    <state name="Pennsylvania" data="PA"/>
+    <state name="Rhode Island" data="RI"/>
+    <state name="South Carolina" data="SC"/>
+    <state name="South Dakota" data="SD"/>
+    <state name="Tennessee" data="TN"/>
+    <state name="Texas" data="TX"/>
+    <state name="Utah" data="UT"/>
+    <state name="Vermont" data="VT"/>
+    <state name="Virginia" data="VA"/>
+    <state name="Washington" data="WA"/>
+    <state name="West Virginia" data="WV"/>
+    <state name="Wisconsin" data="WI"/>
+    <state name="Wyoming" data="WY"/>
+</states>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/MXItemRendererTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/MXItemRendererTests.mxml b/mustella/tests/basicTests/halo/views/MXItemRendererTests.mxml
new file mode 100644
index 0000000..4ed4f90
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/MXItemRendererTests.mxml
@@ -0,0 +1,122 @@
+<?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"     
+    initialize="initComponents()"
+    >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+    import mx.utils.ObjectProxy;
+
+    public var treeDP:Array = [ new ObjectProxy({ label: "Inbox", children: [
+                                                    new ObjectProxy({ label: "Personal", data: "personal"}),
+                                                    new ObjectProxy({ label: "Marketing", data: "mktg"}),
+                                                    new ObjectProxy({ label: "To do", data: "todo"}) ]}),
+                                new ObjectProxy({ label: "Calendar", children: [
+                                                     new ObjectProxy({ label: "Appointments", data: "appointments"}),
+                                                     new ObjectProxy({ label: "Meetings", data: "meetings"}) ]}), 
+                                new ObjectProxy({ label: "Sent", data: "sent" }),
+                                new ObjectProxy({ label: "Deleted Items", data: "deleted" }),
+                                new ObjectProxy({ label: "Spam", data: "spam" }) ];
+
+
+    public var dataGridDP:Array =
+     [
+       new ObjectProxy({ Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, Rating:'Excellent' }),
+       new ObjectProxy({ Artist:'Pavement', Album:'Crooked Rain, Crooked Rain', Price:10.99, Rating:'Excellent' }),
+       new ObjectProxy({ Artist:'Pavement', Album:'Wowee Zowee', Price:12.99, Rating:'Excellent' }),
+       new ObjectProxy({ Artist:'Pavement', Album:'Brighten the Corners', Price:11.99, Rating:'Good' }),
+       new ObjectProxy({ Artist:'Pavement', Album:'Terror Twilight', Price:11.99, Rating:'Good' }),
+       new ObjectProxy({ Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' })
+     ];
+
+    public function initComponents():void
+    {
+            testTree.dataProvider = treeDP;
+            testDataGrid.dataProvider = dataGridDP;
+    }
+
+]]>
+</fx:Script>
+
+    <mx:Tree id="testTree" >
+        <mx:itemRenderer>
+            <fx:Component>
+                <s:MXTreeItemRenderer height="22">
+                    <s:states>
+                        <s:State name="normal" />            
+                        <s:State name="hovered" />
+                        <s:State name="selected" />
+                    </s:states>
+                    <s:HGroup left="0" right="0" verticalCenter="0">
+                        <s:Rect id="indentationSpacer" width="{treeListData.indent}" height="22" alpha="0">
+                            <s:fill>
+                                <s:SolidColor color="0xFFFFFF" />
+                            </s:fill>
+                        </s:Rect>
+                        <s:Group id="disclosureGroup">
+                            <s:BitmapImage source="{treeListData.disclosureIcon}" width="16" height="16" visible="{treeListData.hasChildren}" />
+                        </s:Group>
+                        <s:BitmapImage source="{treeListData.icon}" width="16" height="16"/>
+                        <s:Label text="{data.label}" color.hovered="0xFF0000" color.selected="0xFFFFFF" />
+                    </s:HGroup>
+                </s:MXTreeItemRenderer>
+            </fx:Component>
+        </mx:itemRenderer>
+    </mx:Tree>
+
+    <mx:DataGrid id="testDataGrid" editable="true">
+        <mx:columns>
+            <mx:DataGridColumn dataField="Album" headerText="Record" width="200">
+                <mx:itemRenderer>
+                    <fx:Component>
+                        <s:MXDataGridItemRenderer height="22">
+                            <s:states>
+                                <s:State name="normal" />            
+                                <s:State name="hovered" />
+                                <s:State name="selected" />
+                            </s:states>
+                            <s:HGroup left="0" right="0" verticalCenter="0">
+                                <s:Label id="album" text="{data.Album}" color.hovered="0xFF0000" color.selected="0xFFFFFF" />
+                                <s:Label id="artist" text="{data.Artist}" color.hovered="0xFF0000" color.selected="0xFFFFFF" />
+                            </s:HGroup>
+                        </s:MXDataGridItemRenderer>
+                    </fx:Component>
+                </mx:itemRenderer>
+                <mx:itemEditor>
+                    <fx:Component>
+                        <s:MXDataGridItemRenderer focusEnabled="true" height="22" >
+                            <s:TextInput id="editor" top="0" left="0" right="0" bottom="0" text="{data.Album}" />
+                        </s:MXDataGridItemRenderer>
+                    </fx:Component>
+                </mx:itemEditor>
+            </mx:DataGridColumn>
+            <mx:DataGridColumn dataField="Rating" />
+        </mx:columns>
+    </mx:DataGrid>
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/MenuBarTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/MenuBarTests.mxml b/mustella/tests/basicTests/halo/views/MenuBarTests.mxml
new file mode 100644
index 0000000..ff091b3
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/MenuBarTests.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.
+
+-->
+<mx:Panel layout="vertical" 
+    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 menuBarDP:Object = {label: "top", children: [
+                                                            {label: "File", children: [
+                                                                    {label: "Open"},
+                                                                    {label: "New", children: [
+                                                                            { label: "File"},
+                                                                            { label: "Folder"} ]} ]},
+                                                            {label: "Edit", children: [
+                                                                    {label: "Copy"},
+                                                                    {label: "Paste"},
+                                                                    {label: "Send"} ]},
+                                                            {label: "Window"} ]};
+
+    public function initMenuBar():void
+    {
+            testMenuBar.dataProvider = menuBarDP;
+    }
+
+    public function menuChanged(event:Event):void
+    {
+            testMenuLabel.text = MenuEvent(event).item.label;
+    }
+
+]]>
+</fx:Script>
+
+    <mx:MenuBar id="testMenuBar" width="250" showRoot="false" initialize="initMenuBar()" itemClick="menuChanged(event)" />
+    <mx:HBox width="250">
+            <mx:Label text="Menu Choice: " />
+            <mx:Label id="testMenuLabel" width="100%" />
+    </mx:HBox>
+
+</mx:Panel>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/MenuTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/MenuTests.mxml b/mustella/tests/basicTests/halo/views/MenuTests.mxml
new file mode 100644
index 0000000..15c48c2
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/MenuTests.mxml
@@ -0,0 +1,68 @@
+<?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.*;
+
+    public var menuDP:Object = {label: "top", children: [
+                                                            {label: "File", children: [
+                                                                    {label: "Open"},
+                                                                    {label: "New File"}     ]},
+                                                            {label: "Edit", children: [
+                                                                    {label: "Copy"},
+                                                                    {label: "Paste"},
+                                                                    {label: "Send"} ]},
+                                                            {label: "Window"} ]};
+
+    public var testMenu:Menu;
+
+    public function createAndShowMenu():void
+    {
+            var menu:Menu = Menu.createMenu(null, menuDP, false);
+            testMenu = menu;
+            var point:Point = new Point(testMenuButton.width, testMenuButton.height);
+            point = testMenuButton.localToGlobal(point);
+            menu.show(point.x, point.y);
+            menu.addEventListener("itemClick", menuChanged);
+    }
+
+    public function menuChanged(event:Event):void
+    {
+            testMenuLabel.text = MenuEvent(event).item.label;
+    }
+]]>
+</fx:Script>
+
+    <mx:Button id="testMenuButton" label="Create and Show Menu" click="createAndShowMenu()" />
+    <mx:HBox width="250">
+            <mx:Label text="Menu Choice: " />
+            <mx:Label id="testMenuLabel" width="100%" />
+    </mx:HBox>
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/NumericStepperTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/NumericStepperTests.mxml b/mustella/tests/basicTests/halo/views/NumericStepperTests.mxml
new file mode 100644
index 0000000..d5fdf7f
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/NumericStepperTests.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.
+
+-->
+<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>
+
+    <mx:NumericStepper id="testNumStep" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/ProgressBarTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/ProgressBarTests.mxml b/mustella/tests/basicTests/halo/views/ProgressBarTests.mxml
new file mode 100644
index 0000000..c848c24
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/ProgressBarTests.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.
+
+-->
+<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>
+
+    <mx:ProgressBar id="testProgressBar" width="150" label="Test ProgressBar"
+                            initialize="testProgressBar.source = this" indeterminate="false" />
+
+</mx:VBox>


[04/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/RPCDataBindingTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/RPCDataBindingTests.mxml b/mustella/tests/basicTests/halo/views/RPCDataBindingTests.mxml
new file mode 100644
index 0000000..fed9384
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/RPCDataBindingTests.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.
+
+-->
+<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>
+<fx:Declarations>
+    <mx:HTTPService id="svc" url="halo/views/ListOfUSStateNames.xml" />
+</fx:Declarations>
+
+    <mx:List id="testList" dataProvider="{svc.lastResult.states.state}" labelField="name"/>
+    <mx:Button id="loadButton" label="load" click="svc.send()" />
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/RadioButtonTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/RadioButtonTests.mxml b/mustella/tests/basicTests/halo/views/RadioButtonTests.mxml
new file mode 100644
index 0000000..963b3f7
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/RadioButtonTests.mxml
@@ -0,0 +1,41 @@
+<?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>
+
+    <mx:RadioButtonGroup id="halo" />
+    <mx:RadioButton id="testRadio1" label="test Radio1" groupName="halo" />
+    <mx:RadioButton id="testRadio2" label="test Radio2" groupName="halo" />
+    <mx:RadioButton id="testRadio3" label="test Radio3" groupName="halo" />
+
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/SWFLoaderTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/SWFLoaderTests.mxml b/mustella/tests/basicTests/halo/views/SWFLoaderTests.mxml
new file mode 100644
index 0000000..f38ced0
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/SWFLoaderTests.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.
+
+-->
+<mx:Canvas 
+    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>
+
+    <mx:SWFLoader id="testLoader" source="basicLoader.swf"/>
+
+</mx:Canvas>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/SliderTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/SliderTests.mxml b/mustella/tests/basicTests/halo/views/SliderTests.mxml
new file mode 100644
index 0000000..95981ef
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/SliderTests.mxml
@@ -0,0 +1,41 @@
+<?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:Canvas 
+    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>
+
+    <mx:HSlider id="testSlider" width="150" 
+            minimum="0" maximum="100" tickInterval="10" snapInterval="1"
+            thumbCount="1" values="[0,100]" labels="[0,100]" liveDragging="true"
+            change="testSlider.alpha = (testSlider.values[0] / 100);"
+            />
+
+</mx:Canvas>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/TabNavigatorTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/TabNavigatorTests.mxml b/mustella/tests/basicTests/halo/views/TabNavigatorTests.mxml
new file mode 100644
index 0000000..a0cb7a4
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/TabNavigatorTests.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.
+
+-->
+<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>
+
+    <mx:TabNavigator id="testTabNavigator" >
+        <mx:VBox label="First Page" width="250" height="200" >
+            <mx:Label id="pageLabel1" text="This is Page One" />
+        </mx:VBox>
+        <mx:VBox label="Second Page" width="250" height="200" >
+            <mx:Label id="pageLabel2" text="This is Page Two" />
+        </mx:VBox>
+        <s:NavigatorContent label="Third Page" width="250" height="200" >
+            <s:Label id="pageLabel3" text="This is Page Three" />
+        </s:NavigatorContent >
+    </mx:TabNavigator>
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/TextAreaTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/TextAreaTests.mxml b/mustella/tests/basicTests/halo/views/TextAreaTests.mxml
new file mode 100644
index 0000000..df60c6d
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/TextAreaTests.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.
+
+-->
+<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>
+
+    <mx:TextArea id="testTextArea" width="100" height="100" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/TextInputTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/TextInputTests.mxml b/mustella/tests/basicTests/halo/views/TextInputTests.mxml
new file mode 100644
index 0000000..0ddb7e8
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/TextInputTests.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.
+
+-->
+<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>
+
+    <mx:TextInput id="testTextInput" width="100" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/TextTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/TextTests.mxml b/mustella/tests/basicTests/halo/views/TextTests.mxml
new file mode 100644
index 0000000..2eca4e0
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/TextTests.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.
+
+-->
+<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.*;
+
+    public function initTextComponent():void
+    {
+            testText.htmlText = "This is a <b>Text</b> component which contains <i>html</i><br>The <b>Slider</b> controls the alpha of the <b>Image</b>";
+    }
+]]>
+</fx:Script>
+
+    <mx:Text id="testText" width="100" creationComplete="initTextComponent()" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/views/TreeTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/views/TreeTests.mxml b/mustella/tests/basicTests/halo/views/TreeTests.mxml
new file mode 100644
index 0000000..2612a03
--- /dev/null
+++ b/mustella/tests/basicTests/halo/views/TreeTests.mxml
@@ -0,0 +1,66 @@
+<?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"     
+    initialize="initTreeComponent()"
+    >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+
+    public var treeDP:Array = [ { label: "Inbox", children: [
+                                                    { label: "Personal", data: "personal"},
+                                                    { label: "Marketing", data: "mktg"},
+                                                    { label: "To do", data: "todo"} ]},
+                                                    { label: "Calendar", children: [
+                                                                 { label: "Appointments", data: "appointments"},
+                                                                 { label: "Meetings", data: "meetings"} ]}, 
+                                                    { label: "Sent", data: "sent" },
+                                                    { label: "Deleted Items", data: "deleted" },
+                                                    { label: "Spam", data: "spam" } ];
+
+
+    public function initTreeComponent():void
+    {
+            testTree.dataProvider = treeDP;
+    }
+
+    public function insertItemInTree():void
+    {
+            var c:ICollectionView = ICollectionView(testTree.dataProvider);
+            var cursor:IViewCursor = c.createCursor();
+            cursor.seek(CursorBookmark.FIRST, 1);
+            cursor.insert({label:'Archive', data:'archive'});
+    }
+
+]]>
+</fx:Script>
+
+    <mx:Tree id="testTree" />
+    <mx:Button id="addNodeButton" label="addTreeNodeAt" click="insertItemInTree()" />
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/shim/VBox.as
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/shim/VBox.as b/mustella/tests/basicTests/shim/VBox.as
new file mode 100644
index 0000000..7192199
--- /dev/null
+++ b/mustella/tests/basicTests/shim/VBox.as
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package shim
+{
+	import flash.display.DisplayObject;
+	import flash.display.DisplayObjectContainer;
+	
+	import org.apache.flex.html.staticControls.Container;
+	
+	[DefaultProperty("mxmlContent")]
+    
+    /**
+     *  A VBox approximation.
+     */    
+	public class VBox extends Container
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function VBox()
+		{
+			super();
+		}
+		
+	}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.mxml b/mustella/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.mxml
new file mode 100644
index 0000000..9042af7
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/AdvancedStyleClientTestScript.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="SetupAdvancedStyleClientTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkAdvancedStyleClientTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <!--This test case is to test the style only defined in component-->
+        <TestCase testID="ADV_component_setCompStyle" description="" keywords="[ADVStyleTestClass, setCompstyle]" >
+            <setup>
+                <RunCode code="application.sparkAdvancedStyleClientTests.setCompStyle()"/>
+            </setup>
+            <body>
+                <AssertStyleValue styleName="teststyle_3_uint_inh" target="sparkAdvancedStyleClientTests.componentADV" valueExpression="value=56"/>
+                <AssertStyleValue styleName="teststyle_1_string_noinh" target="sparkAdvancedStyleClientTests.componentADV" value="testsetStr"/>
+            </body>
+        </TestCase>
+        
+        <!--This test case is to test the styles defined both in main application and component using same names with Class and ID Selector-->
+        <TestCase testID="ADV_component_inlinetesting" description="" keywords="[ADVStyleTestClass, inline testing]" >
+            <body>
+               <AssertStyleValue styleName="teststyle_2_number_noinh" target="sparkAdvancedStyleClientTests.componentADVInline" value="12"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/AnimateConstraintsTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/AnimateConstraintsTestScript.mxml b/mustella/tests/basicTests/spark/scripts/AnimateConstraintsTestScript.mxml
new file mode 100644
index 0000000..686dbaf
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/AnimateConstraintsTestScript.mxml
@@ -0,0 +1,120 @@
+<?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[
+            private function play(target:Object):void
+            {
+            }
+        ]]>
+    </mx:Script>
+            
+
+	<testCases>
+
+        <TestCase testID="SetupAnimateConstraintsTest" keywords="[animate]" description="Spark.Effects.Animate checkin test setup.">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkAnimateConstraintsTest" 
+                             waitEvent="updateComplete" timeout="500" />
+                <Pause timeout="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b1" propertyName="x" value="10"/>
+            </body>
+        </TestCase>
+        
+<!--        <TestCase testID="AnimateConstraints_CheckinTest_1" keywords="[animate]" description="Spark.Effects.Animate checkin test 1.">
+            <body>
+                <SetProperty target="sparkAnimateConstraintsTests" propertyName="currentState" 
+                             value="s2" />
+                <Pause timeout="400"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b1" propertyName="right" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b2" propertyName="left" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b3" propertyName="x" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b3a" propertyName="left" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b3b" propertyName="right" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b4" propertyName="bottom" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b5" propertyName="top" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b6" propertyName="y" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b6a" propertyName="top" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b6b" propertyName="bottom" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b7" propertyName="horizontalCenter" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b8" propertyName="horizontalCenter" value="-50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b9" propertyName="left" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b10" propertyName="verticalCenter" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b11" propertyName="verticalCenter" value="-50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b12" propertyName="bottom" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b13" propertyName="percentWidth" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b14" propertyName="percentWidth" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b15" propertyName="width" value="200"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b16" propertyName="percentHeight" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b17" propertyName="percentHeight" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b18" propertyName="height" value="300"/>
+            </body>
+        </TestCase>
+-->
+        <TestCase testID="AnimateConstraints_CheckinTest_2" keywords="[animate]" description="Spark.Effects.Animate checkin test 2.">
+            <body>
+                <SetProperty target="sparkAnimateConstraintsTests" propertyName="currentState" value="s1" />
+                <Pause timeout="400"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b1" propertyName="left" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b2" propertyName="right" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b3" propertyName="left" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b3a" propertyName="left" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b3b" propertyName="right" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b4" propertyName="top" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b5" propertyName="bottom" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b6" propertyName="top" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b6a" propertyName="top" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b6b" propertyName="bottom" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b7" propertyName="horizontalCenter" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b8" propertyName="horizontalCenter" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b9" propertyName="horizontalCenter" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b10" propertyName="verticalCenter" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b11" propertyName="verticalCenter" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b12" propertyName="verticalCenter" value="0"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b13" propertyName="percentWidth" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b14" propertyName="percentWidth" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b15" propertyName="percentWidth" value="50"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b16" propertyName="percentHeight" value="10"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b17" propertyName="percentHeight" value="100"/>
+                <AssertPropertyValue target="sparkAnimateConstraintsTests.b18" propertyName="percentHeight" value="50"/>
+            </body>
+        </TestCase>
+        
+	</testCases>
+
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/BorderContainerTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/BorderContainerTestScript.mxml b/mustella/tests/basicTests/spark/scripts/BorderContainerTestScript.mxml
new file mode 100644
index 0000000..625037b
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/BorderContainerTestScript.mxml
@@ -0,0 +1,80 @@
+<?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="SetupSparkBorderContainerTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkBorderContainerTest" 
+                             waitEvent="updateComplete" />
+                <AssertStyleValue target="sparkBorderContainerTests.testBorder" styleName="borderWeight" value="1" />
+            </body>
+        </TestCase>
+        
+        <TestCase testID="BorderContainer_background">
+            <setup> 
+                <ResetComponent target="sparkBorderContainerTests" className="spark.views.BorderContainerTests" waitEvent="updateComplete" waitTarget="sparkBorderContainerTests"/>
+                <SetStyle target="sparkBorderContainerTests.testBorder" styleName="backgroundColor" value="0xaaffaa"/>
+                <SetStyle target="sparkBorderContainerTests.testBorder" styleName="backgroundAlpha" value="0.5" waitEvent="updateComplete" waitTarget="sparkBorderContainerTests.testBorder"/>
+            </setup>    
+            <body>
+                <AssertStyleValue target="sparkBorderContainerTests.testBorder" styleName="backgroundColor" value="0xaaffaa" />
+                <AssertStyleValue target="sparkBorderContainerTests.testBorder" styleName="backgroundAlpha" value="0.5" />
+                <AssertPixelValue target="sparkBorderContainerTests.testBorder" x="20" y="20" value="0xD5FFD5" />
+            </body>   
+        </TestCase>
+        
+        <TestCase testID="BorderContainer_border">
+            <setup> 
+                <ResetComponent target="sparkBorderContainerTests" className="spark.views.BorderContainerTests" waitEvent="updateComplete" waitTarget="sparkBorderContainerTests"/>
+                <SetStyle target="sparkBorderContainerTests.testBorder" styleName="borderColor" value="0xFF0000"/>
+                <SetStyle target="sparkBorderContainerTests.testBorder" styleName="borderAlpha" value="0.4"/>
+                <SetStyle target="sparkBorderContainerTests.testBorder" styleName="borderWeight" value="10" waitEvent="updateComplete" waitTarget="sparkBorderContainerTests.testBorder"/>
+            </setup>    
+            <body>
+                <AssertStyleValue target="sparkBorderContainerTests.testBorder" styleName="borderColor" value="0xFF0000" />
+                <AssertStyleValue target="sparkBorderContainerTests.testBorder" styleName="borderAlpha" value="0.4" />
+                <AssertStyleValue target="sparkBorderContainerTests.testBorder" styleName="borderWeight" value="10" />
+                <AssertPixelValue target="sparkBorderContainerTests.testBorder" x="8" y="8" value="0xFF9999" />
+            </body>   
+        </TestCase>
+    </testCases>
+
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/ButtonBarTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/ButtonBarTestScript.mxml b/mustella/tests/basicTests/spark/scripts/ButtonBarTestScript.mxml
new file mode 100644
index 0000000..0a152cc
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/ButtonBarTestScript.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="SetupSparkButtonBarTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkButtonBarTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkButtonBarTests.testButtonBar.dataProvider" propertyName="length" value="2" />
+				<AssertPropertyValue target="sparkButtonBarTests.testButtonBar" propertyName="selectedIndex" value="0" />
+				<AssertPropertyValue target="sparkButtonBarTests.testViewStack" propertyName="selectedIndex" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkButtonBarTest1">
+			<body>
+				<DispatchMouseEvent target="sparkButtonBarTests.testButtonBar" type="mouseOver" localX="120" localY="10" />
+				<DispatchMouseClickEvent target="sparkButtonBarTests.testButtonBar" localX="120" localY="10" waitEvent="change" />
+				<AssertPropertyValue target="sparkButtonBarTests.testButtonBar" propertyName="selectedIndex" value="1" />
+				<AssertPropertyValue target="sparkButtonBarTests.testViewStack" propertyName="selectedIndex" value="1" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/ButtonTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/ButtonTestScript.mxml b/mustella/tests/basicTests/spark/scripts/ButtonTestScript.mxml
new file mode 100644
index 0000000..918c730
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/ButtonTestScript.mxml
@@ -0,0 +1,61 @@
+<?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="SetupSparkButtonTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkButtonTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkButtonTests.testButton" propertyName="label" value="test button" />
+				<AssertPropertyValue target="sparkButtonTests.testLabel" propertyName="text" value="test" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkButtonTest1">
+			<body>
+				<DispatchMouseEvent target="sparkButtonTests.testButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkButtonTests.testButton" localX="10" localY="10" />
+				<AssertPropertyValue target="sparkButtonTests.testLabel" propertyName="text" value="This is a test" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/CheckBoxTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/CheckBoxTestScript.mxml b/mustella/tests/basicTests/spark/scripts/CheckBoxTestScript.mxml
new file mode 100644
index 0000000..026ce43
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/CheckBoxTestScript.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="SetupSparkCheckBoxTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkCheckBoxTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkCheckBoxTests.testCheckBox" propertyName="label" value="test CheckBox" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkCheckBoxTest1">
+			<body>
+				<DispatchMouseEvent target="sparkCheckBoxTests.testCheckBox" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkCheckBoxTests.testCheckBox" localX="10" localY="10" />
+				<AssertPropertyValue target="sparkCheckBoxTests.testCheckBox" propertyName="selected" value="true" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/CollatorTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/CollatorTestScript.mxml b/mustella/tests/basicTests/spark/scripts/CollatorTestScript.mxml
new file mode 100644
index 0000000..19dfca8
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/CollatorTestScript.mxml
@@ -0,0 +1,147 @@
+<?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 flashMatchingCollator:flash.globalization.Collator;
+            public var flashSortingCollator:flash.globalization.Collator;
+            private static const testSortData : Array = [
+                "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",
+                "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
+                "Ä", "ä", "AE", "ae", "Æ", "æ", "OE", "oe", "Œ", "œ", "ç",
+                "Ö", "ö", "Ô", "ô",                    // sw, de
+                "İ", "ı",                             // tr
+                "CX", "CH", "CHX", "cx", "ch", "chx",
+                "SS", "ss", "ß",                    // de
+                "VU", "WO", "vu", "wo",                // sw
+                "あ", "ア", "ぁ", "ァ", "ア", "ァ",    // ja Kanas
+                "A", "a",    "B", "b",                // Full-width alphabets
+                "手", "中", "土", "岀",                // Unihan
+                "cote", "côte", "coté", "côté",        // Explains accented chars are evaluated from the end in fr
+                "acxa", "acha", "adxa",                // es-ES@collation=traditional
+                "öf", "of",                            // de_dictionary
+                "z9.txt", "z12.txt", "z012.txt", "z13.txt", "z013.txt",    // numeric comparison
+            ];
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupCollatorTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkCollatorTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="Matching_Collator_test" description="" keywords="[MatchingCollator]">
+            <setup>
+                <RunCode code="flashMatchingCollator=new flash.globalization.Collator('fr',CollatorMode.MATCHING)" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCollatorTests.matchingCollator" propertyName="actualLocaleIDName" valueExpression="value=flashMatchingCollator.actualLocaleIDName" />
+                <AssertMethodValue method="value=application.sparkCollatorTests.matchingCollator.equals('coté','côte')" valueExpression="value=flashMatchingCollator.equals('coté','côte')" />
+            </body>
+        </TestCase>
+        <TestCase testID="Matching_Collator_test1" description="" keywords="[MatchingCollator]">
+            <setup>
+                <RunCode code="flashMatchingCollator=new flash.globalization.Collator('fr',CollatorMode.MATCHING)" />
+                <RunCode code="flashMatchingCollator.ignoreCase=false" />
+                <RunCode code="flashMatchingCollator.ignoreCharacterWidth=false" />
+                <RunCode code="flashMatchingCollator.ignoreDiacritics=false" />
+                <RunCode code="flashMatchingCollator.ignoreKanaType=false" />
+                <RunCode code="flashMatchingCollator.ignoreSymbols=false" />
+                <RunCode code="flashMatchingCollator.numericComparison=false" />
+                <SetProperty target="sparkCollatorTests.matchingCollator" propertyName="ignoreCase" value="false"  />
+                <SetProperty target="sparkCollatorTests.matchingCollator" propertyName="ignoreCharacterWidth" value="false" />
+                <SetProperty target="sparkCollatorTests.matchingCollator" propertyName="ignoreDiacritics" value="false"  />
+                <SetProperty target="sparkCollatorTests.matchingCollator" propertyName="ignoreKanaType" value="false"  />
+                <SetProperty target="sparkCollatorTests.matchingCollator" propertyName="ignoreSymbols" value="false"  />
+                <SetProperty target="sparkCollatorTests.matchingCollator" propertyName="numericComparison" value="false" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCollatorTests.matchingCollator" propertyName="actualLocaleIDName" valueExpression="value=flashMatchingCollator.actualLocaleIDName" />
+                <AssertMethodValue method="value=application.sparkCollatorTests.matchingCollator.equals('coté','côte')" valueExpression="value=flashMatchingCollator.equals('coté','côte')" />
+            </body>
+        </TestCase>
+        <TestCase testID="Matching_Collator_test2" description="" keywords="[MatchingCollator, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashMatchingCollator=new flash.globalization.Collator(application.sparkCollatorTests.getLocale.text,CollatorMode.MATCHING)" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashMatchingCollator.actualLocaleIDName" target="sparkCollatorTests.matchingCollatorNoLocaleInline"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Sorting_Collator_test" description="" keywords="[SortingCollator]">
+            <setup>
+                <RunCode code="flashSortingCollator=new flash.globalization.Collator('xx',CollatorMode.SORTING)" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCollatorTests.sortingCollator" propertyName="actualLocaleIDName" valueExpression="value=flashSortingCollator.actualLocaleIDName" />
+                <AssertMethodValue method="value=application.sparkCollatorTests.sortingCollator.equals('coté','côte')" valueExpression="value=flashSortingCollator.equals('coté','côte')" />
+            </body>
+        </TestCase>
+        <TestCase testID="Sorting_Collator_test1" description="" keywords="[SortingCollator]">
+            <setup>
+                <RunCode code="flashSortingCollator=new flash.globalization.Collator('xx',CollatorMode.SORTING)" />
+                <RunCode code="flashSortingCollator.ignoreCase=false" />
+                <RunCode code="flashSortingCollator.ignoreCharacterWidth=false" />
+                <RunCode code="flashSortingCollator.ignoreDiacritics=false" />
+                <RunCode code="flashSortingCollator.ignoreKanaType=false" />
+                <RunCode code="flashSortingCollator.ignoreSymbols=false" />
+                <RunCode code="flashSortingCollator.numericComparison=false" />
+                <SetProperty target="sparkCollatorTests.sortingCollator" propertyName="ignoreCase" value="false" />
+                <SetProperty target="sparkCollatorTests.sortingCollator" propertyName="ignoreCharacterWidth" value="false" />
+                <SetProperty target="sparkCollatorTests.sortingCollator" propertyName="ignoreDiacritics" value="false"  />
+                <SetProperty target="sparkCollatorTests.sortingCollator" propertyName="ignoreKanaType" value="false" />
+                <SetProperty target="sparkCollatorTests.sortingCollator" propertyName="ignoreSymbols" value="false"  />
+                <SetProperty target="sparkCollatorTests.sortingCollator" propertyName="numericComparison" value="false"  />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCollatorTests.sortingCollator" propertyName="actualLocaleIDName" valueExpression="value=flashSortingCollator.actualLocaleIDName" />
+                <AssertMethodValue method="value=testSortData.sort(application.sparkCollatorTests.sortingCollator.compare)" valueExpression="value=testSortData.sort(flashSortingCollator.compare)" />
+            </body>
+        </TestCase>
+        <TestCase testID="Sorting_Collator_test2" description="" keywords="[SortingCollator, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashSortingCollator=new flash.globalization.Collator(application.sparkCollatorTests.getLocale.text,CollatorMode.SORTING)" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashSortingCollator.actualLocaleIDName" target="sparkCollatorTests.sortingCollatorNoLocaleInline"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/ComboBoxTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/ComboBoxTestScript.mxml b/mustella/tests/basicTests/spark/scripts/ComboBoxTestScript.mxml
new file mode 100644
index 0000000..50e0d9f
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/ComboBoxTestScript.mxml
@@ -0,0 +1,70 @@
+<?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="SetupSparkComboBoxTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkComboBoxTest" 
+                             waitEvent="updateComplete" />
+                <AssertPropertyValue target="sparkComboBoxTests.testCombo" propertyName="selectedItem" value="Alabama" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkComboBoxTest1">
+            <body>
+                <DispatchMouseEvent target="sparkComboBoxTests.testCombo" type="rollOver" waitEvent="rollOver" localX="135" localY="10" />
+                <DispatchMouseEvent target="sparkComboBoxTests.testCombo" type="mouseDown" waitEvent="mouseDown" localX="135" localY="10" />
+                <AssertEvent target="sparkComboBoxTests.testCombo" eventName="open" eventClass="spark.events::DropDownEvent" />
+                <DispatchMouseEvent target="sparkComboBoxTests.testCombo" type="mouseUp" waitEvent="mouseUp" localX="135" localY="10" />
+                <AssertPropertyValue target="sparkComboBoxTests.testCombo.dropDown" propertyName="visible" value="true" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkComboBoxTest2">
+            <body>
+                <DispatchMouseEvent target="sparkComboBoxTests.testCombo.dropDown" type="mouseOver" localX="10" localY="30" />
+                <DispatchMouseClickEvent target="sparkComboBoxTests.testCombo.dropDown" localX="10" localY="30" />
+                <AssertEvent target="sparkComboBoxTests.testCombo" eventName="close" eventClass="spark.events::DropDownEvent" />
+                <AssertPropertyValue target="sparkComboBoxTests.testCombo" propertyName="selectedItem" value="Alaska" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml b/mustella/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml
new file mode 100644
index 0000000..2b1051c
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/CurrencyFormatterTestScript.mxml
@@ -0,0 +1,123 @@
+<?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.CurrencyFormatter;
+            import flash.globalization.NationalDigitsType;
+            import flash.globalization.CurrencyParseResult;
+            public var flashCF:flash.globalization.CurrencyFormatter;
+            
+            
+            public var cfParseResult:CurrencyParseResult;
+            public var flashParseResult:CurrencyParseResult;
+            
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupCurrencyFormatterTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkCurrencyFormatterTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="CurrencyFormatter_test" description="" keywords="[CurrencyFormatter, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter('xx')" />
+                <RunCode code="flashCF.negativeCurrencyFormat=1" />
+                <RunCode code="cfParseResult=application.sparkCurrencyFormatterTests.cfFormatter.parse('-$1234')" />
+                <RunCode code="flashParseResult=flashCF.parse('-$1234')" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCurrencyFormatterTests.cfFormatter" propertyName="actualLocaleIDName" valueExpression="value=flashCF.actualLocaleIDName" />
+                <AssertMethodValue method="value=cfParseResult.value" valueExpression="value=flashParseResult.value" />
+                <AssertMethodValue method="value=cfParseResult.currencyString" valueExpression="value=flashParseResult.currencyString" />
+                <AssertPropertyValue target="sparkCurrencyFormatterTests.cfFormatter" propertyName="lastOperationStatus" valueExpression="value=flashCF.lastOperationStatus"/>               
+            </body>
+        </TestCase>
+        <TestCase testID="CurrencyFormatter_test1" description="" keywords="[CurrencyFormatter, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter(application.sparkCurrencyFormatterTests.getLocale.text)" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashCF.actualLocaleIDName" target="sparkCurrencyFormatterTests.cfFormatterNoLocaleInline"/>
+            </body>
+        </TestCase>
+        <!--Set/Get Inline decimalSeparator as positive value and format numbers-->
+        <TestCase testID="CF_decimalSeparator_test" description="" keywords="[CurrencyFormatter, decimalSeparator]">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter('en-US')"/>
+                <RunCode code="flashCF.decimalSeparator='.'"/>
+                <RunCode code="flashCF.setCurrency('INR','@')"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCurrencyFormatterTests.cfFormatterDecimalSeparator" propertyName="decimalSeparator" valueExpression="value=flashCF.decimalSeparator"/>
+                <AssertMethodValue method="value=application.sparkCurrencyFormatterTests.cfFormatterDecimalSeparator.format(-1234567.89012)" valueExpression="value=flashCF.format(-1234567.89012)" />
+            </body>
+        </TestCase>    
+        <!--Binding property by lable text-->
+         <TestCase testID="CF_digitsType_test" description="" keywords="[CurrencyFormatter, digitsType]">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter('en-US')" />
+                <RunCode code="flashCF.digitsType=NationalDigitsType.CHAM" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkCurrencyFormatterTests.cfLabel" propertyName="text" valueExpression="value=flashCF.digitsType" />
+            </body>
+        </TestCase>    
+        <!-- Test function of fractionalDigits property -->
+        <TestCase testID="CF_fractionalDigits_test" description="" keywords="[CurrencyFormatter, fractionalDigits]">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter('en-US')" />
+                <RunCode code="flashCF.trailingZeros=true" />
+                <RunCode code="flashCF.fractionalDigits=1" />
+                <RunCode code="flashCF.useGrouping=true" />
+                <RunCode code="flashCF.groupingSeparator=','"/>
+                <RunCode code="flashCF.groupingPattern='*'" />
+            </setup>
+            <body>
+                <AssertMethodValue method="value=application.sparkCurrencyFormatterTests.cfFormatterFractionalDigits.formattingWithCurrencySymbolIsSafe('USD')" valueExpression="value=flashCF.formattingWithCurrencySymbolIsSafe('USD')" />
+                <AssertMethodValue method="value=application.sparkCurrencyFormatterTests.cfFormatterFractionalDigits.format(1234.352)" valueExpression="value=flashCF.format(1234.352)" />
+            </body>
+        </TestCase>
+        <TestCase testID="CF_errorText_test" description="" keywords="[CurrencyFormatter, errorText]">
+            <body>
+                <AssertMethodValue method="value=application.sparkCurrencyFormatterTests.cfFormatterNoLocaleInline.format('abc')" value="#####"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml b/mustella/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml
new file mode 100644
index 0000000..42d8b6c
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml
@@ -0,0 +1,107 @@
+<?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.CurrencyFormatter;
+            import flash.globalization.CurrencyParseResult;
+            import flash.globalization.LastOperationStatus;
+            import spark.validators.CurrencyValidator;
+            import mx.events.ValidationResultEvent;
+            public var flashCF:flash.globalization.CurrencyFormatter;
+            
+            
+            public var cfParseResult:CurrencyParseResult;
+            public var flashParseResult:CurrencyParseResult;
+            
+            
+            private function doCheck(objFlash:flash.globalization.CurrencyFormatter,objVal:spark.validators.CurrencyValidator):Boolean
+            {
+                var los:String = objFlash.lastOperationStatus;
+                var event:ValidationResultEvent = objVal.validate();
+                var currentControlIsValid:Boolean = (event.type == ValidationResultEvent.VALID);
+                var res:Boolean;
+                if(los==flash.globalization.LastOperationStatus.NO_ERROR)
+                {
+                    if(currentControlIsValid==true) // valide format
+                        res=true;
+                    else
+                        res=false;
+                }
+                else if(los==flash.globalization.LastOperationStatus.PARSE_ERROR)
+                {
+                    if(currentControlIsValid==false) // invalide format
+                        res=true;
+                    else
+                        res=false;
+                }
+                return res;
+            }
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupCurrencyValidatorTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkCurrencyValidatorTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="validate_currency_test1">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter('en')" />
+                <RunCode code="flashParseResult=flashCF.parse('$123')" />
+                <ResetComponent target="sparkCurrencyValidatorTests.tb1" className="spark.components.TextInput" waitEvent="updateComplete" />
+                <SetProperty target="sparkCurrencyValidatorTests.tb1" propertyName="text" value="$123" />
+             </setup>
+            <body>
+                <AssertMethodValue method="value=doCheck(flashCF,application.sparkCurrencyValidatorTests.cv)" value="true" />
+            </body>
+        </TestCase>
+        <TestCase testID="validate_currency_test2">
+            <setup>
+                <RunCode code="flashCF=new flash.globalization.CurrencyFormatter('en')" />
+                <RunCode code="flashParseResult=flashCF.parse('$123x')" />
+                <ResetComponent target="sparkCurrencyValidatorTests.tb1" className="spark.components.TextInput" waitEvent="updateComplete" />
+                <SetProperty target="sparkCurrencyValidatorTests.tb1" propertyName="text" value="$123x" />
+            </setup>
+            <body>
+                <AssertMethodValue method="value=doCheck(flashCF,application.sparkCurrencyValidatorTests.cv)" value="true" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/DataGridTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/DataGridTestScript.mxml b/mustella/tests/basicTests/spark/scripts/DataGridTestScript.mxml
new file mode 100644
index 0000000..c84f079
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/DataGridTestScript.mxml
@@ -0,0 +1,92 @@
+<?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="SetupSparkDataGridTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkDataGridTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkDataGridTests.testdg" propertyName="dataProvider" value="null" />
+			</body>
+		</TestCase>
+        
+		<TestCase testID="sparkDataGridTest1">
+			<body>
+                
+                <!-- set up -->
+                <SetProperty target="sparkDataGridTests.testdg" propertyName="dataProvider" valueExpression="value=application.sparkDataGridTests.dp" waitEvent="enterFrame" waitTarget="stage" />
+                <SetProperty target="sparkDataGridTests.testdg" propertyName="columns" valueExpression="value=application.sparkDataGridTests.columns" waitEvent="enterFrame" waitTarget="stage"/>
+                
+                <!-- test add/remove columns -->
+                <RunCode code="application.sparkDataGridTests.testdg.columns.addItemAt(application.sparkDataGridTests.col4, 0)" waitTarget="stage" waitEvent="enterFrame" />
+                <RunCode code="application.sparkDataGridTests.testdg.columns.removeItemAt(0)" waitTarget="stage" waitEvent="enterFrame" />
+                <RunCode code="application.sparkDataGridTests.testdg.columns.addItemAt(application.sparkDataGridTests.col4, 4)" waitTarget="stage" waitEvent="enterFrame" />
+                <RunCode code="application.sparkDataGridTests.testdg.columns.removeItemAt(4)" waitTarget="stage" waitEvent="enterFrame" />
+                <SetProperty target="sparkDataGridTests.col2" propertyName="visible" value="true" waitTarget="stage" waitEvent="enterFrame" />
+                
+                <!-- test add/remove dp items -->
+                <RunCode code="application.sparkDataGridTests.dp.addItemAt(application.sparkDataGridTests.obj1, 0)" waitTarget="stage" waitEvent="enterFrame" />
+                <RunCode code="application.sparkDataGridTests.dp.removeItemAt(1)" waitTarget="stage" waitEvent="enterFrame" />
+                <RunCode code="application.sparkDataGridTests.dp.addItemAt(application.sparkDataGridTests.obj2, 4)" waitTarget="stage" waitEvent="enterFrame" />
+                <RunCode code="application.sparkDataGridTests.dp.removeItemAt(5)" waitTarget="stage" waitEvent="enterFrame" />
+                
+                <!-- test scrolling -->
+                <RunCode code="application.sparkDataGridTests.testdg.setFocus()" waitEvent="focusIn" waitTarget="sparkDataGridTests.testdg"/>
+                <RunCode code="application.sparkDataGridTests.testdg.grid.caretRowIndex=0"/>
+                <DispatchKeyEvent keys="[DOWN,DOWN]" waitTarget="sparkDataGridTests.testdg" waitEvent="enterFrame" />
+                <DispatchKeyEvent keys="[PAGE_DOWN]" waitTarget="sparkDataGridTests.testdg" waitEvent="enterFrame" />
+                <DispatchKeyEvent keys="[UP,UP]" waitTarget="sparkDataGridTests.testdg" waitEvent="enterFrame" />
+                <DispatchKeyEvent keys="[PAGE_UP]" waitTarget="sparkDataGridTests.testdg" waitEvent="enterFrame" />
+                
+                <!-- test selection -->
+                <DispatchMouseClickEvent target="sparkDataGridTests.testdg" waitTarget="sparkDataGridTests.testdg" waitEvent="selectionChange" localX="40" localY="70" />
+                
+                <!-- interactive sort -->
+                <DispatchMouseClickEvent target="sparkDataGridTests.testdg" waitTarget="sparkDataGridTests.testdg" waitEvent="gridClick" localX="200" localY="5" />
+                <AssertMethodValue method="value=(application.sparkDataGridTests.testdg.dataProvider.sort != null)" value="true" />
+                
+			</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/scripts/DateTimeFormatterTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml b/mustella/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml
new file mode 100644
index 0000000..dc115c5
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/DateTimeFormatterTestScript.mxml
@@ -0,0 +1,111 @@
+<?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.DateTimeFormatter;
+            public var flashDF:flash.globalization.DateTimeFormatter;
+            private var aDate:Date =  new Date(2000, 0, 1);
+            
+           
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupDateTimeFormatterTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkDateTimeFormatterTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="DateTimeFormatter_test1" description="" keywords="[DateTimeFormatter, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashDF=new flash.globalization.DateTimeFormatter('xx')" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashDF.actualLocaleIDName" target="sparkDateTimeFormatterTests.dtFormatter"/>
+            </body>
+        </TestCase>
+        <TestCase testID="DateTimeFormatter_test2" description="" keywords="[DateTimeFormatter, format, dateStyle, Binding]">
+            <setup>
+                <RunCode code="flashDF=new flash.globalization.DateTimeFormatter('zh_CN', 'short', 'long')"/>    
+                <SetStyle styleName="locale" target="sparkDateTimeFormatterTests.dtFormatterShortDate" value="zh_CN" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="text" valueExpression="value=flashDF.format(aDate)" target="sparkDateTimeFormatterTests.dateShort" />    
+            </body>
+        </TestCase>
+        <TestCase testID="DateTimeFormatter_test3" description="" keywords="[DateTimeFormatter, format, timeStyle, Binding]">
+            <setup>
+                <RunCode code="flashDF=new flash.globalization.DateTimeFormatter('zh_CN', 'long', 'short')"/>
+                <SetStyle styleName="locale" target="sparkDateTimeFormatterTests.dtFormatterShortTime" value="zh_CN" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="text" valueExpression="value=flashDF.format(aDate)" target="sparkDateTimeFormatterTests.timeShort" />    
+            </body>
+        </TestCase>
+        <TestCase testID="DateTimeFormatter_test4" description="MaskFull" keywords="[DateTimeFormatter, DateTimePattern]">
+        <setup>
+            <RunCode code="flashDF=new flash.globalization.DateTimeFormatter('en-US')"/>
+            <RunCode code="flashDF.setDateTimePattern('EEEE, MMMM. d, yyyy \'at\' h:mm a')"/>
+        </setup>
+        <body>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date(2000, 0, 1))" valueExpression="value=flashDF.format(new Date(2000, 0, 1))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date(65, 2, 6, 9, 42, 16, 0))" valueExpression="value=flashDF.format(new Date(65, 2, 6, 9, 42, 16, 0))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date(30000000, 11, 31, 23, 59, 59, 935))" valueExpression="value=flashDF.format(new Date(30000000, 11, 31, 23, 59, 59, 935))"/>
+             <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date(0))" valueExpression="value=flashDF.format(new Date(0))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date('Mon Jul 21 1969 3:16 PM'))" valueExpression="value=flashDF.format(new Date('Mon Jul 21 1969 3:16 PM'))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date(1, 1, 1, 1, 1, 1, 1))" valueExpression="value=flashDF.format(new Date(1, 1, 1, 1, 1, 1, 1))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date('2:57 PM'))" valueExpression="value=flashDF.format(new Date('2:57 PM'))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date('Fri Nov 28 17:34:21 UTC-0500 2008'))" valueExpression="value=flashDF.format(new Date('Fri Nov 28 17:34:21 UTC-0500 2008'))"/>
+            <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterPattern.format(new Date())" valueExpression="value=flashDF.format(new Date())"/>
+        </body>
+    </TestCase>
+        <TestCase testID="DateTimeFormatter_test5" description="" keywords="[DateTimeFormatter, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashDF=new flash.globalization.DateTimeFormatter(application.sparkDateTimeFormatterTests.getLocale.text)" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashDF.actualLocaleIDName" target="sparkDateTimeFormatterTests.dtFormatterNoLocaleInline"/>
+            </body>
+        </TestCase>
+        <TestCase testID="DateTimeFormatter_test6" description="" keywords="[DateTimeFormatter, errorText]">
+            <body>
+                <AssertMethodValue method="value=application.sparkDateTimeFormatterTests.dtFormatterNoLocaleInline.format('2:45 PM')" value="#####"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/DeferredInstantiationTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/DeferredInstantiationTestScript.mxml b/mustella/tests/basicTests/spark/scripts/DeferredInstantiationTestScript.mxml
new file mode 100644
index 0000000..6759fb7
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/DeferredInstantiationTestScript.mxml
@@ -0,0 +1,62 @@
+<?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="SetupSparkDeferredInstantiationTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkDeferredInstantiationTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkDeferredInstantiationTests.deferredContent" propertyName="numElements" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkDeferredInstantiationTest1">
+			<setup>
+				<RunCode code="application.sparkDeferredInstantiationTests.deferredContent.createDeferredContent()" 
+						 waitTarget="sparkDeferredInstantiationTests.deferredContent" waitEvent="contentCreationComplete" />
+			</setup>
+			<body>
+				<AssertPropertyValue target="sparkDeferredInstantiationTests.deferredContent" propertyName="numElements" value="2" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>


[12/12] git commit: [flex-asjs] [refs/heads/develop] - prevent bubbling of flash.events.Event. We don't want flash events in the system, just org.apache.flex.events.Events

Posted by ah...@apache.org.
prevent bubbling of flash.events.Event.  We don't want flash events in the system, just org.apache.flex.events.Events


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

Branch: refs/heads/develop
Commit: 7c84f3e630de30551e0e915790ea0c1df3c6148a
Parents: 84b3668
Author: Alex Harui <ah...@apache.org>
Authored: Sat Mar 1 22:14:09 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Mar 1 22:14:09 2014 -0800

----------------------------------------------------------------------
 .../beads/controllers/EditableTextKeyboardController.as            | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7c84f3e6/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
index b9c2f7e..01f8e9f 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/beads/controllers/EditableTextKeyboardController.as
@@ -78,6 +78,8 @@ package org.apache.flex.html.staticControls.beads.controllers
 		 */
 		private function inputChangeHandler( event:Object ) : void
 		{
+            // this will otherwise bubble an event of flash.events.Event
+            event.stopImmediatePropagation();
 			model.text = textField.text;
 		}
 	}


[02/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
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>


[07/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml b/mustella/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
new file mode 100644
index 0000000..5247339
--- /dev/null
+++ b/mustella/tests/basicTests/graphics/scripts/GraphicsTagsTestScript.mxml
@@ -0,0 +1,1069 @@
+<?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="GraphicTags_checkin.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 mx.graphics.*;
+            import spark.primitives.*;
+            import spark.primitives.supportClasses.*;
+
+            public function applyStroke(target:FilledElement, stroke:SolidColorStroke):void
+            {
+                target.stroke = stroke;
+            }
+
+            public function applyFilters(target:FilledElement, filters:Array):void
+            {
+                target.filters = filters;
+            }
+
+            public function roundRect(target:Rect, radX:Number = 5, radY:Number = 5):void
+            {
+                target.radiusX = radX;
+                target.radiusY = radY;
+            }
+
+            public var gradientArr:Array = [new GradientEntry(0xFF0000),  // red
+                                            new GradientEntry(0xFFFFFF),  // white
+                                            new GradientEntry(0x0000FF)]; // blue
+
+            [Bindable]
+            public var strokeDefault:SolidColorStroke = new SolidColorStroke();
+            [Bindable]
+            public var stroke10:SolidColorStroke = new SolidColorStroke(0x000000, 10);
+            [Bindable]
+            public var stroke10Purple:SolidColorStroke = new SolidColorStroke(0xFF00FF, 10);
+            [Bindable]
+            public var stroke10Alpha:SolidColorStroke = new SolidColorStroke(0x000000, 10, 0.4);
+
+            [Bindable]
+            public var bevelFilter:BevelFilter = new BevelFilter();
+            [Bindable]
+            public var blurFilter:BlurFilter = new BlurFilter();
+            [Bindable]
+            public var dropShadowFilter:DropShadowFilter = new DropShadowFilter(0xFF00FF);
+
+            [Bindable]
+            public var linearGrad:LinearGradient = new LinearGradient();
+
+            [Bindable]
+            public var radialGrad:RadialGradient = new RadialGradient();
+
+            [Bindable]
+            public var linearGradStroke:LinearGradientStroke = new LinearGradientStroke();
+
+            public function init2():void
+            {
+                linearGrad.entries = gradientArr;
+                radialGrad.entries = gradientArr;
+                linearGradStroke.entries = gradientArr;
+            }
+
+            public function applyLinearGradient(target:FilledElement, rotation:Number = 0):void
+            {
+                var linearGradient:LinearGradient = new LinearGradient();
+                linearGradient.entries = gradientArr;
+                linearGradient.rotation = rotation;
+                target.fill = linearGradient;
+            }
+
+            public function applyRadialGradient(target:FilledElement):void
+            {
+                var radialGradient:RadialGradient = new RadialGradient();
+                radialGradient.entries = gradientArr;
+                target.fill = radialGradient;
+            }
+
+            public function applyLinearGradientStroke(target:FilledElement, rotation:Number = 0):void
+            {
+                var linearGradientStroke:LinearGradientStroke = new LinearGradientStroke(10);
+                linearGradientStroke.entries = gradientArr;
+                linearGradientStroke.rotation = rotation;
+                target.stroke = linearGradientStroke;
+            }
+        ]]>
+    </mx:Script>
+
+
+    <!-- Ellipse tests -->
+    <testCases>
+		<TestCase testID="SetupGraphicsTagsTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="graphicsTagsTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="graphicsTagsTests.hbox" propertyName="numChildren" value="3" />
+			</body>
+		</TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_height" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="height" value="120" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1" propertyName="height" value="120" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic1.ellipse1.getLayoutBoundsHeight()" valueExpression="value=120" />
+                <!-- <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_height.png" target="graphicsTagsTests.graphic1" timeout="2000" /> -->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="width" value="110" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1" propertyName="width" value="110" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic1.ellipse1.getLayoutBoundsWidth()" valueExpression="value=110" />
+                <!-- <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_width.png" target="graphicsTagsTests.graphic1" timeout="2000" /> -->
+            </body>
+        </TestCase>
+        
+        <!--
+        <TestCase testID="GraphicTags_Checkin_Ellipse_x" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="x" value="110" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1" propertyName="x" value="110" />
+                <!- -<AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1.transform.matrix" propertyName="tx" value="110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_x.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_y" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="y" value="110" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1" propertyName="y" value="110" />
+                <!- -<AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1.transform.matrix" propertyName="ty" value="110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_y.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <!- - BUG: MXMLG-133 - ->
+        <!- -
+        <TestCase testID="GraphicTags_Checkin_Ellipse_alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="alpha" value="0.2" target="graphicsTagsTests.graphic1.ellipse1" />
+                <AssertPropertyValue value="0.2" propertyName="alpha" target="graphicsTagsTests.graphic1.ellipse1" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_alpha.png" target="graphicsTagsTests.graphic1" timeout="2000" />
+            </body>
+        </TestCase>
+        - ->
+        <TestCase testID="GraphicTags_Checkin_Ellipse_stroke" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="stroke" value="{strokeDefault}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <AssertPropertyValue value="0" propertyName="color" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <AssertPropertyValue value="1" propertyName="weight" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_stroke.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_stroke10" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="stroke" value="{stroke10}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_stroke10.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_stroke10Purple" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="stroke" value="{stroke10Purple}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <AssertPropertyValue value="0xFF00FF" propertyName="color" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic1.ellipse1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_stroke10Purple.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_stroke10Alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="stroke" value="{stroke10Alpha}" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1.stroke" propertyName="alpha" value="0.4" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1.stroke" propertyName="color" value="0x000000" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1.stroke" propertyName="weight" value="10" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_stroke10Alpha.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_bevelFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="filters" value="{[bevelFilter]}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic1.ellipse1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic1.ellipse1.filters[0].toString()" valueExpression="value='[object BevelFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_bevelFilter.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_blurFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="filters" value="{[blurFilter]}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic1.ellipse1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic1.ellipse1.filters[0].toString()" valueExpression="value='[object BlurFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_blurFilter.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        
+        <TestCase testID="GraphicTags_Checkin_Ellipse_LinearGradient" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic1.ellipse1);" waitTarget="graphicsTagsTests.graphic1.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic1.ellipse1.fill.toString()" valueExpression="value='[object LinearGradient]'" />
+                <AssertPixelValue target="graphicsTagsTests.graphic1" x="10" y="40" value="0xFF0000" />
+                <AssertPixelValue target="graphicsTagsTests.graphic1" x="40" y="11" value="0xFFFFFF" />
+                <AssertPixelValue target="graphicsTagsTests.graphic1" x="40" y="40" value="0xFFFFFF" />
+                <AssertPixelValue target="graphicsTagsTests.graphic1" x="40" y="68" value="0xFFFFFF" />
+                <!- - BUG: MXMLG-141 - ->
+                <AssertPixelValue target="graphicsTagsTests.graphic1" x="69" y="40" value="0x0707FF" />
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_LinearGradient_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic1.ellipse1);" waitTarget="graphicsTagsTests.graphic1.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="width" value="110" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1" propertyName="width" value="110" />
+                <AssertPixelValue target="graphicsTagsTests.graphic1" x="10" y="40" value="0xFF0000" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_blurFilter.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_RadialGradient" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <RunCode code="applyRadialGradient(application.graphicsTagsTests.graphic1.ellipse1);" waitTarget="graphicsTagsTests.graphic1.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic1.ellipse1.fill.toString()" valueExpression="value='[object RadialGradient]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_blurFilter.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Ellipse_RadialGradient_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic1" className="graphics.views.comps.EllipseBasic2" waitTarget="graphicsTagsTests.graphic1" waitEvent="updateComplete" />
+                <RunCode code="applyRadialGradient(application.graphicsTagsTests.graphic1.ellipse1);" waitTarget="graphicsTagsTests.graphic1.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic1.ellipse1" propertyName="width" value="110" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic1.ellipse1" propertyName="width" value="110" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Ellipse_blurFilter.png" target="graphicsTagsTests.graphic1" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        
+        
+        <!- - Rect tests - ->
+        <TestCase testID="GraphicTags_Checkin_Rect_height" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="height" value="120" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="120" propertyName="height" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsHeight().toString()" valueExpression="value=120" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="width" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="width" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsWidth().toString()" valueExpression="value=110" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_width.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_x" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="x" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" value="110" propertyName="x" />
+                <!- - <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.tx.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_x.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_y" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="y" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="y" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.ty.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_y.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <!- - BUG: MXMLG-133 - ->
+        <!- -
+        <TestCase testID="GraphicTags_Checkin_Rect_alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="alpha" value="0.2" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="0.2" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" />
+            </body>
+        </TestCase>
+        - ->
+        <TestCase testID="GraphicTags_Checkin_Rect_stroke" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, strokeDefault);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="1" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_stroke.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_stroke10" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_stroke10.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_stroke10Purple" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10Purple);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0xFF00FF" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_stroke10Purple.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_stroke10Alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10Alpha);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="0.4" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_bevelFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyFilters(application.graphicsTagsTests.graphic2.rect1, [bevelFilter]);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic2.rect1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BevelFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_bevelFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_blurFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyFilters(application.graphicsTagsTests.graphic2.rect1, [blurFilter]);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic2.rect1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BlurFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_blurFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        
+        
+        <!- - LinearGradientStroke tests - ->
+        <TestCase testID="GraphicTags_Checkin_Rect_linearGradientStroke" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradientStroke(application.graphicsTagsTests.graphic2.rect1, 0);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries" propertyName="length" value="3" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries.0" propertyName="color" value="0xFF0000" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries.1" propertyName="color" value="0xFFFFFF" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries.2" propertyName="color" value="0x0000FF" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="weight" value="10" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="rotation" value="0" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_linearGradientStroke_x" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradientStroke(application.graphicsTagsTests.graphic2.rect1, 0);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="x" value="100" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="x" value="100" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_linearGradientStroke_x.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_linearGradientStroke_y" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradientStroke(application.graphicsTagsTests.graphic2.rect1, 0);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="y" value="100" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="y" value="100" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_linearGradientStroke_x.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+                
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_linearGradientStroke_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradientStroke(application.graphicsTagsTests.graphic2.rect1, 0);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="width" value="100" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="width" value="100" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_linearGradientStroke_width.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+                
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_linearGradientStroke_height" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradientStroke(application.graphicsTagsTests.graphic2.rect1, 0);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="height" value="100" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="height" value="100" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_linearGradientStroke_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_Rect_linearGradientStroke_rotation" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradientStroke(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries" propertyName="length" value="3" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries.0" propertyName="color" value="0xFF0000" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries.1" propertyName="color" value="0xFFFFFF" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke.entries.2" propertyName="color" value="0x0000FF" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="weight" value="10" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="rotation" value="45" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="rotation" value="90" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="rotation" value="90" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        
+        
+        
+        <!- - RoundRect tests - ->
+        <TestCase testID="GraphicTags_Checkin_RoundRect_radiusX" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="30" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="0" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="30" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="30" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_radiusY" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="30" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="0" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="30" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="30" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_height" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+            </setup>
+            <body>
+                <SetProperty propertyName="height" value="120" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1" propertyName="height" value="120" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsHeight()" valueExpression="value=120" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+            </setup>
+            <body>
+                <SetProperty propertyName="width" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="width" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsWidth().toString()" valueExpression="value=110" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_width.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_x" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+            </setup>
+            <body>
+                <SetProperty propertyName="x" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="x" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.tx.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_x.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_y" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+            </setup>
+            <body>
+                <SetProperty propertyName="y" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="y" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.ty.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_y.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <!- - BUG: MXMLG-133 - ->
+        <!- -
+        <TestCase testID="GraphicTags_Checkin_RoundRect_alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+            </setup>
+            <body>
+                <SetProperty propertyName="alpha" value="0.2" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="0.2" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" />
+            </body>
+        </TestCase>
+        - ->
+        <TestCase testID="GraphicTags_Checkin_RoundRect_stroke" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="stroke" value="{strokeDefault}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="1" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_stroke.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_stroke10" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="stroke" value="{stroke10}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_stroke10.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_stroke10Purple" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="stroke" value="{stroke10Purple}" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0xFF00FF" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_stroke10Purple.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_stroke10Alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="stroke" value="{stroke10Alpha}" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="alpha" value="0.4" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="color" value="0x000000" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.stroke" propertyName="weight" value="10" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_stroke10Alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_bevelFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="filters" value="{[bevelFilter]}" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.filters" propertyName="length" value="1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BevelFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_bevelFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RoundRect_blurFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusX" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="radiusY" value="10" />
+                <SetProperty target="graphicsTagsTests.graphic2.rect1" propertyName="filters" value="{[blurFilter]}" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic2.rect1.filters" propertyName="length" value="1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BlurFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RoundRect_blurFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        
+        
+        
+        
+        <!- - LinearGradientRect - ->
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_height" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="height" value="120" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="120" propertyName="height" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsHeight().toString()" valueExpression="value=120" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="width" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="width" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsWidth().toString()" valueExpression="value=110" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_width.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_x" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="x" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="x" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.tx.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_x.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_y" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="y" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="y" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.ty.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_y.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <!- - BUG: MXMLG-133 - ->
+        <!- -
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="alpha" value="0.2" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="0.2" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" />
+            </body>
+        </TestCase>
+        - ->
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_stroke" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, strokeDefault);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="1" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_stroke.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_stroke10" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_stroke10.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_stroke10Purple" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10Purple);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0xFF00FF" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_stroke10Purple.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_stroke10Alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10Alpha);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="0.4" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_stroke10Alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_bevelFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" />
+                <RunCode code="applyFilters(application.graphicsTagsTests.graphic2.rect1, [bevelFilter]);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic2.rect1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BevelFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_bevelFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_LinearGradRect_blurFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyFilters(application.graphicsTagsTests.graphic2.rect1, [blurFilter]);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic2.rect1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BlurFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_LinearGradRect_blurFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        
+        
+        
+        
+        <!- - RotatedLinearGradientRect tests - ->
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_height" description="Test that you can bind to the Graphic height property" keywords="[Binding, height, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="height" value="120" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="120" propertyName="height" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsHeight().toString()" valueExpression="value=120" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_height.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="width" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="width" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.getLayoutBoundsWidth().toString()" valueExpression="value=110" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_width.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_x" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="x" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="x" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.tx.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_x.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_y" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="y" value="110" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="110" propertyName="y" target="graphicsTagsTests.graphic2.rect1" />
+                <!- -<AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.transform.matrix.ty.toString()" valueExpression="value=110" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_y.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <!- - BUG: MXMLG-133 - ->
+        <!- -
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <SetProperty propertyName="alpha" value="0.2" target="graphicsTagsTests.graphic2.rect1" />
+                <AssertPropertyValue value="0.2" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1" />
+                <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" />
+            </body>
+        </TestCase>
+        - ->
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_stroke" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, strokeDefault);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="1" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_stroke10" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_stroke10Purple" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10Purple);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0xFF00FF" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Purple.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_stroke10Alpha" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyStroke(application.graphicsTagsTests.graphic2.rect1, stroke10Alpha);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="0.4" propertyName="alpha" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="0x000000" propertyName="color" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <AssertPropertyValue value="10" propertyName="weight" target="graphicsTagsTests.graphic2.rect1.stroke" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Alpha.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_bevelFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" />
+                <RunCode code="applyFilters(application.graphicsTagsTests.graphic2.rect1, [bevelFilter]);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic2.rect1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BevelFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_bevelFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_RotatedLinearGradRect_blurFilter" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic2" className="graphics.views.comps.RectBasic3" waitTarget="graphicsTagsTests.graphic2" waitEvent="updateComplete" />
+                <RunCode code="applyLinearGradient(application.graphicsTagsTests.graphic2.rect1, 45);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+                <RunCode code="applyFilters(application.graphicsTagsTests.graphic2.rect1, [blurFilter]);" waitTarget="graphicsTagsTests.graphic2.getChildAt(0)" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue value="1" propertyName="length" target="graphicsTagsTests.graphic2.rect1.filters" />
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic2.rect1.filters[0].toString()" valueExpression="value='[object BlurFilter]'" />
+                <!- - <CompareBitmap url="baselines/GraphicTags_Checkin_RotatedLinearGradRect_blurFilter.png" target="graphicsTagsTests.graphic2" timeout="2000" /> - ->                
+            </body>
+        </TestCase>
+        
+        
+        
+        <!- - TextGraphic tests - ->
+        <!- -
+        <TestCase testID="GraphicTags_Checkin_TextGraphic" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic3" className="graphics.views.comps.TextGraphicBasic1" waitTarget="graphicsTagsTests.graphic3" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic3.textGraphic1" propertyName="content" value="The quick brown fox jumped over the lazy dog." />
+            </body>
+        </TestCase>
+        
+        <TestCase testID="GraphicTags_Checkin_TextGraphic_content" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic3" className="graphics.views.comps.TextGraphicBasic1" waitTarget="graphicsTagsTests.graphic3" waitEvent="updateComplete" />
+                <SetProperty target="graphicsTagsTests.graphic3.textGraphic1" propertyName="content" value="Hello world" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic3.textGraphic1" propertyName="content" value="Hello world" />
+            </body>
+        </TestCase>
+        - ->
+        
+        <TestCase testID="GraphicTags_Checkin_TextGraphic_width" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic3" className="graphics.views.comps.TextGraphicBasic1" waitTarget="graphicsTagsTests.graphic3" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic3.textGraphic1" propertyName="width" value="100" />
+                <SetProperty target="graphicsTagsTests.graphic3.textGraphic1" propertyName="width" value="60" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic3.textGraphic1" propertyName="width" value="60" />
+                <!- - MXMLG-108 - ->
+                <!- -
+                <AssertMethodValue method="value=application.graphicsTagsTests.graphic3.textGraphic1.getLayoutBoundsWidth().toString()" valueExpression="value=60" />
+                - ->
+            </body>
+        </TestCase>
+        <TestCase testID="GraphicTags_Checkin_TextGraphic_height" description="Test that you can bind to the Graphic width property" keywords="[Binding, width, Graphic]">
+            <setup>
+                <ResetComponent target="graphicsTagsTests.graphic3" className="graphics.views.comps.TextGraphicBasic1" waitTarget="graphicsTagsTests.graphic3" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="graphicsTagsTests.graphic3.textGraphic1" propertyName="height" value="100" />
+                <SetProperty target="graphicsTagsTests.graphic3.textGraphic1" propertyName="height" value="60" />
+                <AssertPropertyValue target="graphicsTagsTests.graphic3.textGraphic1" propertyName="height" value="60" />
+               

<TRUNCATED>

[03/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/DesignLayerTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/DesignLayerTestScript.mxml b/mustella/tests/basicTests/spark/scripts/DesignLayerTestScript.mxml
new file mode 100644
index 0000000..6432e9c
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/DesignLayerTestScript.mxml
@@ -0,0 +1,57 @@
+<?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="SetupDesignLayerTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="designLayerTest" 
+                    waitEvent="updateComplete" />
+			</body>
+		</TestCase>
+                <TestCase testID="DesignLayerTest1">
+                        <body>
+                                <AssertMethodValue method="use namespace mx_internal; value=application.designLayerTests.testDLButton.$visible" value="false"  />
+                        </body>
+                </TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/DropDownListTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/DropDownListTestScript.mxml b/mustella/tests/basicTests/spark/scripts/DropDownListTestScript.mxml
new file mode 100644
index 0000000..c122761
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/DropDownListTestScript.mxml
@@ -0,0 +1,70 @@
+<?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="SetupSparkDropDownListTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkDropDownListTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkDropDownListTests.testCombo" propertyName="selectedItem" value="Apples" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkDropDownListTest1">
+			<body>
+				<DispatchMouseEvent target="sparkDropDownListTests.testCombo" type="rollOver" waitEvent="rollOver" localX="60" localY="10" />
+				<DispatchMouseEvent target="sparkDropDownListTests.testCombo" type="mouseDown" waitEvent="mouseDown" localX="60" localY="10" />
+				<AssertEvent target="sparkDropDownListTests.testCombo" eventName="open" eventClass="spark.events::DropDownEvent" />
+				<DispatchMouseEvent target="sparkDropDownListTests.testCombo" type="mouseUp" waitEvent="mouseUp" localX="60" localY="10" />
+				<AssertPropertyValue target="sparkDropDownListTests.testCombo.dropDown" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkDropDownListTest2">
+			<body>
+				<DispatchMouseEvent target="sparkDropDownListTests.testCombo.dropDown" type="mouseOver" localX="10" localY="30" />
+				<DispatchMouseClickEvent target="sparkDropDownListTests.testCombo.dropDown" localX="10" localY="30" />
+				<AssertEvent target="sparkDropDownListTests.testCombo" eventName="close" eventClass="spark.events::DropDownEvent" />
+				<AssertPropertyValue target="sparkDropDownListTests.testCombo" propertyName="selectedItem" value="Beer" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/EasingTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/EasingTestScript.mxml b/mustella/tests/basicTests/spark/scripts/EasingTestScript.mxml
new file mode 100644
index 0000000..02a0b5e
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/EasingTestScript.mxml
@@ -0,0 +1,80 @@
+<?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[
+            import spark.effects.easing.*;
+            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[
+            private function play(target:Object):void
+            {
+                target.play();
+            }
+                
+        ]]>
+    </mx:Script>
+            
+
+	<testCases>
+
+        <TestCase testID="SetupSparkEasingTest" keywords="[easing]" description="Spark.Effects.Easing checkin test 1.">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkEasingTest" 
+                             waitEvent="updateComplete" />
+                <AssertPropertyValue target="sparkEasingTests.bl" propertyName="y" value="100"/>
+                <AssertPropertyValue target="sparkEasingTests.rl" propertyName="y" value="100"/>
+            </body>
+        </TestCase>
+        
+        <TestCase testID="Easing_CheckinTest_1" keywords="[easing]" description="Spark.Effects.Easing checkin test 2.">
+            <body>
+                <RunCode code="application.sparkEasingTests.bd.play()" waitTarget="sparkEasingTests.bd" waitEvent="effectEnd" timeout="500"/>
+                <AssertPropertyValue target="sparkEasingTests.bl" propertyName="y" value="575"/>
+                <AssertPropertyValue target="sparkEasingTests.rl" propertyName="y" value="575"/>
+            </body>
+        </TestCase>
+        
+		<TestCase testID="Easing_CheckinTest_7" keywords="[easing]" description="Spark.Effects.Easing checkin test 3.">
+			<body>
+				<RunCode code="application.sparkEasingTests.bd.playheadTime = 250"/>
+				<AssertPropertyValue target="sparkEasingTests.bl" propertyName="y" value="575"/>
+				<AssertPropertyValue target="sparkEasingTests.rl" propertyName="y" value="575"/>
+                <RunCode code="application.sparkEasingTests.bd.end()" waitTarget="sparkEasingTests.bd" waitEvent="effectEnd" timeout="500"/>
+			</body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/FXG2RuntimeTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/FXG2RuntimeTestScript.mxml b/mustella/tests/basicTests/spark/scripts/FXG2RuntimeTestScript.mxml
new file mode 100644
index 0000000..57cc700
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/FXG2RuntimeTestScript.mxml
@@ -0,0 +1,83 @@
+<?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="SetupFXG2RuntimeTests">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="fxg2RuntimeTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="fxg2RuntimeTests.graphic1" propertyName="width" value="200" />
+			</body>
+		</TestCase>
+		<TestCase testID="FXG2RuntimeTests_luminosityMaskDefault">
+		<body>
+			<SetProperty target="fxg2RuntimeTests.graphic1" propertyName="maskType" value="luminosity" />
+			<AssertPropertyValue target="fxg2RuntimeTests.graphic1" propertyName="maskType" value="luminosity" />
+			<AssertPropertyValue target="fxg2RuntimeTests.graphic1" propertyName="luminosityClip" value="false" />
+			<AssertPropertyValue target="fxg2RuntimeTests.graphic1" propertyName="luminosityInvert" value="false" />
+		</body>
+		</TestCase>
+		<TestCase testID="FXG2RuntimeTests_luminosityMaskRuntimeChange">
+		<body>
+			<SetProperty target="fxg2RuntimeTests.graphic1" propertyName="luminosityClip" value="true" />
+			<AssertPropertyValue target="fxg2RuntimeTests.graphic1" propertyName="luminosityClip" value="true" />
+		</body>
+		</TestCase>
+		<TestCase testID="FXG2RuntimeTests_BlendModeChangeNormal">
+		<body>
+			<SetProperty target="fxg2RuntimeTests.bitmapGroup" propertyName="blendMode" value="normal" />
+			<AssertPropertyValue target="fxg2RuntimeTests.bitmapGroup" propertyName="blendMode" value="normal" />	
+		</body>
+		</TestCase>
+		<TestCase testID="FXG2RuntimeTests_BlendModeChangeColorDodge">
+		<body>
+			<SetProperty target="fxg2RuntimeTests.bitmapGroup" propertyName="blendMode" value="colordodge" />
+			<AssertPropertyValue target="fxg2RuntimeTests.bitmapGroup" propertyName="blendMode" value="colordodge" />
+		</body>
+		</TestCase>
+		<TestCase testID="FXG2RuntimeTests_BlendModeChangeDarken">
+		<body>
+			<SetProperty target="fxg2RuntimeTests.bitmapGroup" propertyName="blendMode" value="darken" />
+			<AssertPropertyValue target="fxg2RuntimeTests.bitmapGroup" propertyName="blendMode" value="darken" />
+		</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/scripts/FormTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/FormTestScript.mxml b/mustella/tests/basicTests/spark/scripts/FormTestScript.mxml
new file mode 100644
index 0000000..7d7a3ee
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/FormTestScript.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[
+            import mx.core.FlexGlobals;
+
+            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="SetupSparkFormTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkFormTest" 
+                             waitEvent="updateComplete" />
+                <AssertPropertyValue target="sparkFormTests.formItem1" propertyName="label" value="Address" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkFormTest1">
+            <body>
+                <SetProperty target="sparkFormTests.formItem1" propertyName="label" value="Mailing Address" 
+                             waitEvent="updateComplete" waitTarget="sparkFormTests.formItem1.skin" />
+                <AssertPropertyValue target="sparkFormTests.formItem1" propertyName="label" value="Mailing Address"/>
+                <AssertPropertyValue target="sparkFormTests.formItem2.skin.labelCol" propertyName="width"
+                                     valueExpression="value=FlexGlobals.topLevelApplication.sparkFormTests.formItem1.labelDisplay.width+5" />
+                <AssertPropertyValue target="sparkFormTests.formItem2.contentGroup" propertyName="y" value="10" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/ImageTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/ImageTestScript.mxml b/mustella/tests/basicTests/spark/scripts/ImageTestScript.mxml
new file mode 100644
index 0000000..c5bfaad
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/ImageTestScript.mxml
@@ -0,0 +1,66 @@
+<?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="SetupImageTest">
+                        <body>
+                                <SetProperty target="" propertyName="currentState" value="imageTest"
+                    waitEvent="updateComplete" />
+                        </body>
+                </TestCase>
+		<TestCase testID="TestPreliminary">
+			<body>
+			        <AssertPropertyValue target="imageTests.image2" propertyName="width" value="50" />
+			        <AssertPropertyValue target="imageTests.image2" propertyName="height" value="50" />
+			</body>
+		</TestCase>
+		<TestCase testID="LoadImages">
+			<body>
+				<SetProperty target="imageTests.image1" propertyName="source" value="basicImage.jpg" waitEvent="complete"/>
+			        <AssertPropertyValue target="imageTests.image1" propertyName="height" value="44" />
+				<SetProperty target="imageTests.image2" propertyName="source" value="basicImage.jpg" waitEvent="complete"/>
+			        <AssertPropertyValue target="imageTests.image2" propertyName="height" value="44" />
+				<SetProperty target="imageTests.image2" propertyName="source" value="{null}" waitEvent="updateComplete"/>
+			        <AssertPropertyValue target="imageTests.image2" propertyName="height" value="50" />
+			</body>
+		</TestCase> 
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/LayoutDirectionTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/LayoutDirectionTestScript.mxml b/mustella/tests/basicTests/spark/scripts/LayoutDirectionTestScript.mxml
new file mode 100644
index 0000000..30b44e8
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/LayoutDirectionTestScript.mxml
@@ -0,0 +1,193 @@
+<?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 mx.core.mx_internal;
+            use namespace mx_internal;
+        ]]>
+    </mx:Script>
+
+	<testCases>
+<!--
+-->
+        <TestCase testID="SetupSparkLayoutDirectionTestRTL">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkLayoutDirectionTest" 
+                    waitEvent="updateComplete" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.testGroup" propertyName="width" value="300" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image" propertyName="width" value="143" />
+            </body>
+        </TestCase>
+		<TestCase testID="SparkLayoutDirectionTestRTL_testGroup">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.testGroup" 
+                    styleName="layoutDirection" value="rtl" />
+                <AssertStyleValue target="sparkLayoutDirectionTests.testGroup" 
+                    styleName="direction" value="rtl" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.testGroup.computedMatrix" 
+                    propertyName="a" value="-1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.testGroup.computedMatrix" 
+                    propertyName="tx" value="300" />
+            </body>
+        </TestCase>               
+        <TestCase testID="SparkLayoutDirectionTestRTL_mx_datechooser">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.mx_datechooser" 
+                    styleName="layoutDirection" value="rtl" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.mx_datechooser.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.mx_datechooser.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>               
+        <TestCase testID="SparkLayoutDirectionTestRTL_spark_textinput">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_textinput" 
+                    styleName="layoutDirection" value="rtl" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_textinput.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_textinput.computedMatrix" 
+                    propertyName="tx" value="0" />
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_textinput.textDisplay" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_textinput.textDisplay.computedMatrix" 
+                    propertyName="a" value="-1" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkLayoutDirectionTestRTL_spark_button">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_button" 
+                    styleName="layoutDirection" value="rtl" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_button.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_button.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>               
+        <TestCase testID="SparkLayoutDirectionTestRTL_spark_checkbox">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_checkbox" 
+                    styleName="layoutDirection" value="rtl" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_checkbox.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_checkbox.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkLayoutDirectionTestRTL_spark_image">
+            <body>
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image" 
+                    propertyName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image.displayObject.transform.matrix" 
+                    propertyName="a" value="-1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image.displayObject.transform.matrix" 
+                    propertyName="tx" value="143" />
+			</body>
+		</TestCase>
+        <TestCase testID="SetupSparkLayoutDirectionTestLTR">
+            <body>
+                <SetStyle target="sparkLayoutDirectionTests.testGroup" styleName="direction" value="ltr"/>
+                <SetStyle target="sparkLayoutDirectionTests.testGroup" styleName="layoutDirection" value="ltr" 
+                    waitEvent="updateComplete" waitTarget="sparkLayoutDirectionTests.testGroup"/>
+            </body>
+        </TestCase>
+        <TestCase testID="SparkLayoutDirectionTestLTR_testGroup">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.testGroup" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertStyleValue target="sparkLayoutDirectionTests.testGroup" 
+                    styleName="direction" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.testGroup.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.testGroup.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>               
+        <TestCase testID="SparkLayoutDirectionTestLTR_mx_datechooser">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.mx_datechooser" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.mx_datechooser.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.mx_datechooser.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>               
+        <TestCase testID="SparkLayoutDirectionTestLTR_spark_textinput">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_textinput" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_textinput.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_textinput.computedMatrix" 
+                    propertyName="tx" value="0" />
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_textinput.textDisplay" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_textinput.textDisplay.computedMatrix" 
+                    propertyName="a" value="1" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkLayoutDirectionTestLTR_spark_button">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_button" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_button.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_button.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>               
+        <TestCase testID="SparkLayoutDirectionTestLTR_spark_checkbox">
+            <body>
+                <AssertStyleValue target="sparkLayoutDirectionTests.spark_checkbox" 
+                    styleName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_checkbox.computedMatrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_checkbox.computedMatrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>
+        <TestCase testID="SparkLayoutDirectionTestLTR_spark_image">
+            <body>
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image" 
+                    propertyName="layoutDirection" value="ltr" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image.displayObject.transform.matrix" 
+                    propertyName="a" value="1" />
+                <AssertPropertyValue target="sparkLayoutDirectionTests.spark_image.displayObject.transform.matrix" 
+                    propertyName="tx" value="0" />
+            </body>
+        </TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/LayoutTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/LayoutTestScript.mxml b/mustella/tests/basicTests/spark/scripts/LayoutTestScript.mxml
new file mode 100644
index 0000000..1e3583c
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/LayoutTestScript.mxml
@@ -0,0 +1,216 @@
+<?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="layout.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 mx.core.ILayoutElement;
+                public var layoutElement:ILayoutElement;
+            ]]>
+        </mx:Script>
+
+    <testCases>
+		<TestCase testID="SetupLayoutTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkLayoutTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkLayoutTests.b1" propertyName="label" value="Hello" />
+			</body>
+		</TestCase>
+
+        <TestCase testID="preferredSize_from_measured">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="110"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="100" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="110" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="preferredSize_from_measured_and_explicitMin">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="110"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMinWidth" value="120"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMinHeight" value="130" waitEvent="updateComplete"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="120" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="130" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="preferredSize_from_measured_and_explicitMin_and_explicitMax">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="110"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMinWidth" value="120"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMinHeight" value="130"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMaxWidth" value="115"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMaxHeight" value="125" waitEvent="updateComplete"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="115" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="125" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="preferredSize_from_measured_rotation_90">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="rotation" value="90"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="100" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="50" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="preferredSize_from_measured_rotation_180">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="rotation" value="180"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="50" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="100" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="preferredSize_from_measured_rotation_negative90">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="rotation" value="-90"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="100" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="50" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="preferredSize_from_explicit_size">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth"        value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight"       value="100"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredMinWidth"     value="20"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredMinHeight"    value="20"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMinWidth"     value="30"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMinHeight"    value="30"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMaxWidth"     value="1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitMaxHeight"    value="1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitWidth"        value="4"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="explicitHeight"       value="5"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsWidth()" value="4" />
+                <AssertMethodValue method="value=layoutElement.getPreferredBoundsHeight()" value="5" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="setLayoutBoundsSize_NaN_width_NaN_height">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+           <RunCode code="layoutElement.setLayoutBoundsSize(NaN, NaN);" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsWidth()" value="50" />
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsHeight()" value="100" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="setLayoutBoundsSize_40_width_NaN_height">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+           <RunCode code="layoutElement.setLayoutBoundsSize(40, NaN);" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsWidth()" value="40" />
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsHeight()" value="100" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="setLayoutBoundsSize_NaN_width_90_height">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+           <RunCode code="layoutElement.setLayoutBoundsSize(NaN, 90);" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsWidth()" value="50" />
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsHeight()" value="90" />
+            </body>
+        </TestCase>
+
+        <TestCase testID="setLayoutBoundsSize_30_width_80_height">
+        <setup> 
+           <ResetComponent target="sparkLayoutTests.b1" className="mx.controls.Button" waitEvent="updateComplete" waitTarget="sparkLayoutTests.b1"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredWidth" value="50"/>
+           <SetProperty target="sparkLayoutTests.b1" propertyName="measuredHeight" value="100"/>
+           <RunCode code="layoutElement = application.sparkLayoutTests.b1" />
+           <RunCode code="layoutElement.setLayoutBoundsSize(30, 80);" />
+        </setup>
+            <body>
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsWidth()" value="30" />
+                <AssertMethodValue method="value=layoutElement.getLayoutBoundsHeight()" value="80" />
+            </body>
+        </TestCase>
+
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/ListDragDropTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/ListDragDropTestScript.mxml b/mustella/tests/basicTests/spark/scripts/ListDragDropTestScript.mxml
new file mode 100644
index 0000000..1c2c23f
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/ListDragDropTestScript.mxml
@@ -0,0 +1,266 @@
+<?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 spark.layouts.*;
+		import mx.managers.DragManager;
+		import mx.core.mx_internal;
+		use namespace mx_internal;
+		]]>
+	</mx:Script>
+	
+	<testCases>
+		<TestCase testID="SetupListDragDropTest" keywords="[DragDrop, List]" description="Spark ListDND checkin test 1.">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkListDragDropTest" waitEvent="updateComplete" />
+			</body>
+		</TestCase>
+
+		<TestCase testID="1_SparkListDND1_copy" keywords="[DragDrop, List]" description="drag copy">
+			<body>
+				<ResetComponent target="sparkListDragDropTests.dragFrom" className="spark.components.List" waitEvent="updateComplete" />
+				<ResetComponent target="sparkListDragDropTests.l2"       className="spark.components.List" waitEvent="updateComplete" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.dragFrom.dataGroup"/>
+
+				<SetProperty target="sparkListDragDropTests.l2" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.l2.dataGroup"/>
+
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="7" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="7" />
+
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="labelField" value="lastName"
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.dragFrom"/>
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="labelField" value="firstName" 
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.l2"/>
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="selectedIndex" value="1" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2" 	  propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="dropEnabled" value="true" />
+
+				<DispatchMouseEvent type="mouseOver" buttonDown="false" target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseDown" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"         
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="50" localY="72" />
+
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.l2"  
+									localX="15" localY="10" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent target="sparkListDragDropTests.l2"             type="mouseMove" buttonDown="true"
+									localX="50" localY="30" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="sparkListDragDropTests.l2"             type="mouseUp"                      
+									localX="50" localY="30" waitTarget="sparkListDragDropTests.dragFrom" waitEvent="dragComplete" />
+
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="7" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="8" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.l2.dataProvider.getItemAt(1).firstName" value="Ron" />
+			</body>
+		</TestCase>
+
+		<TestCase testID="2_SparkListDND_move" keywords="[DragDrop, List]" description="drag move">
+			<body>
+				<ResetComponent target="sparkListDragDropTests.dragFrom" className="spark.components.List" waitEvent="updateComplete" />
+				<ResetComponent target="sparkListDragDropTests.l2"       className="spark.components.List" waitEvent="updateComplete" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.dragFrom.dataGroup"/>
+				
+				<SetProperty target="sparkListDragDropTests.l2" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.l2.dataGroup"/>
+				
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="7" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="7" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="labelField" value="lastName"
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.dragFrom"/>
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="labelField" value="firstName" 
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.l2"/>
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="selectedIndex" value="1" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragMoveEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2" 	  propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="dropEnabled" value="true" />
+				
+				<DispatchMouseEvent type="mouseOver" buttonDown="false" target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseDown" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"         
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="50" localY="72" />
+				
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.l2"  
+									localX="15" localY="10" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent target="sparkListDragDropTests.l2"             type="mouseMove" buttonDown="true"
+									localX="50" localY="30" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="sparkListDragDropTests.l2"             type="mouseUp"                      
+									localX="50" localY="30" waitTarget="sparkListDragDropTests.dragFrom" waitEvent="dragComplete" />
+
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="6" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="8" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.l2.dataProvider.getItemAt(1).firstName" value="Ron" />
+			</body>
+		</TestCase>
+
+		<TestCase testID="3_SparkListDND_move" keywords="[DragDrop, List]" description="drag move">
+			<body>
+				<ResetComponent target="sparkListDragDropTests.dragFrom" className="spark.components.List" waitEvent="updateComplete" />
+				<ResetComponent target="sparkListDragDropTests.l2"       className="spark.components.List" waitEvent="updateComplete" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.dragFrom.dataGroup"/>
+				
+				<SetProperty target="sparkListDragDropTests.l2" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.l2.dataGroup"/>
+				
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="7" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="7" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="labelField" value="lastName"
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.dragFrom"/>
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="labelField" value="firstName" 
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.l2"/>
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="selectedIndex" value="1" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragMoveEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="allowMultipleSelection" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2" 	  propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="dropEnabled" value="true" />
+				
+				<DispatchMouseEvent type="mouseOver" buttonDown="false" target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseDown" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"         
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="50" localY="72" />
+				
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.l2"  
+									localX="15" localY="10" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent target="sparkListDragDropTests.l2"             type="mouseMove" buttonDown="true"
+									localX="50" localY="30" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="sparkListDragDropTests.l2"             type="mouseUp"                      
+									localX="50" localY="30" waitTarget="sparkListDragDropTests.dragFrom" waitEvent="dragComplete" />
+
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="6" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="8" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.l2.dataProvider.getItemAt(1).firstName" value="Ron" />
+			</body>
+		</TestCase>
+
+		<TestCase testID="4_SparkListDND_reorder" keywords="[DragDrop, List]" description="drag move">
+			<body>
+				<ResetComponent target="sparkListDragDropTests.dragFrom" className="spark.components.List" waitEvent="updateComplete" />
+				<ResetComponent target="sparkListDragDropTests.l2"       className="spark.components.List" waitEvent="updateComplete" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.dragFrom.dataGroup"/>
+				
+				<SetProperty target="sparkListDragDropTests.l2" propertyName="dataProvider"
+							 valueExpression="value=application.sparkListDragDropTests.createPlayersAC()" 
+							 waitEvent="updateComplete" 
+							 waitTarget="sparkListDragDropTests.l2.dataGroup"/>
+				
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="7" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="7" />
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="labelField" value="lastName"
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.dragFrom"/>
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="labelField" value="firstName" 
+							 waitEvent="updateComplete" waitTarget="sparkListDragDropTests.l2"/>
+				
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="selectedIndex" value="1" waitEvent="updateComplete" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dragMoveEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="dropEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.dragFrom" propertyName="allowMultipleSelection" value="true"/>
+				<SetProperty target="sparkListDragDropTests.l2" 	  propertyName="dragEnabled" value="true" />
+				<SetProperty target="sparkListDragDropTests.l2"       propertyName="dropEnabled" value="true" />
+				
+				<DispatchMouseEvent type="mouseOver" buttonDown="false" target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="10" localY="70" />
+				<DispatchMouseEvent type="mouseDown" buttonDown="true"	ctrlKey="true" target="sparkListDragDropTests.dragFrom.dataGroup"         
+									localX="10" localY="70" />
+
+				<DispatchMouseEvent type="mouseDown" buttonDown="true"	ctrlKey="true" target="sparkListDragDropTests.dragFrom.dataGroup"         
+									localX="10" localY="90" />
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.dragFrom.dataGroup"
+									localX="50" localY="72" />
+				
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"	target="sparkListDragDropTests.l2"  
+									localX="15" localY="10" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="updateComplete"/>
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"  target="sparkListDragDropTests.l2"             
+									localX="50" localY="30" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+
+				<DispatchMouseEvent type="mouseMove" buttonDown="true"  target="sparkListDragDropTests.dragFrom"             
+									localX="50" localY="70" waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent type="mouseUp" 						target="sparkListDragDropTests.dragFrom"                                  
+									localX="50" localY="70" waitTarget="sparkListDragDropTests.dragFrom" waitEvent="dragComplete" />
+
+				<AssertPropertyValue target="sparkListDragDropTests.dragFrom.dataGroup" propertyName="numElements" value="7" />
+				<AssertPropertyValue target="sparkListDragDropTests.l2.dataGroup" propertyName="numElements" value="7" />
+
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(0).lastName" value="Brown" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(1).lastName" value="Brady" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(2).lastName" value="Left" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(3).lastName" value="Gore" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(4).lastName" value="OName" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(5).lastName" value="VName" />
+				<AssertMethodValue method="value=application.sparkListDragDropTests.dragFrom.dataProvider.getItemAt(6).lastName" value="Boone" />
+
+			</body>
+		</TestCase>
+
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml b/mustella/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml
new file mode 100644
index 0000000..d91aed5
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/NumberFormatterTestScript.mxml
@@ -0,0 +1,126 @@
+<?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.NumberFormatter;
+            import flash.globalization.NationalDigitsType;
+            import flash.globalization.NumberParseResult;
+            public var flashNF:flash.globalization.NumberFormatter;
+            
+            
+            public var nfParseResult:NumberParseResult;
+            public var flashParseResult:NumberParseResult;
+            public var nfParseNumberResult:Number;
+            public var flashParseNumberResult:Number;
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupNumberFormatterTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkNumberFormatterTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="NumberFormatter_test" description="" keywords="[NumberFormatter, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter('xx')" />
+                <RunCode code="nfParseResult=application.sparkNumberFormatterTests.nfFormatter.parse('-1234')" />
+                <RunCode code="flashParseResult=flashNF.parse('-1234')" />
+                <RunCode code="nfParseNumberResult=application.sparkNumberFormatterTests.nfFormatter.parseNumber('1234')" />
+                <RunCode code="flashParseNumberResult=flashNF.parseNumber('1234')" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkNumberFormatterTests.nfFormatter" propertyName="actualLocaleIDName" valueExpression="value=flashNF.actualLocaleIDName" />
+                <AssertMethodValue method="value=nfParseResult.value" valueExpression="value=flashParseResult.value" />
+                <AssertMethodValue method="value=nfParseResult.startIndex" valueExpression="value=flashParseResult.startIndex" />
+                <AssertMethodValue method="value=nfParseResult.endIndex" valueExpression="value=flashParseResult.endIndex" />
+                <AssertMethodValue method="value=nfParseNumberResult" valueExpression="value=flashParseNumberResult" />
+               
+            </body>
+        </TestCase>
+        <TestCase testID="NumberFormatter_test1" description="" keywords="[NumberFormatter, actualLocaleIDName]">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter(application.sparkNumberFormatterTests.getLocale.text)" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="actualLocaleIDName" valueExpression="value=flashNF.actualLocaleIDName" target="sparkNumberFormatterTests.nfFormatterNoLocaleInline"/>
+            </body>
+        </TestCase>
+        <!--Set/Get Inline decimalSeparator as positive value and format numbers-->
+        <TestCase testID="NF_decimalSeparator_test" description="" keywords="[NumberFormatter, decimalSeparator]">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter('en-US')"/>
+                <RunCode code="flashNF.decimalSeparator='@'"/>
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkNumberFormatterTests.nfFormatterDecimalSeparator" propertyName="decimalSeparator" valueExpression="value=flashNF.decimalSeparator"/>
+                <AssertMethodValue method="value=application.sparkNumberFormatterTests.nfFormatterDecimalSeparator.format(-1234567.89012)" valueExpression="value=flashNF.formatNumber(-1234567.89012)" />
+                <AssertPropertyValue target="sparkNumberFormatterTests.nfFormatterDecimalSeparator" propertyName="lastOperationStatus" valueExpression="value=flashNF.lastOperationStatus"/>
+            </body>
+        </TestCase>    
+        <!--Binding property by lable text-->
+        <TestCase testID="NF_digitsType_test" description="" keywords="[NumberFormatter, digitsType]">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter('en-US')" />
+                <RunCode code="flashNF.digitsType=NationalDigitsType.CHAM" />
+            </setup>
+            <body>
+                <AssertPropertyValue target="sparkNumberFormatterTests.nfLabel" propertyName="text" valueExpression="value=flashNF.digitsType" />
+            </body>
+        </TestCase>    
+        <!-- Test function of fractionalDigits property -->
+        <TestCase testID="NF_fractionalDigits_test" description="" keywords="[NumberFormatter, fractionalDigits]">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter('en-US')" />
+                <RunCode code="flashNF.trailingZeros=true" />
+                <RunCode code="flashNF.fractionalDigits=1" />
+                <RunCode code="flashNF.useGrouping=true" />
+                <RunCode code="flashNF.groupingSeparator=','"/>
+                <RunCode code="flashNF.groupingPattern='*'" />
+            </setup>
+            <body>
+                <AssertMethodValue method="value=application.sparkNumberFormatterTests.nfFormatterFractionalDigits.format(1234.352)" valueExpression="value=flashNF.formatNumber(1234.352)" />
+            </body>
+        </TestCase>
+        <TestCase testID="NF_errorText_test" description="" keywords="[NumberFormatter, errorText]">
+            <body>
+                <AssertMethodValue method="value=application.sparkNumberFormatterTests.nfFormatterNoLocaleInline.format('abc')" value="#####"/>
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml b/mustella/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml
new file mode 100644
index 0000000..e1cb486
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml
@@ -0,0 +1,107 @@
+<?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.NumberFormatter;
+            import flash.globalization.NumberParseResult;
+            import flash.globalization.LastOperationStatus;
+            import spark.validators.NumberValidator;
+            import mx.events.ValidationResultEvent;
+            public var flashNF:flash.globalization.NumberFormatter;
+            
+            
+            public var nfParseResult:Number;
+            public var flashParseResult:Number;
+            
+            
+            private function doCheck(objFlash:flash.globalization.NumberFormatter,objVal:spark.validators.NumberValidator):Boolean
+            {
+                var los:String = objFlash.lastOperationStatus;
+                var event:ValidationResultEvent = objVal.validate();
+                var currentControlIsValid:Boolean = (event.type == ValidationResultEvent.VALID);
+                var res:Boolean;
+                if(los==flash.globalization.LastOperationStatus.NO_ERROR)
+                {
+                    if(currentControlIsValid==true) // valide format
+                        res=true;
+                    else
+                        res=false;
+                }
+                else if(los==flash.globalization.LastOperationStatus.PARSE_ERROR)
+                {
+                    if(currentControlIsValid==false) // invalide format
+                        res=true;
+                    else
+                        res=false;
+                }
+                return res;
+            }
+        ]]>
+    </mx:Script>
+    
+    <testCases>
+        <TestCase testID="SetupNumberValidatorTest">
+            <body>
+                <SetProperty target="" propertyName="currentState" value="sparkNumberValidatorTest" 
+                             waitEvent="updateComplete" />
+            </body>
+        </TestCase>
+        <TestCase testID="validate_Number_test1">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter('en')" />
+                <RunCode code="flashParseResult=flashNF.parseNumber('123')" />
+                <ResetComponent target="sparkNumberValidatorTests.tb1" className="spark.components.TextInput" waitEvent="updateComplete" />
+                <SetProperty target="sparkNumberValidatorTests.tb1" propertyName="text" value="123" />
+             </setup>
+            <body>
+                <AssertMethodValue method="value=doCheck(flashNF,application.sparkNumberValidatorTests.nv)" value="true" />
+            </body>
+        </TestCase>
+        <TestCase testID="validate_Number_test2">
+            <setup>
+                <RunCode code="flashNF=new flash.globalization.NumberFormatter('en')" />
+                <RunCode code="flashParseResult=flashNF.parseNumber('$123x')" />
+                <ResetComponent target="sparkNumberValidatorTests.tb1" className="spark.components.TextInput" waitEvent="updateComplete" />
+                <SetProperty target="sparkNumberValidatorTests.tb1" propertyName="text" value="$123x" />
+            </setup>
+            <body>
+                <AssertMethodValue method="value=doCheck(flashNF,application.sparkNumberValidatorTests.nv)" value="true" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/NumericStepperTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/NumericStepperTestScript.mxml b/mustella/tests/basicTests/spark/scripts/NumericStepperTestScript.mxml
new file mode 100644
index 0000000..f7ff90f
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/NumericStepperTestScript.mxml
@@ -0,0 +1,89 @@
+<?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="SetupSparkNumericStepperTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkNumericStepperTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkNumericStepperTests.testNumStep" propertyName="value" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkNumericStepperTest1">
+			<body>
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="rollOver" waitEvent="rollOver" localX="2" localY="2" />
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="mouseDown" waitEvent="mouseDown" localX="2" localY="2" />
+				<AssertEvent target="sparkNumericStepperTests.testNumStep" eventName="change" eventClass="flash.events::Event" />
+				<AssertPropertyValue target="sparkNumericStepperTests.testNumStep" propertyName="value" value="1" />
+			</body>
+			<cleanup>
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="mouseUp" waitEvent="mouseUp" localX="2" localY="2" />
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="rollOut" localX="2" localY="2" />
+			</cleanup>
+		</TestCase>
+		<TestCase testID="SparkNumericStepperTest2">
+			<body>
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="rollOver" waitEvent="rollOver" localX="2" localY="2" />
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="mouseDown" waitEvent="mouseDown" localX="2" localY="2" />
+				<AssertEvent target="sparkNumericStepperTests.testNumStep" eventName="change" eventClass="flash.events::Event" />
+				<AssertPropertyValue target="sparkNumericStepperTests.testNumStep" propertyName="value" value="2" />
+			</body>
+			<cleanup>
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="mouseUp" waitEvent="mouseUp" localX="2" localY="2" />
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.incrementButton" type="rollOut" localX="2" localY="2" />
+			</cleanup>
+		</TestCase>
+		<TestCase testID="SparkNumericStepperTest3">
+			<body>
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.decrementButton" type="rollOver" waitEvent="rollOver" localX="2" localY="2" />
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.decrementButton" type="mouseDown" waitEvent="mouseDown" localX="2" localY="2" />
+				<AssertEvent target="sparkNumericStepperTests.testNumStep" eventName="change" eventClass="flash.events::Event" />
+				<AssertPropertyValue target="sparkNumericStepperTests.testNumStep" propertyName="value" value="1" />
+			</body>
+			<cleanup>
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.decrementButton" type="mouseUp" waitEvent="mouseUp" localX="2" localY="2" />
+				<DispatchMouseEvent target="sparkNumericStepperTests.testNumStep.decrementButton" type="rollOut" localX="2" localY="2" />
+			</cleanup>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/PanelControlBarTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/PanelControlBarTestScript.mxml b/mustella/tests/basicTests/spark/scripts/PanelControlBarTestScript.mxml
new file mode 100644
index 0000000..53d6730
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/PanelControlBarTestScript.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="SetupSparkPanelControlBarTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkPanelControlBarTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkPanelControlBarTests.contentButton" propertyName="label" value="Content Button" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkPanelControlBarTest1">
+			<body>
+				<DispatchMouseEvent target="sparkPanelControlBarTests.contentButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkPanelControlBarTests.contentButton" localX="10" localY="10" />
+				<AssertPropertyValue target="sparkPanelControlBarTests.contentTextInput" propertyName="text" value="content clicked" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkPanelControlBarTest2">
+			<body>
+				<DispatchMouseEvent target="sparkPanelControlBarTests.controlButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkPanelControlBarTests.controlButton" localX="10" localY="10" />
+				<AssertPropertyValue target="sparkPanelControlBarTests.controlTextInput" propertyName="text" value="control clicked" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/RadioButtonTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/RadioButtonTestScript.mxml b/mustella/tests/basicTests/spark/scripts/RadioButtonTestScript.mxml
new file mode 100644
index 0000000..9b9de98
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/RadioButtonTestScript.mxml
@@ -0,0 +1,69 @@
+<?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="SetupSparkRadioButtonTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkRadioButtonTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkRadioButtonTests.testRadio1" propertyName="label" value="test Radio1" />
+				<AssertPropertyValue target="sparkRadioButtonTests.testRadio2" propertyName="label" value="test Radio2" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkRadioButtonTest1">
+			<body>
+				<DispatchMouseEvent target="sparkRadioButtonTests.testRadio1" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkRadioButtonTests.testRadio1" localX="10" localY="10" />
+				<AssertPropertyValue target="sparkRadioButtonTests.testRadio1" propertyName="selected" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkRadioButtonTest2">
+			<body>
+				<DispatchMouseEvent target="sparkRadioButtonTests.testRadio2" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="sparkRadioButtonTests.testRadio2" localX="10" localY="10" />
+				<AssertPropertyValue target="sparkRadioButtonTests.testRadio1" propertyName="selected" value="false" />
+				<AssertPropertyValue target="sparkRadioButtonTests.testRadio2" propertyName="selected" value="true" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml b/mustella/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml
new file mode 100644
index 0000000..c50ac28
--- /dev/null
+++ b/mustella/tests/basicTests/spark/scripts/ScrollBarTestScript.mxml
@@ -0,0 +1,61 @@
+<?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="SetupSparkScrollBarTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="sparkScrollBarTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="sparkScrollBarTests.testVScrollBar" propertyName="value" value="0" />
+			</body>
+		</TestCase>
+		<TestCase testID="SparkVScrollBarTest1">
+			<body>
+				<DispatchMouseEvent target="sparkScrollBarTests.testVScrollBar" type="mouseDown" localX="3" localY="60" waitEvent="changeStart" />
+				<DispatchMouseEvent target="sparkScrollBarTests.testVScrollBar" type="mouseUp" localX="3" localY="60" waitEvent="changeEnd" />
+				<DispatchMouseEvent target="sparkScrollBarTests.testVScrollBar" type="mouseDown" localX="3" localY="60" waitEvent="change" />
+				<AssertPropertyValue target="sparkScrollBarTests.testVScrollBar" propertyName="value" value="40" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>


[08/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/dmv/views/DataIntro.as
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/views/DataIntro.as b/mustella/tests/basicTests/dmv/views/DataIntro.as
new file mode 100644
index 0000000..1f21709
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/views/DataIntro.as
@@ -0,0 +1,83 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+[Bindable]
+private var flatData:ArrayCollection = new ArrayCollection(
+[
+  {customer:"AAA", product:"ColdFusion", quarter:"Q1", revenue:210, cost:25},
+  {customer:"AAA", product:"Flex", quarter:"Q2", revenue:210, cost:25},
+  {customer:"AAA", product:"Dreamweaver", quarter:"Q3", revenue:250, cost:125},
+  {customer:"AAA", product:"Flash", quarter:"Q4", revenue:430, cost:75},
+  
+  {customer:"BBB", product:"ColdFusion", quarter:"Q2", revenue:125, cost:20},
+  {customer:"BBB", product:"Flex", quarter:"Q3", revenue:210, cost:20},
+  {customer:"BBB", product:"Dreamweaver", quarter:"Q4", revenue:320, cost:120},
+  {customer:"BBB", product:"Flash", quarter:"Q1", revenue:280, cost:70},
+  
+  {customer:"CCC", product:"ColdFusion", quarter:"Q3", revenue:375, cost:120},
+  {customer:"CCC", product:"Flex", quarter:"Q4", revenue:430, cost:120},
+  {customer:"CCC", product:"Dreamweaver", quarter:"Q1", revenue:470, cost:220},
+  {customer:"CCC", product:"Flash", quarter:"Q2", revenue:570, cost:170},
+  
+  {customer:"AAA", product:"ColdFusion", quarter:"Q4", revenue:215, cost:90},
+  {customer:"AAA", product:"Flex", quarter:"Q1", revenue:210, cost:90},
+  {customer:"AAA", product:"Dreamweaver", quarter:"Q2", revenue:175, cost:190},
+  {customer:"AAA", product:"Flash", quarter:"Q3", revenue:670, cost:75},
+  
+  {customer:"BBB", product:"ColdFusion", quarter:"Q1", revenue:175, cost:20},
+  {customer:"BBB", product:"Flex", quarter:"Q2", revenue:210, cost:20},
+  {customer:"BBB", product:"Dreamweaver",quarter:"Q3", revenue:120, cost:120},
+  {customer:"BBB", product:"Flash", quarter:"Q4", revenue:310, cost:70},
+  
+  {customer:"CCC", product:"ColdFusion", quarter:"Q1", revenue:385, cost:120},
+  {customer:"CCC", product:"Flex", quarter:"Q2", revenue:340, cost:120},
+  {customer:"CCC", product:"Dreamweaver", quarter:"Q3", revenue:470, cost:220},
+  {customer:"CCC", product:"Flash", quarter:"Q4", revenue:270, cost:170},
+  
+  
+  {customer:"AAA", product:"ColdFusion", quarter:"Q1", revenue:100, cost:25},
+  {customer:"AAA", product:"Flex", quarter:"Q2", revenue:150, cost:25},
+  {customer:"AAA", product:"Dreamweaver", quarter:"Q3", revenue:200, cost:125},
+  {customer:"AAA", product:"Flash", quarter:"Q4", revenue:300, cost:75},
+  
+  {customer:"BBB", product:"ColdFusion", quarter:"Q2", revenue:175, cost:20},
+  {customer:"BBB", product:"Flex", quarter:"Q3", revenue:100, cost:20},
+  {customer:"BBB", product:"Dreamweaver", quarter:"Q4", revenue:270, cost:120},
+  {customer:"BBB", product:"Flash", quarter:"Q1", revenue:370, cost:70},
+  
+  {customer:"CCC", product:"ColdFusion", quarter:"Q3", revenue:410, cost:120},
+  {customer:"CCC", product:"Flex", quarter:"Q4", revenue:300, cost:320},
+  {customer:"CCC", product:"Dreamweaver", quarter:"Q1", revenue:510, cost:220},
+  {customer:"CCC", product:"Flash", quarter:"Q2", revenue:620, cost:170},
+  
+  {customer:"AAA", product:"ColdFusion", quarter:"Q4", revenue:215, cost:90},
+  {customer:"AAA", product:"Flex", quarter:"Q1", revenue:210, cost:90},
+  {customer:"AAA", product:"Dreamweaver", quarter:"Q2", revenue:175, cost:190},
+  {customer:"AAA", product:"Flash", quarter:"Q3", revenue:420, cost:75},
+  
+  {customer:"BBB", product:"ColdFusion", quarter:"Q1", revenue:240, cost:20},
+  {customer:"BBB", product:"Flex", quarter:"Q2", revenue:100, cost:20},
+  {customer:"BBB", product:"Dreamweaver", quarter:"Q3", revenue:270, cost:120},
+  {customer:"BBB", product:"Flash", quarter:"Q4", revenue:370, cost:70},
+  
+  {customer:"CCC", product:"ColdFusion", quarter:"Q1", revenue:375, cost:120},
+  {customer:"CCC", product:"Flex", quarter:"Q2", revenue:420, cost:120},
+  {customer:"CCC", product:"Dreamweaver", quarter:"Q3", revenue:680, cost:220},
+  {customer:"CCC", product:"Flash", quarter:"Q4", revenue:570, cost:170}
+          
+]);

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/dmv/views/ODGTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/views/ODGTests.mxml b/mustella/tests/basicTests/dmv/views/ODGTests.mxml
new file mode 100644
index 0000000..a3c990b
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/views/ODGTests.mxml
@@ -0,0 +1,152 @@
+<?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"     
+    initialize="creationCompleteHandler()"
+    >
+	<fx:Script>
+		<![CDATA[
+			import mx.olap.OLAPMember;
+			import mx.rpc.AsyncResponder;
+			import mx.rpc.AsyncToken;
+			import mx.messaging.messages.ErrorMessage;
+			import mx.olap.OLAPQuery;
+			import mx.olap.OLAPSet;
+			import mx.olap.IOLAPQuery;
+			import mx.olap.IOLAPQueryAxis;
+			import mx.olap.IOLAPCube;
+			import mx.olap.OLAPResult;
+			import mx.events.CubeEvent;
+			import mx.controls.Alert;
+			import mx.collections.ArrayCollection;
+			
+			include "DataIntro.as"
+			
+			private function creationCompleteHandler():void {
+				myMXMLCube.refresh();
+			}
+			private function getQuery(cube:IOLAPCube):IOLAPQuery {
+				var query:OLAPQuery = new OLAPQuery;
+				var om:OLAPMember;
+				
+				var rowQueryAxis:IOLAPQueryAxis = query.getAxis(OLAPQuery.ROW_AXIS);
+				var productSet:OLAPSet = new OLAPSet;
+				productSet.addElement(
+					cube.findDimension("ProductDim").findAttribute("Product").findMember("ColdFusion"));
+				productSet.addElement(
+					cube.findDimension("ProductDim").findAttribute("Product").findMember("Flex"));
+				
+				om = OLAPMember(cube.findDimension("ProductDim").findAttribute("Product").defaultMember); 
+				om.displayName = "Total";
+				productSet.addElement(om);
+				
+				rowQueryAxis.addSet(productSet);
+				
+				var colQueryAxis:IOLAPQueryAxis = query.getAxis(OLAPQuery.COLUMN_AXIS);         
+				var quarterSet:OLAPSet= new OLAPSet;
+				quarterSet.addElement(
+					cube.findDimension("TimeDim").findAttribute("Quarter").findMember("Q1"));
+				quarterSet.addElement(
+					cube.findDimension("TimeDim").findAttribute("Quarter").findMember("Q2"));
+				
+				om = OLAPMember(cube.findDimension("TimeDim").findAttribute("Quarter").defaultMember); 
+				om.displayName = "Total";
+				quarterSet.addElement(om);
+				
+				colQueryAxis.addSet(quarterSet);
+				
+				return query;       
+			}
+
+			private function runQuery():void {
+				var cube:IOLAPCube = myMXMLCube;
+				var query:IOLAPQuery = getQuery(cube);
+				var token:AsyncToken = cube.execute(query);
+				token.addResponder(new AsyncResponder(showResult, showFault));
+			}
+			
+			private function showFault(error:ErrorMessage, token:Object):void {
+				Alert.show(error.faultString);
+			}
+			
+			private function showResult(result:Object, token:Object):void {
+				if (!result) {
+					Alert.show("No results from query.");
+					return;
+				}
+				testODG.dataProvider= result as OLAPResult;            
+			}        
+		]]>
+	</fx:Script>
+	
+	<fx:Declarations>
+		<mx:OLAPCube name="FlatSchemaCube" dataProvider="{flatData}" id="myMXMLCube" complete="runQuery()">
+		<mx:OLAPDimension name="CustomerDim">
+			<mx:OLAPAttribute name="Customer" dataField="customer"/>
+			<mx:OLAPHierarchy name="CustomerHier" 
+							  hasAll="true">
+				<mx:OLAPLevel attributeName="Customer"/>
+			</mx:OLAPHierarchy>
+		</mx:OLAPDimension>
+		
+		<mx:OLAPDimension name="ProductDim">
+			<mx:OLAPAttribute name="Product" dataField="product"/>
+			<mx:OLAPHierarchy name="ProductHier" 
+							  hasAll="true">
+				<mx:OLAPLevel attributeName="Product"/>
+			</mx:OLAPHierarchy>
+		</mx:OLAPDimension>
+		
+		<mx:OLAPDimension name="TimeDim">
+			<mx:OLAPAttribute name="Year" dataField="year"/>
+			<mx:OLAPAttribute name="Quarter" dataField="quarter"/>
+			<mx:OLAPAttribute name="Month" dataField="month"/>
+			<mx:OLAPHierarchy name="Time-Period" 
+							  hasAll="true">
+				<mx:OLAPLevel attributeName="Year"/>
+				<mx:OLAPLevel attributeName="Quarter"/>
+				<mx:OLAPLevel attributeName="Month"/>
+			</mx:OLAPHierarchy> 
+		</mx:OLAPDimension>
+		
+		<mx:OLAPDimension name="GeographyDim">  
+			<mx:OLAPAttribute name="Country" dataField="country"/>
+			<mx:OLAPAttribute name="Region" dataField="region"/>
+			<mx:OLAPAttribute name="State" dataField="state"/>
+			<mx:OLAPHierarchy name="Country-Region-State" 
+							  hasAll="true">
+				<mx:OLAPLevel attributeName="Country"/>
+				<mx:OLAPLevel attributeName="Region"/>
+				<mx:OLAPLevel attributeName="State"/>
+			</mx:OLAPHierarchy> 
+		</mx:OLAPDimension>
+		
+		<mx:OLAPMeasure name="Revenue" dataField="revenue" aggregator="SUM"/>
+		<mx:OLAPMeasure name="Cost" dataField="cost" aggregator="SUM"/>
+	</mx:OLAPCube>		
+	</fx:Declarations>	
+
+	<mx:OLAPDataGrid id="testODG"/>
+
+
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/fxg/scripts/FXG2CompileTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/fxg/scripts/FXG2CompileTestScript.mxml b/mustella/tests/basicTests/fxg/scripts/FXG2CompileTestScript.mxml
new file mode 100644
index 0000000..0387ee4
--- /dev/null
+++ b/mustella/tests/basicTests/fxg/scripts/FXG2CompileTestScript.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.
+
+-->
+<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="SetupFXG2Test">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="fxg2CompileTest" waitEvent="updateComplete" />
+				<AssertPropertyValue target="fxg2CompileTests" propertyName="width" value="325" />
+				<AssertPropertyValue target="fxg2CompileTests" propertyName="height" value="375" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/fxg/scripts/FXGCompileTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/fxg/scripts/FXGCompileTestScript.mxml b/mustella/tests/basicTests/fxg/scripts/FXGCompileTestScript.mxml
new file mode 100644
index 0000000..0beb240
--- /dev/null
+++ b/mustella/tests/basicTests/fxg/scripts/FXGCompileTestScript.mxml
@@ -0,0 +1,52 @@
+<?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="SetupFXGTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="fxgCompileTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="fxgCompileTests" propertyName="width" value="189" />
+				<AssertPropertyValue target="fxgCompileTests" propertyName="height" value="143" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/fxg/views/FXG2CompileTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/fxg/views/FXG2CompileTests.mxml b/mustella/tests/basicTests/fxg/views/FXG2CompileTests.mxml
new file mode 100644
index 0000000..4fb01e3
--- /dev/null
+++ b/mustella/tests/basicTests/fxg/views/FXG2CompileTests.mxml
@@ -0,0 +1,24 @@
+<?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:local="fxg.views.*" >
+        <local:fxg2 />
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/fxg/views/FXGCompileTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/fxg/views/FXGCompileTests.mxml b/mustella/tests/basicTests/fxg/views/FXGCompileTests.mxml
new file mode 100644
index 0000000..902b738
--- /dev/null
+++ b/mustella/tests/basicTests/fxg/views/FXGCompileTests.mxml
@@ -0,0 +1,24 @@
+<?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:local="fxg.views.*" >
+	<local:bg01/>
+</s:Group>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/fxg/views/bg01.fxg
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/fxg/views/bg01.fxg b/mustella/tests/basicTests/fxg/views/bg01.fxg
new file mode 100644
index 0000000..cb930f0
--- /dev/null
+++ b/mustella/tests/basicTests/fxg/views/bg01.fxg
@@ -0,0 +1,399 @@
+<?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.
+
+-->
+<Graphic version="1.0" viewHeight="142.373" viewWidth="188.305" ai:appVersion="14.0.0.291D" d:id="1" xmlns="http://ns.adobe.com/fxg/2008" xmlns:ai="http://ns.adobe.com/ai/2008" xmlns:d="http://ns.adobe.com/fxg/2008/dt">
+	<TextGraphic fontFamily="Verdana">
+		<content>
+			<p><span>First paragraph </span></p>
+			<p textIndent="15"><span>Second para</span></p>
+			<p><span> Third Para</span></p>
+		</content>
+	</TextGraphic>
+  <Group d:id="2" d:type="layer" d:userLabel="Layer 1">
+    <Group>
+      <Group x="61.125" ai:knockout="0" d:id="3">
+        <Path ai:knockout="0" data="M4.81104 1.33691C5.92773 1.896 7.12891 3.05371 8.22314 4.5498 8.22314 4.5498 7.41699 1.61279 5.05078 0.494629 3.81885 -0.0893555 1.25781 -0.349121 0 0.820801 0 0.820801 2.17773 0.019043 4.81104 1.33691Z" >
+          <fill>
+            <RadialGradient x="4.26611" y="0.491333" scaleX="8.26597" scaleY="8.26597">
+              <GradientEntry color="#8fd7f7" ratio="0"/>
+              <GradientEntry color="#5bc7f1" ratio="0.74719"/>
+              <GradientEntry color="#27b7ea" ratio="1"/>
+            </RadialGradient>
+          </fill>
+        </Path>
+      </Group>
+      <Group y="12.394" ai:knockout="0" d:id="4">
+        <Path ai:knockout="0" data="M1.54004 45.7319C-2.45801 71.146 2.17676 95.4927 5.82275 101.698 15.437 118.064 38.6592 129.396 68.6411 129.965 78.5381 130.155 100.034 128.433 117.745 122.463 144.35 113.491 157.37 88.5435 157.37 88.5435 157.37 88.5435 178.094 95.6606 188.305 82.6665
+ 188.305 82.6665 180.708 81.2837 174.383 75.5522 168.579 70.2896 155.512 79.5728 155.512 79.5728 155.512 79.5728 158.809 67.0112 152.418 63.1772 146.233 59.4644 146.233 59.1538 142.209 54.5137 142.209 54.5137 136.879 62.8433 140.355 71.5298 142.209 76.1704 144.995 78.3345 149.327 80.8101
+ 149.327 80.8101 144.959 86.4419 131.655 88.2974 131.655 88.2974 154.297 6.94092 72.3521 0.332031 19.2432 -3.95117 3.31787 34.4268 1.54004 45.7319Z" >
+          <fill>
+            <RadialGradient x="12.8951" y="-40.2798" scaleX="191.032" scaleY="191.032">
+              <GradientEntry color="#bbbdbf" ratio="0"/>
+              <GradientEntry color="#9e9fa2" ratio="0.49438"/>
+              <GradientEntry color="#808184" ratio="1"/>
+            </RadialGradient>
+          </fill>
+        </Path>
+      </Group>
+      <Group x="5.78906" y="114.03" ai:knockout="0" d:id="5">
+        <Path ai:knockout="0" data="M0 0C0.00976562 0.0185547 0.0219727 0.0429688 0.0336914 0.0615234 9.64795 16.4277 32.8701 27.7598 62.8521 28.3291 72.749 28.5186 94.2451 26.7969 111.956 20.8271 125.564 16.2373 135.609 7.47168 142.184 0L0 0Z" >
+          <fill>
+            <LinearGradient x="71.0923" y="42.5605" scaleX="25.337" rotation="-90">
+              <GradientEntry color="#e1c2d1" ratio="0"/>
+              <GradientEntry color="#b1a2ab" ratio="0.49438"/>
+              <GradientEntry color="#808184" ratio="1"/>
+            </LinearGradient>
+          </fill>
+        </Path>
+      </Group>
+      <Path ai:knockout="0" data="M5.40479 113.303C5.54541 113.588 5.68506 113.857 5.82275 114.092 9.14014 119.739 14.0796 124.788 20.3579 129 55.981 135.245 77.3774 118.153 77.3774 118.153 45.7642 125.79 17.4165 119.153 5.40479 113.303Z" >
+        <fill>
+          <SolidColor color="#6e6f71"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M8.06592 117.477C11.5278 122.18 16.1743 126.393 21.8276 129.956 61.6958 137.284 77.3774 118.153 77.3774 118.153 51.5103 125.913 23.7974 122.459 8.06592 117.477Z" >
+        <fill>
+          <SolidColor color="#b2b4b6"/>
+        </fill>
+      </Path>
+      <Group x="6.20801" y="114.715" ai:knockout="0" d:id="6">
+        <Path ai:knockout="0" data="M0 0C3.0127 4.90918 7.25293 9.35352 12.5469 13.168 51.8779 22.709 71.1689 3.43848 71.1689 3.43848 41.3501 12.3828 13.9458 6.07129 0 0Z" >
+          <fill>
+            <LinearGradient x="33.9341" y="12.4414" scaleX="6.773" rotation="-81.252">
+              <GradientEntry color="#ffffff" ratio="0"/>
+              <GradientEntry color="#dddedf" ratio="0.49438"/>
+              <GradientEntry color="#bbbdbf" ratio="1"/>
+            </LinearGradient>
+          </fill>
+        </Path>
+      </Group>
+      <Group x="20.0103" y="89.7871">
+        <Ellipse width="3.13574" height="10.7773" ai:knockout="0">
+          <fill>
+            <SolidColor color="#595a5c"/>
+          </fill>
+        </Ellipse>
+        <Ellipse y="1.09961" width="3.13574" height="10.7773" ai:knockout="0">
+          <fill>
+            <SolidColor color="#a6a8ac"/>
+          </fill>
+        </Ellipse>
+        <Group y="0.643555" ai:knockout="0" d:id="7">
+          <Ellipse y="0.000976562" width="3.13623" height="10.7754" ai:knockout="0">
+            <fill>
+              <RadialGradient x="0.776855" y="3.47559" scaleX="3.328" scaleY="11.4417">
+                <GradientEntry color="#ffffff" ratio="0"/>
+                <GradientEntry color="#918f90" ratio="0.2"/>
+                <GradientEntry color="#231f20" ratio="1"/>
+              </RadialGradient>
+            </fill>
+          </Ellipse>
+        </Group>
+      </Group>
+      <Group x="42.1421" y="89.7871">
+        <Ellipse width="3.13574" height="10.7773" ai:knockout="0">
+          <fill>
+            <SolidColor color="#595a5c"/>
+          </fill>
+        </Ellipse>
+        <Ellipse y="1.09961" width="3.13574" height="10.7773" ai:knockout="0">
+          <fill>
+            <SolidColor color="#a6a8ac"/>
+          </fill>
+        </Ellipse>
+        <Group y="0.643555" ai:knockout="0" d:id="8">
+          <Ellipse y="0.000976562" width="3.13574" height="10.7754" ai:knockout="0">
+            <fill>
+              <RadialGradient x="0.776855" y="3.47559" scaleX="3.328" scaleY="11.4416">
+                <GradientEntry color="#ffffff" ratio="0"/>
+                <GradientEntry color="#918f90" ratio="0.2"/>
+                <GradientEntry color="#231f20" ratio="1"/>
+              </RadialGradient>
+            </fill>
+          </Ellipse>
+        </Group>
+      </Group>
+      <Group x="138.334" y="66.9077" ai:knockout="0" d:id="9">
+        <Path ai:knockout="0" data="M49.9707 28.1528C49.9707 28.1528 42.374 26.77 36.0488 21.0386 30.2451 15.7759 17.1777 25.0591 17.1777 25.0591 17.1777 25.0591 20.4746 12.4976 14.084 8.66357 7.89941 4.95068 7.89941 4.64014 3.875 0 3.875 0 -1.45508 8.32959 2.02148 17.0161 3.875 21.6567 6.66113 23.8208 10.9932 26.2964
+ 10.9932 26.2964 8.13086 29.981 0 32.3726L8.23047 48.6841C15.4561 40.8765 19.0361 34.0298 19.0361 34.0298 19.0361 34.0298 39.7598 41.147 49.9707 28.1528Z" >
+          <fill>
+            <LinearGradient x="9.56348" y="38.7808" scaleX="20.645" rotation="-54.904">
+              <GradientEntry color="#808184" ratio="0"/>
+              <GradientEntry color="#6d6e70" ratio="0.49438"/>
+              <GradientEntry color="#595a5c" ratio="1"/>
+            </LinearGradient>
+          </fill>
+        </Path>
+      </Group>
+      <Group x="64.7368" y="113.498" ai:knockout="0" d:id="10">
+        <Ellipse width="14.8379" height="14.8379" ai:knockout="0">
+          <fill>
+            <RadialGradient x="1.48389" y="-2.00488" scaleX="21.43" scaleY="21.43">
+              <GradientEntry color="#929496" ratio="0"/>
+              <GradientEntry color="#898b8d" ratio="0.49438"/>
+              <GradientEntry color="#808184" ratio="1"/>
+            </RadialGradient>
+          </fill>
+        </Ellipse>
+      </Group>
+      <Ellipse x="66.0806" y="15.6772" width="5.37305" height="2.47852" ai:knockout="0">
+        <fill>
+          <SolidColor color="#6e6f71"/>
+        </fill>
+      </Ellipse>
+      <Path ai:knockout="0" data="M66.3325 17.4321C66.7563 17.8589 67.6841 18.1558 68.7681 18.1558 69.8501 18.1558 70.7778 17.8589 71.2017 17.4321 70.7778 17.0073 69.8501 16.7085 68.7681 16.7085 67.6841 16.7085 66.7563 17.0073 66.3325 17.4321Z" >
+        <fill>
+          <SolidColor color="#808184"/>
+        </fill>
+      </Path>
+      <Group x="67.8374" y="0.534668" ai:knockout="0" d:id="11">
+        <Path ai:knockout="0" data="M1.09863 17.022C1.09863 17.022 -1.5083 8.47998 1.30957 4.06104 3.8877 0.0170898 10.3276 -1.40967 16.5146 1.64209 16.5146 1.64209 7.40137 -0.734863 3.45752 3.27002 -0.288574 7.0752 1.09863 17.022 1.09863 17.022Z" >
+          <fill>
+            <RadialGradient x="7.37085" y="0.197998" scaleX="29.7339" scaleY="29.7339">
+              <GradientEntry color="#8fd7f7" ratio="0"/>
+              <GradientEntry color="#5bc7f1" ratio="0.74719"/>
+              <GradientEntry color="#27b7ea" ratio="1"/>
+            </RadialGradient>
+          </fill>
+        </Path>
+      </Group>
+      <Path ai:knockout="0" data="M60.3794 127.434C60.6079 127.359 60.8423 127.288 61.0669 127.211L61.0669 121.659C60.8364 121.688 60.6079 121.713 60.3794 121.743L60.3794 127.434Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M53.3071 129.25C53.5376 129.206 53.7681 129.163 53.9946 129.114L53.9946 122.357C53.7661 122.374 53.5356 122.391 53.3071 122.405L53.3071 129.25Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M46.2349 130.247C46.4634 130.225 46.6978 130.211 46.9233 130.189L46.9233 122.598C46.6929 122.598 46.4644 122.598 46.2349 122.596L46.2349 130.247Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M39.1636 130.525C39.396 130.528 39.6206 130.521 39.8521 130.521L39.8521 122.383C39.6206 122.37 39.3921 122.354 39.1636 122.336L39.1636 130.525Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M32.0913 130.153C32.3208 130.174 32.5532 130.2 32.7798 130.219L32.7798 121.715C32.5493 121.686 32.3198 121.655 32.0913 121.625L32.0913 130.153Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M25.02 129.184C25.2476 129.225 25.4819 129.273 25.7085 129.311L25.7085 120.584C25.48 120.54 25.2466 120.499 25.02 120.454L25.02 129.184Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M17.9478 127.275C18.1792 127.448 18.4019 127.624 18.6372 127.795L18.6372 118.969C18.4048 118.907 18.1772 118.844 17.9478 118.782L17.9478 127.275Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+      <Path ai:knockout="0" data="M10.8765 120.883C11.106 121.135 11.3276 121.391 11.5649 121.641L11.5649 116.803C11.3335 116.721 11.103 116.641 10.8765 116.559L10.8765 120.883Z" >
+        <fill>
+          <SolidColor color="#595a5c"/>
+        </fill>
+      </Path>
+    </Group>
+  </Group>
+  <Private>
+    <ai:PrivateElement d:ref="#1">
+      <ai:SaveOptions>
+        <ai:Dictionary>
+          <ai:DictEntry name="preserveTextPolicy" value="1" valueType="Integer"/>
+          <ai:DictEntry name="downsampleLinkedImages" value="0" valueType="Boolean"/>
+          <ai:DictEntry name="clipToActiveArtboard" value="0" valueType="Boolean"/>
+          <ai:DictEntry name="preserveFilterPolicy" value="3" valueType="Integer"/>
+          <ai:DictEntry name="preserveGradientPolicy" value="3" valueType="Integer"/>
+          <ai:DictEntry name="rasterizeResolution" value="72" valueType="Integer"/>
+          <ai:DictEntry name="includeSymbol" value="0" valueType="Boolean"/>
+          <ai:DictEntry name="versionKey" value="1" valueType="Integer"/>
+          <ai:DictEntry name="writeImages" value="1" valueType="Boolean"/>
+          <ai:DictEntry name="aiEditCap" value="1" valueType="Boolean"/>
+          <ai:DictEntry name="includeXMP" value="0" valueType="Boolean"/>
+        </ai:Dictionary>
+      </ai:SaveOptions>
+      <ai:Artboards originOffsetH="156.914" originOffsetV="321.215" rulerCanvasDiffH="250" rulerCanvasDiffV="-250" zoom="1">
+        <ai:Artboard active="1" index="0" right="500" top="500"/>
+        <ai:ArtboardsParam all="0" range="" type="0"/>
+      </ai:Artboards>
+    </ai:PrivateElement>
+    <ai:PrivateElement d:ref="#2">
+      <ai:LayerOptions colorType="ThreeColor">
+        <ai:ThreeColor blue="257" green="128.502" red="79.31"/>
+      </ai:LayerOptions>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="0cf3ad35a6b5c145ad451da7c97168b7" d:ref="#3">
+      <ai:Path data="M 65.936 1.337C 67.053 1.896 68.254 3.054 69.348 4.55C 69.348 4.55 68.542 1.613 66.176 0.495C 64.944 -0.089 62.383 -0.349 61.125 0.821C 61.125 0.821 63.303 0.019 65.936 1.337Z" knockout="0">
+        <ai:ArtStyle/>
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient gradientType="radial" length="4.133" originX="4.266" originY="0.491">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="74.719" rampPoint="0">
+                <ai:ThreeColor blue="0.969" green="0.843" red="0.561"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.918" green="0.718" red="0.153"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+      </ai:Path>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="0780707d9fdf87a88dc9776f076ab7a8" d:ref="#4">
+      <ai:Path data="M 1.54 58.126C -2.458 83.54 2.177 107.887 5.823 114.092C 15.437 130.458 38.659 141.79 68.641 142.359C 78.538 142.549 100.034 140.827 117.745 134.857C 144.35 125.885 157.37 100.938 157.37 100.938C 157.37 100.938 178.094 108.055 188.305 95.061C 188.305 95.061 180.708 93.678 174.383 87.946C 168.579 82.684 155.512 91.967 155.512 91.967C 155.512 91.967 158.809 79.405 152.418 75.571C 146.233 71.858 146.233 71.548 142.209 66.908C 142.209 66.908 136.879 75.237 140.355 83.924C 142.209 88.564 144.995 90.729 149.327 93.204C 149.327 93.204 144.959 98.836 131.655 100.691C 131.655 100.691 154.297 19.335 72.352 12.726C 19.243 8.443 3.318 46.821 1.54 58.126Z" knockout="0">
+        <ai:ArtStyle/>
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient gradientType="radial" length="95.516" originX="12.895" originY="-40.28">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="49.438" rampPoint="0">
+                <ai:ThreeColor blue="0.749" green="0.741" red="0.733"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.518" green="0.506" red="0.502"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+      </ai:Path>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="1599a2ba90f9901f86ff571d607713bd" d:ref="#5">
+      <ai:Path data="M 5.789 114.03C 5.799 114.049 5.811 114.073 5.823 114.092C 15.437 130.458 38.659 141.79 68.641 142.359C 78.538 142.549 100.034 140.827 117.745 134.857C 131.354 130.268 141.398 121.502 147.973 114.03L 5.789 114.03Z" knockout="0">
+        <ai:ArtStyle/>
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient angle="90" gradientType="linear" length="25.337" originX="71.092" originY="42.561">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="49.438" rampPoint="0">
+                <ai:ThreeColor blue="0.82" green="0.761" red="0.882"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.518" green="0.506" red="0.502"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+      </ai:Path>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="1efde8b86ca2dbbf00ff1b5cade46a64" d:ref="#6">
+      <ai:Path data="M 6.208 114.715C 9.221 119.624 13.461 124.068 18.755 127.883C 58.086 137.424 77.377 118.153 77.377 118.153C 47.558 127.098 20.154 120.786 6.208 114.715Z" knockout="0">
+        <ai:ArtStyle/>
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient angle="81.252" gradientType="linear" length="6.773" originX="33.934" originY="12.441">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="49.438" rampPoint="0">
+                <ai:ThreeColor blue="1" green="1" red="1"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.749" green="0.741" red="0.733"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+      </ai:Path>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="e892e536e31859451c61b1caaa30d423" d:ref="#7">
+      <ai:Ellipse height="10.775" knockout="0" width="3.136" x="0" y="0.645">
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient aspect="3.438" gradientType="radial" length="1.664" originX="0.777" originY="3.476">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="20" rampPoint="0">
+                <ai:ThreeColor blue="1" green="1" red="1"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.125" green="0.122" red="0.137"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+        <ai:ArtStyle/>
+      </ai:Ellipse>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="a9e58a662dc28d8522c1a20098e936b4" d:ref="#8">
+      <ai:Ellipse height="10.775" knockout="0" width="3.136" x="0" y="0.645">
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient aspect="3.438" gradientType="radial" length="1.664" originX="0.777" originY="3.476">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="20" rampPoint="0">
+                <ai:ThreeColor blue="1" green="1" red="1"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.125" green="0.122" red="0.137"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+        <ai:ArtStyle/>
+      </ai:Ellipse>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="c3f04eb61c3359fdebff9f9103c853ee" d:ref="#9">
+      <ai:Path data="M 188.305 95.061C 188.305 95.061 180.708 93.678 174.383 87.946C 168.579 82.684 155.512 91.967 155.512 91.967C 155.512 91.967 158.809 79.405 152.418 75.571C 146.233 71.858 146.233 71.548 142.209 66.908C 142.209 66.908 136.879 75.237 140.355 83.924C 142.209 88.564 144.995 90.729 149.327 93.204C 149.327 93.204 146.465 96.889 138.334 99.28L 146.564 115.592C 153.79 107.784 157.37 100.938 157.37 100.938C 157.37 100.938 178.094 108.055 188.305 95.061Z" knockout="0">
+        <ai:ArtStyle/>
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient angle="54.904" gradientType="linear" length="20.645" originX="9.563" originY="38.781">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="49.438" rampPoint="0">
+                <ai:ThreeColor blue="0.518" green="0.506" red="0.502"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.361" green="0.353" red="0.349"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+      </ai:Path>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="03632094eb1cb2fa0c929c064c66a7d8" d:ref="#10">
+      <ai:Ellipse height="14.838" knockout="0" width="14.838" x="64.737" y="113.498">
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient gradientType="radial" length="10.715" originX="1.484" originY="-2.005">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="49.438" rampPoint="0">
+                <ai:ThreeColor blue="0.588" green="0.58" red="0.573"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.518" green="0.506" red="0.502"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+        <ai:ArtStyle/>
+      </ai:Ellipse>
+    </ai:PrivateElement>
+    <ai:PrivateElement ai:hashcode="b69fc2972b27585fe733668d0aa0b26b" d:ref="#11">
+      <ai:Path data="M 68.936 17.557C 68.936 17.557 66.329 9.015 69.147 4.596C 71.725 0.552 78.165 -0.875 84.352 2.177C 84.352 2.177 75.239 -0.2 71.295 3.805C 67.549 7.61 68.936 17.557 68.936 17.557Z" knockout="0">
+        <ai:ArtStyle/>
+        <ai:Fill colorType="Gradient" evenOdd="0">
+          <ai:Gradient gradientType="radial" length="14.867" originX="7.371" originY="0.198">
+            <ai:GradientStops>
+              <ai:GradientStop colorType="ThreeColor" midPoint="74.719" rampPoint="0">
+                <ai:ThreeColor blue="0.969" green="0.843" red="0.561"/>
+              </ai:GradientStop>
+              <ai:GradientStop colorType="ThreeColor" rampPoint="100">
+                <ai:ThreeColor blue="0.918" green="0.718" red="0.153"/>
+              </ai:GradientStop>
+            </ai:GradientStops>
+          </ai:Gradient>
+        </ai:Fill>
+      </ai:Path>
+    </ai:PrivateElement>
+  </Private>
+</Graphic>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/fxg/views/fxg2.fxg
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/fxg/views/fxg2.fxg b/mustella/tests/basicTests/fxg/views/fxg2.fxg
new file mode 100644
index 0000000..97a8b76
--- /dev/null
+++ b/mustella/tests/basicTests/fxg/views/fxg2.fxg
@@ -0,0 +1,199 @@
+<?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.
+
+-->
+<Graphic xmlns="http://ns.adobe.com/fxg/2008" version="2.0">
+    <Group x="25" y="25">
+        <Ellipse x="0" height="30" width="30">
+            <fill>
+               <SolidColor color="#CCCCCC" />
+            </fill>
+            <stroke>
+                <SolidColorStroke color="#333333" />
+            </stroke>
+        </Ellipse>
+        <Path x="50" data="M 0 0 L 30 15 L 15 30 z" winding="nonZero">
+            <stroke>
+                <LinearGradientStroke weight="4" caps="square" joints="miter" miterLimit="3">
+                    <GradientEntry color="#0900B2" ratio="0"/>
+                    <GradientEntry color="#FF0000" ratio="0.5"/>
+                    <GradientEntry color="#FFFC00" ratio="1"/>
+                </LinearGradientStroke>
+            </stroke>
+        </Path>
+        <Rect x="100" height="30" width="30">
+            <fill>
+                <RadialGradient focalPointRatio="0.7" rotation="-45.0">
+                    <GradientEntry color="#FFFC00" ratio="0"/>
+                    <GradientEntry color="#FF0000" ratio="0.749999999999"/>
+                    <GradientEntry color="#0900B2" ratio="1"/>
+                </RadialGradient>
+            </fill>
+        </Rect>
+        <Line x="150" xFrom="0" xTo="30" yFrom="0" yTo="30">
+            <stroke>
+               <SolidColorStroke color="#00CC00" weight="8" caps="round" joints="round" />
+            </stroke>
+        </Line>
+    </Group>
+    <Group x="25" y="75">
+        <Rect x="0" height="30" width="30" maskType="clip">
+            <mask>
+                <Group>
+                    <Ellipse height="30" width="30">
+                        <fill>
+                           <SolidColor color="#000000" />
+                        </fill>
+                    </Ellipse>
+                </Group>
+            </mask>
+            <fill>
+                <SolidColor color="#333333" />
+            </fill>
+        </Rect>
+        <Group x="50" maskType="alpha">
+            <mask>
+                <Group>
+                    <Ellipse height="30" width="30">
+                        <fill>
+                            <RadialGradient>
+                                <GradientEntry color="#FF0000" ratio="0" alpha="1"/>
+                                <GradientEntry color="#FF0000" ratio="0.8" alpha="0.3"/>
+                                <GradientEntry color="#FF0000" ratio="1" alpha="0"/>
+                            </RadialGradient>
+                        </fill>
+                    </Ellipse>
+                </Group>
+            </mask>
+            <Path data="M 0 0 L 30 15 L 15 30 z" winding="nonZero">
+                <stroke>
+                    <SolidColorStroke color="#0900B2" weight="4"/>
+                </stroke>
+            </Path>
+        </Group>
+        <Group x="100" maskType="luminosity">
+            <mask>
+                <Group>
+                    <Ellipse height="30" width="30" alpha="0.5">
+                        <fill>
+                            <RadialGradient>
+                                <GradientEntry color="#FF0000" ratio="0" />
+                                <GradientEntry color="#FF0000" ratio="0.8" />
+                                <GradientEntry color="#FF0000" ratio="1" />
+                            </RadialGradient>
+                        </fill>
+                    </Ellipse>
+                </Group>
+            </mask>
+            <Rect height="30" width="30">
+                <fill>
+                    <RadialGradient focalPointRatio="0.7" rotation="-45.0">
+                        <GradientEntry color="#FFFC00" ratio="0"/>
+                        <GradientEntry color="#FF0000" ratio="0.75"/>
+                        <GradientEntry color="#0900B2" ratio="1"/>
+                    </RadialGradient>
+                </fill>
+            </Rect>
+        </Group>
+        <Line x="150" xFrom="0" xTo="30" yFrom="0" yTo="30" maskType="alpha">
+           <mask>
+                <Group>
+                    <Ellipse height="30" width="30">
+                        <fill>
+                            <RadialGradient>
+                                <GradientEntry color="#FF0000" ratio="0" alpha="1"/>
+                                <GradientEntry color="#FF0000" ratio="0.8" alpha="0.3"/>
+                                <GradientEntry color="#FF0000" ratio="1" alpha="0"/>
+                            </RadialGradient>
+                        </fill>
+                    </Ellipse>
+                </Group>
+            </mask>
+            <stroke>
+               <SolidColorStroke color="#00CC00" weight="8" caps="round" joints="round" />
+            </stroke>
+        </Line>
+    </Group>
+    <Group x="25" y="125" blendMode="layer">
+        <Group x="0">
+            <Ellipse height="30" width="30">
+                <fill>
+                   <SolidColor color="#DDCCCC" />
+                </fill>
+            </Ellipse>
+            <Ellipse x="10" height="30" width="30" alpha="0.5" blendMode="difference">
+                <fill>
+                   <SolidColor color="#CCCCDD" />
+                </fill>
+            </Ellipse>
+        </Group>
+        <Group x="50">
+            <Ellipse height="30" width="30">
+                <fill>
+                   <SolidColor color="#0900B2" />
+                </fill>
+            </Ellipse>
+            <Ellipse x="10" height="30" width="30" alpha="0.5" blendMode="invert">
+                <fill>
+                   <SolidColor color="#FFFC00" />
+                </fill>
+            </Ellipse>
+        </Group>
+        <Group x="100">
+            <Ellipse height="30" width="30">
+                <fill>
+                   <SolidColor color="#FFFC00" />
+                </fill>
+            </Ellipse>
+            <Ellipse x="10" height="30" width="30" alpha="0.5" blendMode="darken">
+                <fill>
+                   <SolidColor color="#FF0000" />
+                </fill>
+            </Ellipse>
+        </Group>
+        <Group x="150">
+            <Ellipse height="30" width="30">
+                <fill>
+                   <SolidColor color="#00CC00" />
+                </fill>
+            </Ellipse>
+            <Ellipse x="10" height="30" width="30" alpha="0.5" blendMode="hue">
+                <fill>
+                   <SolidColor color="#000066" />
+                </fill>
+            </Ellipse>
+        </Group>
+    </Group>
+    <RichText x="25" y="175" height="200" width="300" fontFamily="Arial" whiteSpaceCollapse="collapse">
+        <content>
+            <div>
+                <linkNormalFormat>
+                    <TextLayoutFormat color="#0000CC" textDecoration="none"/>
+                </linkNormalFormat>
+                <p><tab /><span fontWeight="bold">FXG 2.0</span> describes
+                an XML-based graphics interchange format for the
+                <a href="http://www.adobe.com/products/flash/">Flash</a>
+                Platform.<br />
+                <span fontSize="12" fontStyle="italic">FXG</span> 
+                contains high-level graphical and text primitives that can
+                be used to create, group, transform and visually modify
+                basic vector and bitmap shapes.</p>
+            </div>
+        </content>
+    </RichText>
+</Graphic>


[09/12] git commit: [flex-asjs] [refs/heads/develop] - changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
changes required to get basictests to compile and not RTE when launched.  Now to get it to actually run some tests


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

Branch: refs/heads/develop
Commit: 1c4ff6c545e3101e113c5d6bd9a9df5043a60b08
Parents: b45e0a3
Author: Alex Harui <ah...@apache.org>
Authored: Wed Feb 26 20:12:21 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Mar 1 21:29:49 2014 -0800

----------------------------------------------------------------------
 build.xml                                       |   25 +-
 .../src/org/apache/flex/core/ContainerBase.as   |  220 ++++
 .../src/org/apache/flex/core/ViewBase.as        |  169 +--
 .../flex/html/staticControls/Container.as       |   14 +-
 mustella/tests/basicTests/BasicTests-config.xml |  102 ++
 mustella/tests/basicTests/BasicTests.css        |  170 +++
 mustella/tests/basicTests/BasicTests.mxml       |  211 ++++
 mustella/tests/basicTests/BasicTestsApp.mxml    |   53 +
 mustella/tests/basicTests/basicImage.jpg        |  Bin 0 -> 2939 bytes
 mustella/tests/basicTests/basicLoader.as        |   70 ++
 .../basicTests/dmv/scripts/ADGTestScript.mxml   |  108 ++
 .../dmv/scripts/ChartsTestScript.mxml           |   89 ++
 .../basicTests/dmv/scripts/ODGTestScript.mxml   |   54 +
 .../tests/basicTests/dmv/views/ADGTests.mxml    |  119 ++
 .../tests/basicTests/dmv/views/ChartsTests.mxml |  138 +++
 .../tests/basicTests/dmv/views/DataIntro.as     |   83 ++
 .../tests/basicTests/dmv/views/ODGTests.mxml    |  152 +++
 .../fxg/scripts/FXG2CompileTestScript.mxml      |   51 +
 .../fxg/scripts/FXGCompileTestScript.mxml       |   52 +
 .../basicTests/fxg/views/FXG2CompileTests.mxml  |   24 +
 .../basicTests/fxg/views/FXGCompileTests.mxml   |   24 +
 mustella/tests/basicTests/fxg/views/bg01.fxg    |  399 +++++++
 mustella/tests/basicTests/fxg/views/fxg2.fxg    |  199 ++++
 .../scripts/GraphicsTagsTestScript.mxml         | 1069 ++++++++++++++++++
 .../GraphicTags_Checkin_Ellipse_bevelFilter.png |  Bin 0 -> 3294 bytes
 .../GraphicTags_Checkin_Ellipse_blurFilter.png  |  Bin 0 -> 3286 bytes
 .../GraphicTags_Checkin_Ellipse_height.png      |  Bin 0 -> 1051 bytes
 .../GraphicTags_Checkin_Ellipse_stroke.png      |  Bin 0 -> 1268 bytes
 .../GraphicTags_Checkin_Ellipse_stroke10.png    |  Bin 0 -> 1410 bytes
 ...raphicTags_Checkin_Ellipse_stroke10Alpha.png |  Bin 0 -> 1884 bytes
 ...aphicTags_Checkin_Ellipse_stroke10Purple.png |  Bin 0 -> 1419 bytes
 .../GraphicTags_Checkin_Ellipse_width.png       |  Bin 0 -> 1051 bytes
 .../baselines/GraphicTags_Checkin_Ellipse_x.png |  Bin 0 -> 1025 bytes
 .../baselines/GraphicTags_Checkin_Ellipse_y.png |  Bin 0 -> 1054 bytes
 ...cTags_Checkin_LinearGradRect_bevelFilter.png |  Bin 0 -> 729 bytes
 ...icTags_Checkin_LinearGradRect_blurFilter.png |  Bin 0 -> 2379 bytes
 ...raphicTags_Checkin_LinearGradRect_height.png |  Bin 0 -> 799 bytes
 ...raphicTags_Checkin_LinearGradRect_stroke.png |  Bin 0 -> 750 bytes
 ...phicTags_Checkin_LinearGradRect_stroke10.png |  Bin 0 -> 828 bytes
 ...ags_Checkin_LinearGradRect_stroke10Alpha.png |  Bin 0 -> 1178 bytes
 ...gs_Checkin_LinearGradRect_stroke10Purple.png |  Bin 0 -> 822 bytes
 ...GraphicTags_Checkin_LinearGradRect_width.png |  Bin 0 -> 951 bytes
 .../GraphicTags_Checkin_LinearGradRect_x.png    |  Bin 0 -> 746 bytes
 .../GraphicTags_Checkin_LinearGradRect_y.png    |  Bin 0 -> 732 bytes
 .../GraphicTags_Checkin_Rect_bevelFilter.png    |  Bin 0 -> 852 bytes
 .../GraphicTags_Checkin_Rect_blurFilter.png     |  Bin 0 -> 778 bytes
 .../GraphicTags_Checkin_Rect_height.png         |  Bin 0 -> 550 bytes
 .../GraphicTags_Checkin_Rect_stroke.png         |  Bin 0 -> 565 bytes
 .../GraphicTags_Checkin_Rect_stroke10.png       |  Bin 0 -> 661 bytes
 .../GraphicTags_Checkin_Rect_stroke10Alpha.png  |  Bin 0 -> 664 bytes
 .../GraphicTags_Checkin_Rect_stroke10Purple.png |  Bin 0 -> 664 bytes
 .../GraphicTags_Checkin_Rect_width.png          |  Bin 0 -> 550 bytes
 .../baselines/GraphicTags_Checkin_Rect_x.png    |  Bin 0 -> 569 bytes
 .../baselines/GraphicTags_Checkin_Rect_y.png    |  Bin 0 -> 553 bytes
 ...heckin_RotatedLinearGradRect_bevelFilter.png |  Bin 0 -> 1023 bytes
 ...Checkin_RotatedLinearGradRect_blurFilter.png |  Bin 0 -> 3202 bytes
 ...ags_Checkin_RotatedLinearGradRect_height.png |  Bin 0 -> 1596 bytes
 ...ags_Checkin_RotatedLinearGradRect_stroke.png |  Bin 0 -> 1023 bytes
 ...s_Checkin_RotatedLinearGradRect_stroke10.png |  Bin 0 -> 1096 bytes
 ...ckin_RotatedLinearGradRect_stroke10Alpha.png |  Bin 0 -> 1745 bytes
 ...kin_RotatedLinearGradRect_stroke10Purple.png |  Bin 0 -> 1100 bytes
 ...Tags_Checkin_RotatedLinearGradRect_width.png |  Bin 0 -> 2403 bytes
 ...phicTags_Checkin_RotatedLinearGradRect_x.png |  Bin 0 -> 1016 bytes
 ...phicTags_Checkin_RotatedLinearGradRect_y.png |  Bin 0 -> 1019 bytes
 ...raphicTags_Checkin_RoundRect_bevelFilter.png |  Bin 0 -> 757 bytes
 ...GraphicTags_Checkin_RoundRect_blurFilter.png |  Bin 0 -> 1739 bytes
 .../GraphicTags_Checkin_RoundRect_height.png    |  Bin 0 -> 757 bytes
 .../GraphicTags_Checkin_RoundRect_stroke.png    |  Bin 0 -> 899 bytes
 .../GraphicTags_Checkin_RoundRect_stroke10.png  |  Bin 0 -> 901 bytes
 ...phicTags_Checkin_RoundRect_stroke10Alpha.png |  Bin 0 -> 1114 bytes
 ...hicTags_Checkin_RoundRect_stroke10Purple.png |  Bin 0 -> 909 bytes
 .../GraphicTags_Checkin_RoundRect_width.png     |  Bin 0 -> 757 bytes
 .../GraphicTags_Checkin_RoundRect_x.png         |  Bin 0 -> 753 bytes
 .../GraphicTags_Checkin_RoundRect_y.png         |  Bin 0 -> 757 bytes
 .../graphics/views/GraphicsTagsTests.mxml       |   33 +
 .../graphics/views/comps/EllipseBasic2.mxml     |   34 +
 .../graphics/views/comps/RectBasic3.mxml        |   34 +
 .../graphics/views/comps/TextGraphicBasic1.mxml |   32 +
 .../halo/scripts/AccordionTestScript.mxml       |   73 ++
 .../halo/scripts/AlertTestScript.mxml           |   84 ++
 .../halo/scripts/ButtonTestScript.mxml          |   61 +
 .../halo/scripts/CheckBoxTestScript.mxml        |   60 +
 .../halo/scripts/CollectionTestScript.mxml      |   77 ++
 .../halo/scripts/ColorPickerTestScript.mxml     |   71 ++
 .../halo/scripts/ComboBoxTestScript.mxml        |   69 ++
 .../halo/scripts/DateFieldTestScript.mxml       |   72 ++
 .../halo/scripts/FTETextTestScript.mxml         |  105 ++
 .../halo/scripts/FocusManagerTestScript.mxml    |   73 ++
 .../halo/scripts/ImageTestScript.mxml           |   59 +
 .../halo/scripts/ListAndDataGridTestScript.mxml |   90 ++
 .../halo/scripts/MXItemRendererTestScript.mxml  |   76 ++
 .../halo/scripts/MenuBarTestScript.mxml         |   85 ++
 .../basicTests/halo/scripts/MenuTestScript.mxml |   91 ++
 .../halo/scripts/NumericStepperTestScript.mxml  |   86 ++
 .../halo/scripts/ProgressBarTestScript.mxml     |   78 ++
 .../halo/scripts/RPCDataBindingTestScript.mxml  |   69 ++
 .../halo/scripts/RadioButtonTestScript.mxml     |   69 ++
 .../halo/scripts/SWFLoaderTestScript.mxml       |   58 +
 .../halo/scripts/SliderTestScript.mxml          |   64 ++
 .../halo/scripts/TabNavigatorTestScript.mxml    |   71 ++
 .../halo/scripts/TextAreaTestScript.mxml        |   62 +
 .../halo/scripts/TextInputTestScript.mxml       |   61 +
 .../basicTests/halo/scripts/TextTestScript.mxml |   72 ++
 .../basicTests/halo/scripts/TreeTestScript.mxml |   68 ++
 .../basicTests/halo/views/AccordionTests.mxml   |   50 +
 .../tests/basicTests/halo/views/AlertTests.mxml |   41 +
 .../basicTests/halo/views/ButtonTests.mxml      |   33 +
 .../basicTests/halo/views/CheckBoxTests.mxml    |   33 +
 .../basicTests/halo/views/CollectionTests.mxml  |   51 +
 .../basicTests/halo/views/ColorPickerTests.mxml |   37 +
 .../basicTests/halo/views/ComboBoxTests.mxml    |   39 +
 .../basicTests/halo/views/DateFieldTests.mxml   |   37 +
 .../basicTests/halo/views/FTETextTests.mxml     |   42 +
 .../halo/views/FocusManagerTests.mxml           |   44 +
 .../tests/basicTests/halo/views/ImageTests.mxml |   39 +
 .../halo/views/ListAndDataGridTests.mxml        |   75 ++
 .../halo/views/ListOfUSStateNames.xml           |   73 ++
 .../halo/views/MXItemRendererTests.mxml         |  122 ++
 .../basicTests/halo/views/MenuBarTests.mxml     |   64 ++
 .../tests/basicTests/halo/views/MenuTests.mxml  |   68 ++
 .../halo/views/NumericStepperTests.mxml         |   37 +
 .../basicTests/halo/views/ProgressBarTests.mxml |   39 +
 .../halo/views/RPCDataBindingTests.mxml         |   43 +
 .../basicTests/halo/views/RadioButtonTests.mxml |   41 +
 .../basicTests/halo/views/SWFLoaderTests.mxml   |   39 +
 .../basicTests/halo/views/SliderTests.mxml      |   41 +
 .../halo/views/TabNavigatorTests.mxml           |   50 +
 .../basicTests/halo/views/TextAreaTests.mxml    |   37 +
 .../basicTests/halo/views/TextInputTests.mxml   |   37 +
 .../tests/basicTests/halo/views/TextTests.mxml  |   42 +
 .../tests/basicTests/halo/views/TreeTests.mxml  |   66 ++
 mustella/tests/basicTests/shim/VBox.as          |   47 +
 .../scripts/AdvancedStyleClientTestScript.mxml  |   67 ++
 .../scripts/AnimateConstraintsTestScript.mxml   |  120 ++
 .../scripts/BorderContainerTestScript.mxml      |   80 ++
 .../spark/scripts/ButtonBarTestScript.mxml      |   63 ++
 .../spark/scripts/ButtonTestScript.mxml         |   61 +
 .../spark/scripts/CheckBoxTestScript.mxml       |   60 +
 .../spark/scripts/CollatorTestScript.mxml       |  147 +++
 .../spark/scripts/ComboBoxTestScript.mxml       |   70 ++
 .../scripts/CurrencyFormatterTestScript.mxml    |  123 ++
 .../scripts/CurrencyValidatorTestScript.mxml    |  107 ++
 .../spark/scripts/DataGridTestScript.mxml       |   92 ++
 .../scripts/DateTimeFormatterTestScript.mxml    |  111 ++
 .../DeferredInstantiationTestScript.mxml        |   62 +
 .../spark/scripts/DesignLayerTestScript.mxml    |   57 +
 .../spark/scripts/DropDownListTestScript.mxml   |   70 ++
 .../spark/scripts/EasingTestScript.mxml         |   80 ++
 .../spark/scripts/FXG2RuntimeTestScript.mxml    |   83 ++
 .../spark/scripts/FormTestScript.mxml           |   65 ++
 .../spark/scripts/ImageTestScript.mxml          |   66 ++
 .../scripts/LayoutDirectionTestScript.mxml      |  193 ++++
 .../spark/scripts/LayoutTestScript.mxml         |  216 ++++
 .../spark/scripts/ListDragDropTestScript.mxml   |  266 +++++
 .../scripts/NumberFormatterTestScript.mxml      |  126 +++
 .../scripts/NumberValidatorTestScript.mxml      |  107 ++
 .../spark/scripts/NumericStepperTestScript.mxml |   89 ++
 .../scripts/PanelControlBarTestScript.mxml      |   67 ++
 .../spark/scripts/RadioButtonTestScript.mxml    |   69 ++
 .../spark/scripts/ScrollBarTestScript.mxml      |   61 +
 .../spark/scripts/SliderTestScript.mxml         |   64 ++
 .../spark/scripts/SortTestScript.mxml           |  105 ++
 .../spark/scripts/StringToolsTestScript.mxml    |   79 ++
 .../spark/scripts/StyleManagerTestScript.mxml   |   60 +
 .../spark/scripts/TextAreaTestScript.mxml       |   60 +
 .../spark/scripts/TextInputTestScript.mxml      |   63 ++
 .../spark/scripts/TileGroupTestScript.mxml      |   65 ++
 .../spark/scripts/TitleWindowTestScript.mxml    |   67 ++
 .../spark/views/AdvancedStyleClientTests.mxml   |   51 +
 .../spark/views/AnimateConstraintsTests.mxml    |  144 +++
 .../spark/views/BorderContainerTests.mxml       |   39 +
 .../basicTests/spark/views/ButtonBarTests.mxml  |   43 +
 .../basicTests/spark/views/ButtonTests.mxml     |   38 +
 .../basicTests/spark/views/CheckBoxTests.mxml   |   37 +
 .../basicTests/spark/views/CollatorTests.mxml   |   37 +
 .../basicTests/spark/views/ComboBoxTests.mxml   |   42 +
 .../spark/views/CurrencyFormatterTests.mxml     |   40 +
 .../spark/views/CurrencyValidatorTests.mxml     |   36 +
 .../basicTests/spark/views/DataGridTests.mxml   |   82 ++
 .../spark/views/DateTimeFormatterTests.mxml     |   50 +
 .../spark/views/DeferredInstantiationTests.mxml |   43 +
 .../spark/views/DesignLayerTests.mxml           |   31 +
 .../spark/views/DropDownListTests.mxml          |   39 +
 .../basicTests/spark/views/EasingTests.mxml     |   67 ++
 .../spark/views/FXG2RuntimeTests.mxml           |   54 +
 .../tests/basicTests/spark/views/FormTests.mxml |   60 +
 .../basicTests/spark/views/HelloWorld.mxml      |  182 +++
 .../basicTests/spark/views/ImageTests.mxml      |   35 +
 .../spark/views/LayoutDirectionTests.mxml       |   33 +
 .../basicTests/spark/views/LayoutTests.mxml     |   30 +
 .../spark/views/ListDragDropTests.mxml          |   67 ++
 .../spark/views/NumberFormatterTests.mxml       |   40 +
 .../spark/views/NumberValidatorTests.mxml       |   36 +
 .../spark/views/NumericStepperTests.mxml        |   37 +
 .../spark/views/PanelControlBarTests.mxml       |   52 +
 .../spark/views/RadioButtonTests.mxml           |   49 +
 .../basicTests/spark/views/ScrollBarTests.mxml  |   42 +
 .../basicTests/spark/views/SliderTests.mxml     |   41 +
 .../tests/basicTests/spark/views/SortTests.mxml |   64 ++
 .../spark/views/StringToolsTests.mxml           |   35 +
 .../spark/views/StyleManagerModuleTest.mxml     |   34 +
 .../spark/views/StyleManagerTests.mxml          |   49 +
 .../basicTests/spark/views/TextAreaTests.mxml   |   37 +
 .../basicTests/spark/views/TextInputTests.mxml  |   37 +
 .../basicTests/spark/views/TileGroupTests.mxml  |   48 +
 .../spark/views/TitleWindowTests.mxml           |   46 +
 .../spark/views/styleTest/ADVStyleTestClass.as  |  119 ++
 .../spark/views/styleTest/ADVStyleTestEvent.as  |   42 +
 208 files changed, 12234 insertions(+), 194 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 5418429..aad6e98 100644
--- a/build.xml
+++ b/build.xml
@@ -1151,7 +1151,6 @@
         Tests: The current checkintests that must be run before every checkin
     -->
 
-    <!-- FixMe: add dependency checker and mobile tests -->
     <target name="checkintests" depends="basictests-mustella" description="Run these tests before every checkin" />
     <!--<target name="checkintests" depends="dependencychecker-framework,basictests-mustella,checkintests-mobile" description="Run these tests before every checkin"/-->
     
@@ -1161,7 +1160,7 @@
 
     <target name="basictests-mustella" depends="mustella-setup,basictests"/>
 
-    <target name="mustella-setup" depends="runtime-setup" description="compile mustella java file">
+    <target name="mustella-setup" depends="prebuild,runtime-setup" description="compile mustella java file">
     <!--
         <ant dir="${basedir}/mustella" target="makemustellaswc">
             <property name="use_mustella_framework_dir" value="false"/>
@@ -1208,20 +1207,20 @@
     <target name="load-task" depends="runtime-setup">
         <!-- load the <mxmlc> task; we can't do this at the <project> level -->
         <!-- because targets that run before flexTasks.jar gets built would fail -->
-        <taskdef resource="flexTasks.tasks" classpath="${basedir}/lib/flexTasks.jar"/>
+        <taskdef resource="flexTasks.tasks" classpath="${FALCON_HOME}/lib/falcon-flexTasks.jar"/>
     </target>
 
     <target name="basictests" depends="load-task" description="run basic tests using mustella">
 
-        <!-- compile the basic tests
+        <property name="FLEX_HOME" value="${basedir}" />
         <mxmlc fork="true"
-               file="${basedir}/frameworks/tests/basicTests/BasicTests.mxml">
+               file="${basedir}/mustella/tests/basicTests/BasicTestsApp.mxml">
             <jvmarg line="${mxmlc.jvm.args}"/>
+            <arg line="-compiler.mxml.children-as-data=true" />
             <library-path dir="${basedir}" append="true">
-                <include name="mustella/mustella.swc"/>
+                <include name="${FLEX_SDK_HOME}/mustella/mustella.swc"/>
             </library-path>
         </mxmlc>
-         -->
         <!-- compile supporting swfs for basic tests
         <mxmlc fork="true"
                file="${basedir}/frameworks/tests/basicTests/basicLoader.as">
@@ -1238,22 +1237,20 @@
             <jvmarg line="${mxmlc.jvm.args}"/>
         </mxmlc>
          -->
-        <!-- run the component smoke
+        <!-- run the component smoke -->
         <echo message="launching player and swf"/>
-        <exec executable="${flash.player}" dir="${basedir}/frameworks" failonerror="true">
-            <arg value="${basedir}/frameworks/tests/basicTests/BasicTests.swf"/>
+        <exec executable="${flash.player}" dir="${basedir}/mustella/tests/basicTests" failonerror="true">
+            <arg value="${basedir}/mustella/tests/basicTests/BasicTestsApp.swf"/>
         </exec>
-          -->
-        <!-- halt if there was an error
+        <!-- halt if there was an error -->
         <antcall target="mustellaresultsparser"/>
-         -->
     </target>
 
     <target name="mustellaresultsparser">
         <java classname="mustella.MustellaResultsParser" failonerror="true">
             <sysproperty key="APPDATA" value="${env.APPDATA}"/>
             <classpath>
-                <pathelement location="${basedir}"/>
+                <pathelement location="${FLEX_SDK_HOME}"/>
             </classpath>
         </java>
     </target>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ContainerBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ContainerBase.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ContainerBase.as
new file mode 100644
index 0000000..f13cfc4
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ContainerBase.as
@@ -0,0 +1,220 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.core
+{
+	import mx.states.State;
+	
+	import org.apache.flex.core.ValuesManager;
+	import org.apache.flex.events.Event;
+	import org.apache.flex.events.ValueChangeEvent;
+	import org.apache.flex.utils.MXMLDataInterpreter;
+
+	[DefaultProperty("mxmlContent")]
+    
+    /**
+     *  The ContainerBase class is the base class for most containers
+     *  in FlexJS.  It is usable as the root tag of MXML
+     *  documents and UI controls and containers are added to it.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+	public class ContainerBase extends UIBase
+	{
+        /**
+         *  Constructor.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function ContainerBase()
+		{
+			super();
+		}
+		
+        /**
+         *  A ContainerBase doesn't create its children until it is added to
+         *  a parent.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		override public function addedToParent():void
+		{
+			// each MXML file can also have styles in fx:Style block
+			ValuesManager.valuesImpl.init(this);
+			
+			MXMLDataInterpreter.generateMXMLProperties(this, mxmlProperties);
+			MXMLDataInterpreter.generateMXMLInstances(this, this, MXMLDescriptor);
+			
+            super.addedToParent();
+            
+			dispatchEvent(new Event("initComplete"))
+		}
+		
+        /**
+         *  @copy org.apache.flex.core.Application#MXMLDescriptor
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function get MXMLDescriptor():Array
+		{
+			return null;
+		}
+		
+		private var mxmlProperties:Array ;
+		
+        /**
+         *  @copy org.apache.flex.core.Application#generateMXMLAttributes()
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public function generateMXMLAttributes(data:Array):void
+		{
+			mxmlProperties = data;
+		}
+		
+        /**
+         *  @copy org.apache.flex.core.ItemRendererClassFactory#mxmlContent
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+		public var mxmlContent:Array;
+		
+        private var _states:Array;
+        
+        /**
+         *  The array of view states. These should
+         *  be instances of mx.states.State.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function get states():Array
+        {
+            return _states;
+        }
+
+        /**
+         *  @private
+         */
+        public function set states(value:Array):void
+        {
+            _states = value;
+			try{
+				if (getBeadByType(IStatesImpl) == null)
+					addBead(new (ValuesManager.valuesImpl.getValue(this, "iStatesImpl")) as IBead);
+			}
+			//TODO:  Need to handle this case more gracefully
+			catch(e:Error)
+			{
+				trace(e.message);
+			}
+            
+        }
+        
+        /**
+         *  <code>true</code> if the array of states
+         *  contains a state with this name.
+         * 
+         *  @param state The state namem.
+         *  @return True if state in state array
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function hasState(state:String):Boolean
+        {
+            for each (var s:State in _states)
+            {
+                if (s.name == state)
+                    return true;
+            }
+            return false;
+        }
+        
+        private var _currentState:String;
+        
+        /**
+         *  The name of the current state.
+         * 
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function get currentState():String
+        {
+            return _currentState;   
+        }
+
+        /**
+         *  @private
+         */
+        public function set currentState(value:String):void
+        {
+            var event:ValueChangeEvent = new ValueChangeEvent("currentStateChanged", false, false, _currentState, value)
+            _currentState = value;
+            dispatchEvent(event);
+        }
+        
+        private var _transitions:Array;
+        
+        /**
+         *  The array of transitions.
+         *  
+         *  @langversion 3.0
+         *  @playerversion Flash 10.2
+         *  @playerversion AIR 2.6
+         *  @productversion FlexJS 0.0
+         */
+        public function get transitions():Array
+        {
+            return _transitions;   
+        }
+        
+        /**
+         *  @private
+         */
+        public function set transitions(value:Array):void
+        {
+            _transitions = value;   
+        }
+
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ViewBase.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ViewBase.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ViewBase.as
index d534978..b5ed194 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ViewBase.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/ViewBase.as
@@ -18,12 +18,7 @@
 ////////////////////////////////////////////////////////////////////////////////
 package org.apache.flex.core
 {
-	import mx.states.State;
-	
-	import org.apache.flex.core.ValuesManager;
 	import org.apache.flex.events.Event;
-	import org.apache.flex.events.ValueChangeEvent;
-	import org.apache.flex.utils.MXMLDataInterpreter;
 
     //--------------------------------------
     //  Events
@@ -54,7 +49,7 @@ package org.apache.flex.core
      *  @playerversion AIR 2.6
      *  @productversion FlexJS 0.0
      */
-	public class ViewBase extends UIBase implements IPopUpHost
+	public class ViewBase extends ContainerBase implements IPopUpHost
 	{
         /**
          *  Constructor.
@@ -69,64 +64,6 @@ package org.apache.flex.core
 			super();
 		}
 		
-        /**
-         *  A ViewBase doesn't create its children until it is added to
-         *  a parent, usually the application.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		override public function addedToParent():void
-		{
-			// each MXML file can also have styles in fx:Style block
-			ValuesManager.valuesImpl.init(this);
-			
-			MXMLDataInterpreter.generateMXMLProperties(this, mxmlProperties);
-			MXMLDataInterpreter.generateMXMLInstances(this, this, MXMLDescriptor);
-			
-			dispatchEvent(new Event("initComplete"))
-		}
-		
-        /**
-         *  @copy org.apache.flex.core.Application#MXMLDescriptor
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function get MXMLDescriptor():Array
-		{
-			return null;
-		}
-		
-		private var mxmlProperties:Array ;
-		
-        /**
-         *  @copy org.apache.flex.core.Application#generateMXMLAttributes()
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public function generateMXMLAttributes(data:Array):void
-		{
-			mxmlProperties = data;
-		}
-		
-        /**
-         *  @copy org.apache.flex.core.ItemRendererClassFactory#mxmlContent
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public var mxmlContent:Array;
-		
 		private var _applicationModel:Object;
 		
 		[Bindable("modelChanged")]
@@ -155,109 +92,5 @@ package org.apache.flex.core
             dispatchEvent(new Event("modelChanged"));
         }
 
-        private var _states:Array;
-        
-        /**
-         *  The array of view states. These should
-         *  be instances of mx.states.State.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get states():Array
-        {
-            return _states;
-        }
-
-        /**
-         *  @private
-         */
-        public function set states(value:Array):void
-        {
-            _states = value;
-			try{
-				if (getBeadByType(IStatesImpl) == null)
-					addBead(new (ValuesManager.valuesImpl.getValue(this, "iStatesImpl")) as IBead);
-			}
-			//TODO:  Need to handle this case more gracefully
-			catch(e:Error)
-			{
-				trace(e.message);
-			}
-            
-        }
-        
-        /**
-         *  <code>true</code> if the array of states
-         *  contains a state with this name.
-         * 
-         *  @param state The state namem.
-         *  @return True if state in state array
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function hasState(state:String):Boolean
-        {
-            for each (var s:State in _states)
-            {
-                if (s.name == state)
-                    return true;
-            }
-            return false;
-        }
-        
-        private var _currentState:String;
-        
-        /**
-         *  The name of the current state.
-         * 
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get currentState():String
-        {
-            return _currentState;   
-        }
-
-        /**
-         *  @private
-         */
-        public function set currentState(value:String):void
-        {
-            var event:ValueChangeEvent = new ValueChangeEvent("currentStateChanged", false, false, _currentState, value)
-            _currentState = value;
-            dispatchEvent(event);
-        }
-        
-        private var _transitions:Array;
-        
-        /**
-         *  The array of transitions.
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-        public function get transitions():Array
-        {
-            return _transitions;   
-        }
-        
-        /**
-         *  @private
-         */
-        public function set transitions(value:Array):void
-        {
-            _transitions = value;   
-        }
-
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/Container.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/Container.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/Container.as
index d77d9cd..f9450b1 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/Container.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/staticControls/Container.as
@@ -24,7 +24,7 @@ package org.apache.flex.html.staticControls
 	import org.apache.flex.core.IChrome;
 	import org.apache.flex.core.IContainer;
 	import org.apache.flex.core.IUIBase;
-	import org.apache.flex.core.UIBase;
+	import org.apache.flex.core.ContainerBase;
 	import org.apache.flex.events.Event;
 	
 	[DefaultProperty("mxmlContent")]
@@ -58,7 +58,7 @@ package org.apache.flex.html.staticControls
      *  @playerversion AIR 2.6
      *  @productversion FlexJS 0.0
      */    
-	public class Container extends UIBase implements IContainer
+	public class Container extends ContainerBase implements IContainer
 	{
         /**
          *  Constructor.
@@ -74,16 +74,6 @@ package org.apache.flex.html.staticControls
 			actualParent = this;
 		}
 		
-        /**
-         *  @copy org.apache.flex.core.ItemRendererClassFactory#mxmlContent
-         *  
-         *  @langversion 3.0
-         *  @playerversion Flash 10.2
-         *  @playerversion AIR 2.6
-         *  @productversion FlexJS 0.0
-         */
-		public var mxmlContent:Array;
-
 		private var actualParent:DisplayObjectContainer;
 		
         /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/BasicTests-config.xml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTests-config.xml b/mustella/tests/basicTests/BasicTests-config.xml
new file mode 100644
index 0000000..e87fca1
--- /dev/null
+++ b/mustella/tests/basicTests/BasicTests-config.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<!--
+
+  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.
+
+-->
+<flex-config>
+    <compiler>
+	    <debug>true</debug>
+    </compiler>
+    <includes>
+    <!--
+    -->
+        <symbol>halo.scripts.ButtonTestScript</symbol>
+        <symbol>halo.scripts.CheckBoxTestScript</symbol>
+        <symbol>halo.scripts.RadioButtonTestScript</symbol>
+        <symbol>halo.scripts.TextInputTestScript</symbol>
+        <symbol>halo.scripts.TextAreaTestScript</symbol>
+        <symbol>halo.scripts.ComboBoxTestScript</symbol>
+        <!--<symbol>halo.scripts.ColorPickerTestScript</symbol>-->
+        <symbol>halo.scripts.NumericStepperTestScript</symbol>
+        <!--<symbol>halo.scripts.DateFieldTestScript</symbol>-->
+        <!--<symbol>halo.scripts.MenuTestScript</symbol>-->
+        <!--<symbol>halo.scripts.MenuBarTestScript</symbol>-->
+        <!--<symbol>halo.scripts.FocusManagerTestScript</symbol>-->
+        <symbol>halo.scripts.ListAndDataGridTestScript</symbol>
+        <!--<symbol>halo.scripts.TreeTestScript</symbol>-->
+        <symbol>halo.scripts.ImageTestScript</symbol>
+        <!--<symbol>halo.scripts.SWFLoaderTestScript</symbol>-->
+        <symbol>halo.scripts.TextTestScript</symbol>
+        <!--<symbol>halo.scripts.FTETextTestScript</symbol>-->
+        <!--<symbol>halo.scripts.ProgressBarTestScript</symbol>-->
+        <symbol>halo.scripts.SliderTestScript</symbol>
+        <symbol>halo.scripts.AlertTestScript</symbol>
+        <!--<symbol>halo.scripts.TabNavigatorTestScript</symbol>-->
+        <!--<symbol>halo.scripts.AccordionTestScript</symbol>-->
+        <!--<symbol>halo.scripts.RPCDataBindingTestScript</symbol>-->
+        <!--<symbol>halo.scripts.CollectionTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ListDragDropTestScript</symbol>-->
+        <!--<symbol>halo.scripts.MXItemRendererTestScript</symbol>-->
+        <!--<symbol>spark.scripts.BorderContainerTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ButtonTestScript</symbol>-->
+        <!--<symbol>spark.scripts.CheckBoxTestScript</symbol>-->
+        <!--<symbol>spark.scripts.EasingTestScript</symbol>-->
+        <!--<symbol>spark.scripts.RadioButtonTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TextInputTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TextAreaTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DesignLayerTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ComboBoxTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DropDownListTestScript</symbol>-->
+        <!--<symbol>spark.scripts.FormTestScript</symbol>-->
+        <!--<symbol>spark.scripts.NumericStepperTestScript</symbol>-->
+        <!--<symbol>spark.scripts.SliderTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ScrollBarTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DeferredInstantiationTestScript</symbol>-->
+        <!--<symbol>spark.scripts.LayoutDirectionTestScript</symbol>-->
+        <!--<symbol>spark.scripts.LayoutTestScript</symbol>-->
+        <!--<symbol>spark.scripts.PanelControlBarTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ButtonBarTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TileGroupTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TitleWindowTestScript</symbol>-->
+        <!--<symbol>graphics.scripts.GraphicsTagsTestScript</symbol>-->
+        <!--<symbol>fxg.scripts.FXGCompileTestScript</symbol>-->
+        <!--<symbol>fxg.scripts.FXG2CompileTestScript</symbol>-->
+        <!--<symbol>spark.scripts.StyleManagerTestScript</symbol>-->
+	    <!--<symbol>spark.scripts.FXG2RuntimeTestScript</symbol>-->
+	    <!--<symbol>dmv.scripts.ADGTestScript</symbol>-->
+	    <!--<symbol>dmv.scripts.ODGTestScript</symbol>-->
+	    <symbol>dmv.scripts.ChartsTestScript</symbol>	
+        <!--<symbol>spark.scripts.AnimateConstraintsTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ImageTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DateTimeFormatterTestScript</symbol>-->
+        <!--<symbol>spark.scripts.AdvancedStyleClientTestScript</symbol>-->
+        <!--<symbol>spark.scripts.NumberFormatterTestScript</symbol>-->
+        <!--<symbol>spark.scripts.StringToolsTestScript</symbol>-->
+        <!--<symbol>spark.scripts.CollatorTestScript</symbol>-->
+        <!--<symbol>spark.scripts.CurrencyFormatterTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DataGridTestScript</symbol>-->
+		<!--<symbol>spark.scripts.CurrencyValidatorTestScript</symbol>-->
+        <!--<symbol>spark.scripts.NumberValidatorTestScript</symbol>-->
+	<!--<symbol>spark.scripts.SortTestScript</symbol>-->
+    <!--
+        From mustella.swc
+    -->
+        <symbol>ExitWhenDone</symbol>
+        <symbol>SetShowRTE</symbol>
+        <symbol>SendFormattedResultsToLog</symbol>
+    </includes>
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/BasicTests.css
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTests.css b/mustella/tests/basicTests/BasicTests.css
new file mode 100644
index 0000000..1c62545
--- /dev/null
+++ b/mustella/tests/basicTests/BasicTests.css
@@ -0,0 +1,170 @@
+/*
+ *
+ *  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.
+ *
+ */
+
+/*
+ @namespace "library://ns.adobe.com/flex/spark";
+ */
+@namespace mx "library://ns.apache.org/flexjs/basic";
+@namespace my "shim.*";
+
+.global {
+    font-family:"Tahoma";
+    font-size:11px;
+    color:#222222;
+}
+
+.appTitle {
+    font-weight:bold;
+    font-size:16px;
+}
+
+mx|ViewBase {
+/*	background-image: "";
+    theme-color:#CC6600;   */
+    selection-color:#D0DFE6;
+    roll-over-color:#E6F0F3;
+    background-color:#FFFFFF;
+    font-family: Verdana;
+}
+
+
+
+mx|Panel {
+/*    header-colors: #FAEED1, #E3C38D;
+    footer-colors: #F4DBB0, #E3C38D;  */
+    corner-radius:10;
+/*    drop-shadow: true;
+    shadow-distance:6;  */
+    margin-top:0;
+    margin-left:0;
+    margin-right:0;
+    margin-bottom:0;
+}
+
+
+
+mx|Button {
+    color: #FFFFFF;
+    disabled-color: #999999;
+    text-roll-over-color: #FFFFFF;
+    font-family:"Verdana";
+    font-size: 9px;
+    font-weight: "bold";
+/*    fill-colors: #C86336, #763322;  */
+    corner-radius:8;
+/*    border-color: #854230;
+    border-thickness:3;  */
+	foo: 42;  /* This should not cause a warning or error. */
+}
+
+
+mx|CheckBox {
+    color: #000000;
+    font-size: 10px;
+    font-weight: "normal";
+}
+
+mx|RadioButton {
+    color: #000000;
+    font-size: 10px;
+    font-weight: "normal";
+}
+
+
+
+mx|DataGrid {
+    alternating-row-colors:#FFFCEC,#FFF6E2;
+    border-style:"solid";
+    border-color:#CCCCCC;
+    header-color:#FAEED1;
+    v-grid-line-color:#CCCCCC;
+    color:#111111;
+    font-size:9px;
+    text-indent:4;
+}
+
+
+
+
+mx|ComboBox {
+    color: #111111;
+    text-roll-over-color: #111111;
+    font-size:9px;
+    font-weight: "bold";
+/*    fill-colors: #FFFFFF, #C2CCCF;  */
+    background-color: #FFFCEC;
+    corner-radius: 7;
+/*    border-thickness: 1;
+    border-color: #854230;  */
+    margin-left: 6;
+    selection-color:#f5dcb2;
+    roll-over-color:#faeed1;
+
+}
+
+
+my|HSlider {
+/*    fill-colors: #FFFFFF, #C2CCCF;
+    track-colors: #FAEED1, #E3C38D;
+    border-color: #666666;  */
+    tick-color: #666666;
+    label-offset: -3;
+    tick-offset: -3;
+    track-highlight: true;
+}
+
+/*
+mx|Menu {
+	openDuration: 250;
+}
+*/
+
+/*
+Apache Flex: requires rideau.jar which is not open-source 
+
+@font-face {
+	src: url("BickhamScriptPro-Regular.otf");
+	fontFamily: "TestFont";
+	embedAsCFF: true;
+}
+
+*/
+
+/*
+TextInput {
+/*    font-family:"TestFont";  */
+/*    paddingTop: 5;
+
+}
+*/
+
+my|VBox {
+    IBeadLayout: ClassReference("org.apache.flex.html.staticControls.beads.layouts.NonVirtualVerticalLayout");
+}
+
+/*
+@media (os-platform: "Android") and (application-dpi: 160)
+{
+    mx|ComboBox 
+    {
+        color: #111111;
+        fontSize:9px;
+    }
+}
+*/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/BasicTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTests.mxml b/mustella/tests/basicTests/BasicTests.mxml
new file mode 100644
index 0000000..7ed2c74
--- /dev/null
+++ b/mustella/tests/basicTests/BasicTests.mxml
@@ -0,0 +1,211 @@
+<?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.
+
+-->
+<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:basic="library://ns.apache.org/flexjs/basic" 
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:haloviews="halo.views.*"
+    xmlns:sparkviews="spark.views.*"
+    xmlns:graphicsviews="graphics.views.*"
+    xmlns:fxgviews="fxg.views.*"
+    xmlns:dmvviews="dmv.views.*"
+    height="800" width="1000"
+    >
+
+    <!-- Style sheet used in this application -->
+    <fx:Style source="BasicTests.css"/>
+
+    <!--  STEP 1: Add a state for your test here -->
+    <basic:states>
+        <mx:State name="basicTest" />
+        <mx:State name="haloButtonTest" />
+        <mx:State name="haloCheckBoxTest" />
+        <mx:State name="haloRadioButtonTest" />
+        <mx:State name="haloTextInputTest" />
+        <mx:State name="haloTextAreaTest" />
+        <mx:State name="haloComboBoxTest" />
+        <!--<mx:State name="haloColorPickerTest" />-->
+        <mx:State name="haloNumericStepperTest" />
+        <!--<mx:State name="haloDateFieldTest" />-->
+        <!--<mx:State name="haloMenuTest" />-->
+        <!--<mx:State name="haloMenuBarTest" />-->
+        <!--<mx:State name="haloFocusManagerTest" />-->
+        <mx:State name="haloListAndDataGridTest" />
+        <!--<mx:State name="haloTreeTest" />-->
+        <mx:State name="haloImageTest" />
+        <!--<mx:State name="haloSWFLoaderTest" />-->
+        <mx:State name="haloTextTest" />
+        <!--<mx:State name="haloFTETextTest" />-->
+        <!--<mx:State name="haloProgressBarTest" />-->
+        <mx:State name="haloSliderTest" />
+        <!--<mx:State name="haloTabNavigatorTest" />-->
+        <!--<mx:State name="haloAccordionTest" />-->
+        <mx:State name="haloAlertTest" />
+        <!--<mx:State name="haloRPCDataBindingTest" />-->
+        <!--<mx:State name="haloCollectionTest" />-->
+        <!--<mx:State name="dmvADGTest" />-->
+        <!--<mx:State name="dmvODGTest" />-->
+        <!--<mx:State name="dmvChartsTest" />        
+        <!--<mx:State name="sparkListDragDropTest" />-->
+        <!--<mx:State name="sparkBorderContainerTest" />-->
+        <!--<mx:State name="sparkButtonTest" />-->
+        <!--<mx:State name="sparkCheckBoxTest" />-->
+        <!--<mx:State name="sparkAnimateConstraintsTest" />-->
+        <!--<mx:State name="sparkEasingTest" />-->
+        <!--<mx:State name="sparkRadioButtonTest" />-->
+        <!--<mx:State name="sparkTextInputTest" />-->
+        <!--<mx:State name="sparkTextAreaTest" />-->
+        <!--<mx:State name="sparkComboBoxTest" />-->
+        <!--<mx:State name="sparkDropDownListTest" />-->
+        <!--<mx:State name="sparkFormTest" />-->
+        <!--<mx:State name="sparkLayoutDirectionTest" />-->
+        <!--<mx:State name="sparkNumericStepperTest" />-->
+        <!--<mx:State name="sparkSliderTest" />-->
+        <!--<mx:State name="sparkScrollBarTest" />-->
+        <!--<mx:State name="sparkDeferredInstantiationTest" />-->
+        <!--<mx:State name="sparkLayoutTest" />-->
+        <!--<mx:State name="sparkPanelControlBarTest" />-->
+        <!--<mx:State name="sparkButtonBarTest" />-->
+        <!--<mx:State name="sparkTileGroupTest" />-->
+        <!--<mx:State name="sparkTitleWindowTest" />-->
+        <!--<mx:State name="sparkVideoPlayerTest" />-->
+        <!--<mx:State name="mxItemRendererTest" />-->
+        <!--<mx:State name="graphicsTagsTest" />-->
+        <!--<mx:State name="fxgCompileTest" />-->
+        <!--<mx:State name="fxg2CompileTest" />-->
+        <!--<mx:State name="designLayerTest" />-->
+        <!--<mx:State name="styleManagerTest" />-->
+        <!--<mx:State name="fxg2RuntimeTest" />-->
+        <!--<mx:State name="imageTest" />-->
+        <!--<mx:State name="sparkDateTimeFormatterTest" />-->
+        <!--<mx:State name="sparkAdvancedStyleClientTest" />-->
+        <!--<mx:State name="sparkNumberFormatterTest" />-->
+        <!--<mx:State name="sparkStringToolsTest" />-->
+        <!--<mx:State name="sparkCollatorTest" />-->
+        <!--<mx:State name="sparkCurrencyFormatterTest" />-->
+        <!--<mx:State name="sparkDataGridTest" />-->
+        <!--<mx:State name="sparkCurrencyValidatorTest" />-->
+        <!--<mx:State name="sparkNumberValidatorTest" />-->
+        <!--<mx:State name="sparkSortTest" /> -->
+    </basic:states>
+    
+    <!--  STEP 2: Add an mxml component with the widgets for your test here -->
+    <haloviews:ButtonTests id="haloButtonTests" includeIn="haloButtonTest" />    
+    <haloviews:CheckBoxTests id="haloCheckBoxTests" includeIn="haloCheckBoxTest" /> 
+<!-- temporary
+    <haloviews:RadioButtonTests id="haloRadioButtonTests" includeIn="haloRadioButtonTest" />    
+    <haloviews:TextInputTests id="haloTextInputTests" includeIn="haloTextInputTest" />    
+    <haloviews:TextAreaTests id="haloTextAreaTests" includeIn="haloTextAreaTest" />    
+    <haloviews:ComboBoxTests id="haloComboBoxTests" includeIn="haloComboBoxTest" />    
+-->
+    <!--<haloviews:ColorPickerTests id="haloColorPickerTests" includeIn="haloColorPickerTest" /> -->    
+<!-- temporary
+    <haloviews:NumericStepperTests id="haloNumericStepperTests" includeIn="haloNumericStepperTest" />    
+-->
+    <!--<haloviews:DateFieldTests id="haloDateFieldTests" includeIn="haloDateFieldTest" />     -->
+    <!--<haloviews:MenuTests id="haloMenuTests" includeIn="haloMenuTest" />     -->
+    <!--<haloviews:MenuBarTests id="haloMenuBarTests" includeIn="haloMenuBarTest" />     -->
+    <!--<haloviews:FocusManagerTests id="haloFocusManagerTests" includeIn="haloFocusManagerTest" />   -->  
+<!-- temporary
+    <haloviews:ListAndDataGridTests id="haloListAndDataGridTests" includeIn="haloListAndDataGridTest" />    
+-->
+    <!--<haloviews:TreeTests id="haloTreeTests" includeIn="haloTreeTest" />     -->
+<!-- temporary
+    <haloviews:ImageTests id="haloImageTests" includeIn="haloImageTest" />    
+-->
+    <!--<haloviews:SWFLoaderTests id="haloSWFLoaderTests" includeIn="haloSWFLoaderTest" />   -->  
+<!-- temporary
+    <haloviews:TextTests id="haloTextTests" includeIn="haloTextTest" />    
+-->
+    <!--<haloviews:FTETextTests id="haloFTETextTests" includeIn="haloFTETextTest" />   -->  
+    <!--<haloviews:ProgressBarTests id="haloProgressBarTests" includeIn="haloProgressBarTest" />   -->  
+<!-- temporary
+    <haloviews:SliderTests id="haloSliderTests" includeIn="haloSliderTest" />    
+-->
+    <!--<haloviews:TabNavigatorTests id="haloTabNavigatorTests" includeIn="haloTabNavigatorTest" />    --> 
+    <!--<haloviews:AccordionTests id="haloAccordionTests" includeIn="haloAccordionTest" />     -->
+    <!--<haloviews:AlertTests id="haloAlertTests" includeIn="haloAlertTest" />
+    <!--<haloviews:RPCDataBindingTests id="haloRPCDataBindingTests" includeIn="haloRPCDataBindingTest" />     -->
+    <!--<haloviews:CollectionTests id="haloCollectionTests" includeIn="haloCollectionTest" /> -->
+    <!--<sparkviews:ListDragDropTests id="sparkListDragDropTests" includeIn="sparkListDragDropTest" /> -->
+    <!--<haloviews:MXItemRendererTests id="mxItemRendererTests" includeIn="mxItemRendererTest" />  -->
+    <!--<sparkviews:BorderContainerTests id="sparkBorderContainerTests" includeIn="sparkBorderContainerTest" />   -->  
+    <!--<sparkviews:ButtonTests id="sparkButtonTests" includeIn="sparkButtonTest" />     -->
+    <!--<sparkviews:CheckBoxTests id="sparkCheckBoxTests" includeIn="sparkCheckBoxTest" />   -->  
+    <!--<sparkviews:EasingTests id="sparkEasingTests" includeIn="sparkEasingTest" />     -->
+    <!--<sparkviews:AnimateConstraintsTests id="sparkAnimateConstraintsTests" includeIn="sparkAnimateConstraintsTest" />     -->
+    <!--<sparkviews:RadioButtonTests id="sparkRadioButtonTests" includeIn="sparkRadioButtonTest" />     -->
+    <!--<sparkviews:TextInputTests id="sparkTextInputTests" includeIn="sparkTextInputTest" />     -->
+    <!--<sparkviews:TextAreaTests id="sparkTextAreaTests" includeIn="sparkTextAreaTest" />     -->
+    <!--<sparkviews:ComboBoxTests id="sparkComboBoxTests" includeIn="sparkComboBoxTest" /> -->
+    <!--<sparkviews:DropDownListTests id="sparkDropDownListTests" includeIn="sparkDropDownListTest" />    --> 
+    <!--<sparkviews:FormTests id="sparkFormTests" includeIn="sparkFormTest" /> -->
+    <!--<sparkviews:LayoutDirectionTests id="sparkLayoutDirectionTests" includeIn="sparkLayoutDirectionTest" />   -->  
+    <!--<sparkviews:NumericStepperTests id="sparkNumericStepperTests" includeIn="sparkNumericStepperTest" />     -->
+    <!--<sparkviews:SliderTests id="sparkSliderTests" includeIn="sparkSliderTest" />     -->
+    <!--<sparkviews:ScrollBarTests id="sparkScrollBarTests" includeIn="sparkScrollBarTest" />    --> 
+    <!--<sparkviews:DeferredInstantiationTests id="sparkDeferredInstantiationTests" includeIn="sparkDeferredInstantiationTest" />   -->  
+    <!--<sparkviews:DesignLayerTests id="designLayerTests" includeIn="designLayerTest" />     -->
+    <!--<sparkviews:TileGroupTests id="sparkTileGroupTests" includeIn="sparkTileGroupTest" />     -->
+    <!--<sparkviews:LayoutTests id="sparkLayoutTests" includeIn="sparkLayoutTest" />     -->
+    <!--<sparkviews:PanelControlBarTests id="sparkPanelControlBarTests" includeIn="sparkPanelControlBarTest" />    --> 
+    <!--<sparkviews:ButtonBarTests id="sparkButtonBarTests" includeIn="sparkButtonBarTest" />     -->
+    <!--<sparkviews:TitleWindowTests id="sparkTitleWindowTests" includeIn="sparkTitleWindowTest" /> -->
+    <!--<graphicsviews:GraphicsTagsTests id="graphicsTagsTests" includeIn="graphicsTagsTest" />     -->
+    <!--<fxgviews:FXGCompileTests id="fxgCompileTests" includeIn="fxgCompileTest" /> -->
+    <!--<fxgviews:FXG2CompileTests id="fxg2CompileTests" includeIn="fxg2CompileTest" />  -->   
+    <!--<sparkviews:StyleManagerTests id="styleManagerTests" includeIn="styleManagerTest" /> -->
+    <!--<sparkviews:FXG2RuntimeTests id="fxg2RuntimeTests" includeIn="fxg2RuntimeTest" /> -->
+    <!--<dmvviews:ADGTests id="dmvADGTests" includeIn="dmvADGTest" /> -->
+    <!--<dmvviews:ODGTests id="dmvODGTests" includeIn="dmvODGTest" /> -->
+<!-- temporary
+    <dmvviews:ChartsTests id="dmvChartsTests" includeIn="dmvChartsTest" />
+-->
+    <!--<sparkviews:ImageTests id="imageTests" includeIn="imageTest" /> -->
+    <!--<sparkviews:DateTimeFormatterTests id="sparkDateTimeFormatterTests" includeIn="sparkDateTimeFormatterTest" /> -->
+    <!--<sparkviews:AdvancedStyleClientTests id="sparkAdvancedStyleClientTests" includeIn="sparkAdvancedStyleClientTest" /> -->
+    <!--<sparkviews:NumberFormatterTests id="sparkNumberFormatterTests" includeIn="sparkNumberFormatterTest" /> -->
+    <!--<sparkviews:StringToolsTests id="sparkStringToolsTests" includeIn="sparkStringToolsTest" /> -->
+    <!--<sparkviews:CollatorTests id="sparkCollatorTests" includeIn="sparkCollatorTest" /> -->
+    <!--<sparkviews:CurrencyFormatterTests id="sparkCurrencyFormatterTests" includeIn="sparkCurrencyFormatterTest" /> -->
+    <!--<sparkviews:DataGridTests id="sparkDataGridTests" includeIn="sparkDataGridTest" /> -->
+    <!--<sparkviews:CurrencyValidatorTests id="sparkCurrencyValidatorTests" includeIn="sparkCurrencyValidatorTest" /> -->
+    <!--<sparkviews:NumberValidatorTests id="sparkNumberValidatorTests" includeIn="sparkNumberValidatorTest" /> -->
+    <!--<sparkviews:SortTests id="sparkSortTests" includeIn="sparkSortTest" /> -->
+	
+
+    <!--  STEP 3: Add the testscript to BasicTests-config.xml -->
+    
+    <!--  STEP 4 (Optional): Debug your state without running tests.
+          a. Rename BasicTests-config.xml to BasicTests-config.sav
+          b. Uncomment the block of components below.
+          c. Re-run basic tests or compile BasicTests.mxml at the command line and run BasicTests.swf.
+          d. Enter the name of the state you want to debug.
+    -->
+
+    <!--
+    <s:Group >
+        <s:layout>
+            <s:HorizontalLayout paddingTop="10" />
+        </s:layout>
+        <mx:Label text="Enter the new state:" />
+        <mx:TextInput id="newStateInput" text="" enter="{currentState=newStateInput.text}" />
+    </s:Group>    
+    -->    
+</basic:ViewBase>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/BasicTestsApp.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTestsApp.mxml b/mustella/tests/basicTests/BasicTestsApp.mxml
new file mode 100644
index 0000000..fa1f8cd
--- /dev/null
+++ b/mustella/tests/basicTests/BasicTestsApp.mxml
@@ -0,0 +1,53 @@
+<?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.
+
+-->
+<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+                   xmlns:local="*"
+                   xmlns:basic="library://ns.apache.org/flexjs/basic" 
+                   xmlns:models="models.*" 
+                   xmlns:controllers="controllers.*"
+                   >
+    <basic:valuesImpl>
+        <basic:SimpleCSSValuesImpl />
+    </basic:valuesImpl>
+    <basic:initialView>
+        <local:BasicTests />
+    </basic:initialView>
+    <!--
+    <basic:model>
+        <models:MyModel />
+    </basic:model>
+    <basic:controller>
+        <controllers:MyController />
+    </basic:controller>
+    <basic:beads>
+        <basic:HTTPService id="service">
+            <basic:LazyCollection id="collection">
+                <basic:inputParser>
+                    <basic:JSONInputParser />
+                </basic:inputParser>
+                <basic:itemConverter>
+                    <local:StockDataJSONItemConverter />
+                </basic:itemConverter> 
+            </basic:LazyCollection>
+        </basic:HTTPService>
+        <basic:ViewSourceContextMenuOption />
+    </basic:beads>
+    -->
+</basic:Application>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/basicImage.jpg
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/basicImage.jpg b/mustella/tests/basicTests/basicImage.jpg
new file mode 100644
index 0000000..98217a1
Binary files /dev/null and b/mustella/tests/basicTests/basicImage.jpg differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/basicLoader.as
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/basicLoader.as b/mustella/tests/basicTests/basicLoader.as
new file mode 100644
index 0000000..4753219
--- /dev/null
+++ b/mustella/tests/basicTests/basicLoader.as
@@ -0,0 +1,70 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package 
+{
+import flash.display.*;
+import flash.text.*;
+import flash.events.Event;
+
+[SWF(backgroundColor="0x0000FF", width="176", height="81")]
+public class basicLoader extends MovieClip
+{
+	private var circle:Sprite;
+	private var text:TextField;
+	
+	public function basicLoader()
+	{
+		super();
+		
+		text = new TextField();
+		text.width = 176;
+		text.height = 81;
+		
+		var tf:TextFormat;
+		tf = new TextFormat;
+		tf.bold = true;
+		tf.font = "Arial";
+		tf.size = "52";
+		
+		text.defaultTextFormat = tf;
+		text.text = "Flex";
+		
+		addChild(text);
+		
+		circle = new Sprite();
+		circle.graphics.beginFill(0xFF9933);
+		circle.graphics.lineStyle(1);
+		circle.graphics.drawCircle(0, 0, 28);
+		circle.graphics.endFill();
+		
+		addChild(circle);
+		
+		addEventListener(Event.ENTER_FRAME, enterFrameHandler);
+	}
+	
+	private function enterFrameHandler(event:Event):void
+	{
+		circle.x = (circle.x + 33) % 236 - 28;
+		circle.y = (circle.y + 33) % 134 - 28;		
+	}
+}
+
+
+}
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/dmv/scripts/ADGTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/scripts/ADGTestScript.mxml b/mustella/tests/basicTests/dmv/scripts/ADGTestScript.mxml
new file mode 100644
index 0000000..d1ad557
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/scripts/ADGTestScript.mxml
@@ -0,0 +1,108 @@
+<?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="SetupADGTest1">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="dmvADGTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="dmvADGTests.testADG.dataProvider" propertyName="length" value="6" />
+				<AssertPropertyValue target="dmvADGTests.testADG2.dataProvider" propertyName="length" value="5" />
+				<AssertPropertyValue target="dmvADGTests.testADG3.dataProvider" propertyName="length" value="9" />
+			</body>
+		</TestCase>
+		<TestCase testID="DragDropADGTest1">
+			<body>
+				<DispatchMouseEvent target="dmvADGTests.testList" type="mouseOver" localX="10" localY="55" />
+				<DispatchMouseEvent target="dmvADGTests.testList" type="mouseDown" localX="10" localY="55" buttonDown="true" />
+ 				<DispatchMouseEvent target="dmvADGTests.testList" type="mouseMove" buttonDown="true" localX="2" localY="55" waitEvent="dragStart" />
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="60"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="80"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="100"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="120"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="140"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="180"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="0" localY="210"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="10" localY="210" waitTarget="dmvADGTests.testADG" waitEvent="dragEnter" />
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="20" localY="230"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="30" localY="230"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseMove" buttonDown="true" localX="40" localY="230" />
+ 				<DispatchMouseEvent target="dmvADGTests" type="mouseUp" localX="40" localY="210" waitTarget="dmvADGTests.testADG" waitEvent="dragDrop" />
+				<AssertEvent target="dmvADGTests.testList" eventName="dragComplete" eventClass="mx.events::DragEvent" />
+				<AssertPropertyValue target="dmvADGTests.testADG.dataProvider" propertyName="length" value="7" />
+			</body>
+		</TestCase>
+		<TestCase testID="ADGAddItemTest">
+			<body>
+				<DispatchMouseEvent target="dmvADGTests.addNodeButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="dmvADGTests.addNodeButton"  localX="10" localY="10" waitEvent="updateComplete" waitTarget="dmvADGTests.testADG2" />
+				<AssertPropertyValue target="dmvADGTests.testADG2.dataProvider" propertyName="length" value="6" />
+			</body>
+		</TestCase>
+		<TestCase testID="ADGItemOpenTest">
+			<body>
+				<DispatchMouseEvent target="dmvADGTests.testADG2" type="mouseOver" localX="10" localY="78" />
+				<DispatchMouseClickEvent target="dmvADGTests.testADG2" localX="10" localY="78" />
+				<AssertEvent target="dmvADGTests.testADG2" eventName="itemOpen" eventClass="mx.events::AdvancedDataGridEvent" />
+				<AssertPropertyValue target="dmvADGTests.testADG2.dataProvider" propertyName="length" value="8" />
+			</body>
+		</TestCase>
+		<TestCase testID="ADGItemCloseTest">
+			<body>
+				<DispatchMouseEvent target="dmvADGTests.testADG3" type="mouseOver" localX="10" localY="78" />
+				<DispatchMouseClickEvent target="dmvADGTests.testADG3" localX="10" localY="78" />
+				<AssertEvent target="dmvADGTests.testADG3" eventName="itemClose" eventClass="mx.events::AdvancedDataGridEvent" />
+				<AssertPropertyValue target="dmvADGTests.testADG3.dataProvider" propertyName="length" value="6" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml b/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
new file mode 100644
index 0000000..69e0683
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
@@ -0,0 +1,89 @@
+<?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="SetupChartTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="dmvChartsTest" 
+                    waitEvent="updateComplete" />
+				<SetProperty target="dmvChartsTests.testColumnChart" propertyName="dataProvider"
+							 valueExpression="value=application.dmvChartsTests.cChartDP()" 
+							 waitEvent="updateComplete" />
+				<SetProperty target="dmvChartsTests.testBarChart" propertyName="dataProvider"
+							 valueExpression="value=application.dmvChartsTests.bChartDP()" 
+							 waitEvent="updateComplete" />
+				<SetProperty target="dmvChartsTests.testPieChart" propertyName="dataProvider"
+							 valueExpression="value=application.dmvChartsTests.pChartDP()" 
+							 waitEvent="updateComplete" />
+
+				<AssertPropertyValue target="dmvChartsTests.testColumnChart.dataProvider" propertyName="length" value="10" />
+				<AssertPropertyValue target="dmvChartsTests.testBarChart.dataProvider" propertyName="length" value="5" />
+				<AssertPropertyValue target="dmvChartsTests.testPieChart.dataProvider" propertyName="length" value="4" />	
+			</body>
+		</TestCase>
+
+		<TestCase testID="TestMinMax">
+			<body>
+				<AssertPropertyValue target="dmvChartsTests.testBarChart.horizontalAxis" propertyName="maximum" value="24" />
+				<AssertPropertyValue target="dmvChartsTests.testColumnChart.verticalAxis" propertyName="maximum" value="28" />
+			</body>
+		</TestCase>
+	
+		<TestCase testID="DragDropChartTest">
+			<body>
+				
+				<DispatchMouseEvent target="dmvChartsTests.testColumnChart" type="mouseOver" localX="95" localY="258" />
+				<DispatchMouseEvent target="dmvChartsTests.testColumnChart" type="mouseDown" localX="95" localY="258" buttonDown="true" />
+ 				<DispatchMouseEvent target="dmvChartsTests.testColumnChart" type="mouseMove" buttonDown="true" localX="98" localY="270"/>
+
+ 				<DispatchMouseEvent target="dmvChartsTests.testPieChart" type="mouseMove" buttonDown="true" localX="192" localY="181"/>
+ 				<DispatchMouseEvent target="dmvChartsTests.testPieChart" type="mouseUp" localX="192" localY="183" 
+									waitEvent="dragDrop" />
+				<AssertPropertyValue target="dmvChartsTests.testColumnChart.dataProvider" propertyName="length" value="10" />
+				<AssertPropertyValue target="dmvChartsTests.testPieChart.dataProvider" propertyName="length" value="5" />
+				<AssertPropertyValue target="dmvChartsTests.testBarChart.dataProvider" propertyName="length" value="5" />
+
+			</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/dmv/scripts/ODGTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/scripts/ODGTestScript.mxml b/mustella/tests/basicTests/dmv/scripts/ODGTestScript.mxml
new file mode 100644
index 0000000..96bb499
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/scripts/ODGTestScript.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.
+
+-->
+<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="ODGTest1">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="dmvODGTest" 
+                    waitEvent="updateComplete" />
+				 <AssertPropertyValue target="dmvODGTests.testODG" propertyName="numChildren" value="3" />
+
+			</body>
+		</TestCase>
+
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/dmv/views/ADGTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/views/ADGTests.mxml b/mustella/tests/basicTests/dmv/views/ADGTests.mxml
new file mode 100644
index 0000000..1865405
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/views/ADGTests.mxml
@@ -0,0 +1,119 @@
+<?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"     
+    initialize="initListComponents()"
+    >
+
+<fx:Script>
+<![CDATA[
+
+    import mx.collections.*;
+    import mx.controls.*;
+    import mx.events.*;
+    import mx.managers.*;
+
+    public var listDP:Array = [
+       { Artist:'Pavement', Album:'Enchanted and Slanted', Price:11.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Rain Crooked, Rain Crooked', Price:10.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Zowee Wowee', Price:12.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Corners the Brighten', Price:11.99, Rating:'Good' },
+       { Artist:'Pavement', Album:'Twilight Terror', Price:11.99, Rating:'Good' },
+       { Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' }
+               ];
+
+    public var adgDP:Array =
+     [
+       { Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Crooked Rain, Crooked Rain', Price:10.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Wowee Zowee', Price:12.99, Rating:'Excellent' },
+       { Artist:'Pavement', Album:'Brighten the Corners', Price:11.99, Rating:'Good' },
+       { Artist:'Pavement', Album:'Terror Twilight', Price:11.99, Rating:'Good' },
+       { Artist:'Other', Album:'Other', Price:5.99, Rating:'Bad' }
+     ];
+     
+     public var treeDP:Array = [ { label: "Inbox", children: [
+                                                    { label: "Personal", data: "personal"},
+                                                    { label: "Marketing", data: "mktg"},
+                                                    { label: "To do", data: "todo"} ]},
+                                                    { label: "Calendar", children: [
+                                                                 { label: "Appointments", data: "appointments"},
+                                                                 { label: "Meetings", data: "meetings"} ]}, 
+                                                    { label: "Sent", data: "sent" },
+                                                    { label: "Deleted Items", data: "deleted" },
+                                                    { label: "Spam", data: "spam" } ];
+
+
+    public function initListComponents():void
+    {
+            testList.dataProvider = listDP;
+            testADG.dataProvider = adgDP;
+            testADG2.dataProvider = new HierarchicalData(treeDP);
+            
+            var gc:GroupingCollection2 = new GroupingCollection2();
+			gc.source = adgDP;
+			var grouping:Grouping = new Grouping();
+			grouping.fields = [new GroupingField("Rating")];
+			gc.grouping = grouping;
+			gc.refresh();
+			
+			testADG3.dataProvider = gc;
+
+    }
+    
+    public function insertItemInADG():void
+    {
+            var c:ICollectionView = ICollectionView(testADG2.dataProvider);
+            var cursor:IViewCursor = c.createCursor();
+            cursor.seek(CursorBookmark.FIRST, 1);
+            cursor.insert({label:'Archive', data:'archive'});
+    }
+
+]]>
+</fx:Script>
+
+    <mx:List id="testList" labelField="Album" dragEnabled="true" dragMoveEnabled="false" />
+
+    <mx:AdvancedDataGrid id="testADG" dropEnabled="true">
+            <mx:columns>
+                        <mx:AdvancedDataGridColumn dataField="Album" headerText="Record" />
+                        <mx:AdvancedDataGridColumn dataField="Price" />
+            </mx:columns>
+    </mx:AdvancedDataGrid>
+    
+    <mx:AdvancedDataGrid id="testADG2">
+            <mx:columns>
+                        <mx:AdvancedDataGridColumn dataField="label" headerText="Label" />
+                        <mx:AdvancedDataGridColumn dataField="data" />
+            </mx:columns>
+    </mx:AdvancedDataGrid>
+
+    <mx:Button id="addNodeButton" label="addNodeAt" click="insertItemInADG()" />
+    
+    <mx:AdvancedDataGrid id="testADG3" displayItemsExpanded="true">
+		<mx:columns>
+			<mx:AdvancedDataGridColumn dataField="Rating" headerText="Rating" />
+			<mx:AdvancedDataGridColumn dataField="Album" />
+		</mx:columns>
+	</mx:AdvancedDataGrid>
+
+</mx:VBox>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/views/ChartsTests.mxml b/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
new file mode 100644
index 0000000..f7a8d99
--- /dev/null
+++ b/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
@@ -0,0 +1,138 @@
+<?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.events.DragEvent;
+      import mx.managers.DragManager;
+      import mx.core.DragSource;
+      import mx.charts.chartClasses.ChartBase;
+
+
+
+      public function cChartDP():ArrayCollection
+	{
+		var dp:ArrayCollection = new ArrayCollection( [
+            { Date: "25-Jul", open: 18.50,  high: 19, close:18.86},
+            { Date: "26-Jul", open: 19.56,  high: 19.98,  close:11.69},                       
+            { Date: "27-Jul", open: 20.81,  high: 20.99,  close:20.12}, 
+            { Date: "28-Jul", open: 20.70,  high: 21.00,  close:23.84}, 
+            { Date: "29-Jul", open: 21.7,  high: 21.79, close:15.6}, 
+            { Date: "1-Aug", open: 22.45,  high: 22.65, close:21.95},
+            { Date: "2-Aug", open: 22.56,  high: 22.6, close:12.98},
+            { Date: "3-Aug", open: 22.42,  high: 22.70, close:23.63},
+            { Date: "4-Aug", open: 21.67,  high: 22.82, close:26.34},
+            { Date: "5-Aug", open: 22.44,  high: 22.85, close:16.31} ]);
+		return dp;
+	}
+
+	public function bChartDP():ArrayCollection
+	{
+		var dp:ArrayCollection = new ArrayCollection( [
+            { Date: "21-Jul", open: 18.50,  high: 19, close:18.86},
+            { Date: "22-Jul", open: 19.56,  high: 19.98,  close:11.69},                       
+            { Date: "23-Jul", open: 20.81,  high: 20.99,  close:20.12}, 
+            { Date: "24-Jul", open: 20.70,  high: 21.00,  close:23.84}, 
+            { Date: "25-Jul", open: 21.7,  high: 21.79, close:15.6} ]);
+		return dp;
+	}
+ 	
+	public function pChartDP():ArrayCollection
+	{
+		var dp:ArrayCollection = new ArrayCollection( [
+            { Date: "6-Aug", open: 22.45,  high: 22.65, close:21.95},
+            { Date: "7-Aug", open: 22.56,  high: 22.6, close:12.98},
+            { Date: "8-Aug", open: 22.42,  high: 22.70, close:23.63},
+            { Date: "9-Aug", open: 21.67,  high: 22.82, close:26.34} ]);
+		return dp;
+	}
+
+    
+      private function doDragEnter(event:DragEvent):void {
+            var dragInitiator:ChartBase=ChartBase(event.currentTarget);
+            DragManager.acceptDragDrop(dragInitiator);
+      }
+
+      private function doDragOver(event:DragEvent):void {
+            if (event.ctrlKey)
+                DragManager.showFeedback(DragManager.COPY);
+            else if (event.shiftKey)
+                DragManager.showFeedback(DragManager.LINK);
+            else
+                DragManager.showFeedback(DragManager.MOVE);
+      }
+
+      private function doDragDrop(event:DragEvent):void {
+            // Get drop target.
+            var dropTarget:ChartBase=ChartBase(event.currentTarget);
+           
+           // Hide drop feedback.
+           //  doDragExit(event);
+              
+           // Get the dragged items from the drag initiator.
+           var items:Array = event.dragSource.dataForFormat("chartitems") as Array;
+               
+               
+           // Add each item to the drop target.
+           for(var i:uint=0; i < items.length; i++)
+           {
+	           dropTarget.dataProvider.addItem(items[i].item);
+           }
+      }
+
+			
+]]>
+</fx:Script>
+<mx:HBox>
+    <mx:ColumnChart id="testColumnChart" dropEnabled="true" dragEnabled="true" selectionMode="single" dragOver="doDragOver(event)">
+		<mx:horizontalAxis>
+			<mx:CategoryAxis categoryField="Date" />
+		</mx:horizontalAxis>
+            <mx:series>
+                        <mx:ColumnSeries id="series1" yField="open"/>
+                        <mx:ColumnSeries id="series2" yField="close" />
+            </mx:series>
+    </mx:ColumnChart>
+
+	 <mx:BarChart id="testBarChart" dropEnabled="true" dragEnabled="true" selectionMode="single" 
+		dragEnter="doDragEnter(event)" dragDrop="doDragDrop(event)" dragOver="doDragOver(event)">
+		<mx:verticalAxis>
+			<mx:CategoryAxis categoryField="Date" />
+		</mx:verticalAxis>
+            <mx:series>
+                        <mx:BarSeries id="bSeries1" xField="open"/>
+                        <mx:BarSeries id="bSeries2" xField="close" />
+            </mx:series>
+    </mx:BarChart>
+
+</mx:HBox>
+	 <mx:PieChart id="testPieChart" dropEnabled="true" dragEnter="doDragEnter(event)" dragDrop="doDragDrop(event)" dragOver="doDragOver(event)">
+            <mx:series>
+                        <mx:PieSeries field="open"/>
+            </mx:series>
+    </mx:PieChart>
+</mx:VBox>
\ No newline at end of file


[11/12] git commit: [flex-asjs] [refs/heads/develop] - BasicTests needs info() structure processing bead for processing mixins

Posted by ah...@apache.org.
BasicTests needs info() structure processing bead for processing mixins


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

Branch: refs/heads/develop
Commit: 84b366817b88bf75e898baf07a401b23545ad423
Parents: 24d2e39
Author: Alex Harui <ah...@apache.org>
Authored: Sat Mar 1 21:27:57 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Mar 1 21:29:51 2014 -0800

----------------------------------------------------------------------
 build.xml                                       |   2 +-
 .../as/projects/FlexJSUI/basic-manifest.xml     |   1 +
 .../src/org/apache/flex/core/Application.as     |  13 ++-
 .../src/org/apache/flex/utils/MixinManager.as   |  81 +++++++++++++++
 mustella/tests/basicTests/BasicTests-config.xml | 102 -------------------
 .../tests/basicTests/BasicTestsApp-config.xml   | 102 +++++++++++++++++++
 mustella/tests/basicTests/BasicTestsApp.mxml    |   9 +-
 7 files changed, 203 insertions(+), 107 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index aad6e98..cbd2c0b 100644
--- a/build.xml
+++ b/build.xml
@@ -1213,7 +1213,7 @@
     <target name="basictests" depends="load-task" description="run basic tests using mustella">
 
         <property name="FLEX_HOME" value="${basedir}" />
-        <mxmlc fork="true"
+        <mxmlc fork="true" debug="true"
                file="${basedir}/mustella/tests/basicTests/BasicTestsApp.mxml">
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="-compiler.mxml.children-as-data=true" />

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/frameworks/as/projects/FlexJSUI/basic-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/basic-manifest.xml b/frameworks/as/projects/FlexJSUI/basic-manifest.xml
index 7a9ace9..2708303 100644
--- a/frameworks/as/projects/FlexJSUI/basic-manifest.xml
+++ b/frameworks/as/projects/FlexJSUI/basic-manifest.xml
@@ -71,5 +71,6 @@
     <component id="NumericOnlyTextInputBead" class="org.apache.flex.html.staticControls.accessories.NumericOnlyTextInputBead" />
     <component id="PasswordInputBead" class="org.apache.flex.html.staticControls.accessories.PasswordInputBead" />
     <component id="TextPromptBead" class="org.apache.flex.html.staticControls.accessories.TextPromptBead" />
+    <component id="MixinManager" class="org.apache.flex.utils.MixinManager" />
 
 </componentPackage>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
index cdf3094..57f658d 100644
--- a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/core/Application.as
@@ -23,6 +23,8 @@ package org.apache.flex.core
     import flash.display.StageAlign;
     import flash.display.StageScaleMode;
     import flash.events.IOErrorEvent;
+    import flash.system.ApplicationDomain;
+    import flash.utils.getQualifiedClassName;
     
     import org.apache.flex.events.Event;
     import org.apache.flex.utils.MXMLDataInterpreter;
@@ -262,6 +264,8 @@ package org.apache.flex.core
             return null;
         }
         
+        private var _info:Object;
+        
         /**
          *  An Object containing information generated
          *  by the compiler that is useful at startup time.
@@ -273,7 +277,14 @@ package org.apache.flex.core
          */
         public function get info():Object
         {
-            return {};           
+            if (!_info)
+            {
+                var mainClassName:String = getQualifiedClassName(this);
+                var initClassName:String = "_" + mainClassName + "_FlexInit";
+                var c:Class = ApplicationDomain.currentDomain.getDefinition(initClassName) as Class;
+                _info = c.info();
+            }
+            return _info;
         }
         
         /**

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MixinManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MixinManager.as b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MixinManager.as
new file mode 100644
index 0000000..b61222e
--- /dev/null
+++ b/frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MixinManager.as
@@ -0,0 +1,81 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////
+package org.apache.flex.utils
+{
+
+import flash.system.ApplicationDomain;
+
+import org.apache.flex.core.IBead;
+import org.apache.flex.core.IFlexInfo;
+import org.apache.flex.core.IStrand;
+
+/**
+ *  The MixinManager class is the class that instantiates mixins
+ *  linked into the application.  Mixins are classes with [Mixin]
+ *  metadata and are often linked in via the -includes option.
+ *  
+ *  @langversion 3.0
+ *  @playerversion Flash 10.2
+ *  @playerversion AIR 2.6
+ *  @productversion FlexJS 0.0
+ */
+public class MixinManager implements IBead
+{
+    /**
+     *  Constructor.
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+    public function MixinManager()
+    {
+        super();
+    }
+    	
+    private var _strand:IStrand;
+    
+    /**
+     *  @copy org.apache.flex.core.IBead#strand
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.6
+     *  @productversion FlexJS 0.0
+     */
+    public function set strand(value:IStrand):void
+    {
+        _strand = value;
+        
+        var app:IFlexInfo = value as IFlexInfo;
+        if (app)
+        {
+            var mixins:Array = app.info.mixins;
+            var domain:ApplicationDomain = app.info.currentDomain;
+            for each (var mixin:String in mixins)
+            {
+                var mixinClass:Object = domain.getDefinition(mixin); 
+                mixinClass.init(value);
+            }
+        }
+    }    
+   
+}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/mustella/tests/basicTests/BasicTests-config.xml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTests-config.xml b/mustella/tests/basicTests/BasicTests-config.xml
deleted file mode 100644
index e87fca1..0000000
--- a/mustella/tests/basicTests/BasicTests-config.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-  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.
-
--->
-<flex-config>
-    <compiler>
-	    <debug>true</debug>
-    </compiler>
-    <includes>
-    <!--
-    -->
-        <symbol>halo.scripts.ButtonTestScript</symbol>
-        <symbol>halo.scripts.CheckBoxTestScript</symbol>
-        <symbol>halo.scripts.RadioButtonTestScript</symbol>
-        <symbol>halo.scripts.TextInputTestScript</symbol>
-        <symbol>halo.scripts.TextAreaTestScript</symbol>
-        <symbol>halo.scripts.ComboBoxTestScript</symbol>
-        <!--<symbol>halo.scripts.ColorPickerTestScript</symbol>-->
-        <symbol>halo.scripts.NumericStepperTestScript</symbol>
-        <!--<symbol>halo.scripts.DateFieldTestScript</symbol>-->
-        <!--<symbol>halo.scripts.MenuTestScript</symbol>-->
-        <!--<symbol>halo.scripts.MenuBarTestScript</symbol>-->
-        <!--<symbol>halo.scripts.FocusManagerTestScript</symbol>-->
-        <symbol>halo.scripts.ListAndDataGridTestScript</symbol>
-        <!--<symbol>halo.scripts.TreeTestScript</symbol>-->
-        <symbol>halo.scripts.ImageTestScript</symbol>
-        <!--<symbol>halo.scripts.SWFLoaderTestScript</symbol>-->
-        <symbol>halo.scripts.TextTestScript</symbol>
-        <!--<symbol>halo.scripts.FTETextTestScript</symbol>-->
-        <!--<symbol>halo.scripts.ProgressBarTestScript</symbol>-->
-        <symbol>halo.scripts.SliderTestScript</symbol>
-        <symbol>halo.scripts.AlertTestScript</symbol>
-        <!--<symbol>halo.scripts.TabNavigatorTestScript</symbol>-->
-        <!--<symbol>halo.scripts.AccordionTestScript</symbol>-->
-        <!--<symbol>halo.scripts.RPCDataBindingTestScript</symbol>-->
-        <!--<symbol>halo.scripts.CollectionTestScript</symbol>-->
-        <!--<symbol>spark.scripts.ListDragDropTestScript</symbol>-->
-        <!--<symbol>halo.scripts.MXItemRendererTestScript</symbol>-->
-        <!--<symbol>spark.scripts.BorderContainerTestScript</symbol>-->
-        <!--<symbol>spark.scripts.ButtonTestScript</symbol>-->
-        <!--<symbol>spark.scripts.CheckBoxTestScript</symbol>-->
-        <!--<symbol>spark.scripts.EasingTestScript</symbol>-->
-        <!--<symbol>spark.scripts.RadioButtonTestScript</symbol>-->
-        <!--<symbol>spark.scripts.TextInputTestScript</symbol>-->
-        <!--<symbol>spark.scripts.TextAreaTestScript</symbol>-->
-        <!--<symbol>spark.scripts.DesignLayerTestScript</symbol>-->
-        <!--<symbol>spark.scripts.ComboBoxTestScript</symbol>-->
-        <!--<symbol>spark.scripts.DropDownListTestScript</symbol>-->
-        <!--<symbol>spark.scripts.FormTestScript</symbol>-->
-        <!--<symbol>spark.scripts.NumericStepperTestScript</symbol>-->
-        <!--<symbol>spark.scripts.SliderTestScript</symbol>-->
-        <!--<symbol>spark.scripts.ScrollBarTestScript</symbol>-->
-        <!--<symbol>spark.scripts.DeferredInstantiationTestScript</symbol>-->
-        <!--<symbol>spark.scripts.LayoutDirectionTestScript</symbol>-->
-        <!--<symbol>spark.scripts.LayoutTestScript</symbol>-->
-        <!--<symbol>spark.scripts.PanelControlBarTestScript</symbol>-->
-        <!--<symbol>spark.scripts.ButtonBarTestScript</symbol>-->
-        <!--<symbol>spark.scripts.TileGroupTestScript</symbol>-->
-        <!--<symbol>spark.scripts.TitleWindowTestScript</symbol>-->
-        <!--<symbol>graphics.scripts.GraphicsTagsTestScript</symbol>-->
-        <!--<symbol>fxg.scripts.FXGCompileTestScript</symbol>-->
-        <!--<symbol>fxg.scripts.FXG2CompileTestScript</symbol>-->
-        <!--<symbol>spark.scripts.StyleManagerTestScript</symbol>-->
-	    <!--<symbol>spark.scripts.FXG2RuntimeTestScript</symbol>-->
-	    <!--<symbol>dmv.scripts.ADGTestScript</symbol>-->
-	    <!--<symbol>dmv.scripts.ODGTestScript</symbol>-->
-	    <symbol>dmv.scripts.ChartsTestScript</symbol>	
-        <!--<symbol>spark.scripts.AnimateConstraintsTestScript</symbol>-->
-        <!--<symbol>spark.scripts.ImageTestScript</symbol>-->
-        <!--<symbol>spark.scripts.DateTimeFormatterTestScript</symbol>-->
-        <!--<symbol>spark.scripts.AdvancedStyleClientTestScript</symbol>-->
-        <!--<symbol>spark.scripts.NumberFormatterTestScript</symbol>-->
-        <!--<symbol>spark.scripts.StringToolsTestScript</symbol>-->
-        <!--<symbol>spark.scripts.CollatorTestScript</symbol>-->
-        <!--<symbol>spark.scripts.CurrencyFormatterTestScript</symbol>-->
-        <!--<symbol>spark.scripts.DataGridTestScript</symbol>-->
-		<!--<symbol>spark.scripts.CurrencyValidatorTestScript</symbol>-->
-        <!--<symbol>spark.scripts.NumberValidatorTestScript</symbol>-->
-	<!--<symbol>spark.scripts.SortTestScript</symbol>-->
-    <!--
-        From mustella.swc
-    -->
-        <symbol>ExitWhenDone</symbol>
-        <symbol>SetShowRTE</symbol>
-        <symbol>SendFormattedResultsToLog</symbol>
-    </includes>
-</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/mustella/tests/basicTests/BasicTestsApp-config.xml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTestsApp-config.xml b/mustella/tests/basicTests/BasicTestsApp-config.xml
new file mode 100644
index 0000000..e87fca1
--- /dev/null
+++ b/mustella/tests/basicTests/BasicTestsApp-config.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0"?>
+<!--
+
+  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.
+
+-->
+<flex-config>
+    <compiler>
+	    <debug>true</debug>
+    </compiler>
+    <includes>
+    <!--
+    -->
+        <symbol>halo.scripts.ButtonTestScript</symbol>
+        <symbol>halo.scripts.CheckBoxTestScript</symbol>
+        <symbol>halo.scripts.RadioButtonTestScript</symbol>
+        <symbol>halo.scripts.TextInputTestScript</symbol>
+        <symbol>halo.scripts.TextAreaTestScript</symbol>
+        <symbol>halo.scripts.ComboBoxTestScript</symbol>
+        <!--<symbol>halo.scripts.ColorPickerTestScript</symbol>-->
+        <symbol>halo.scripts.NumericStepperTestScript</symbol>
+        <!--<symbol>halo.scripts.DateFieldTestScript</symbol>-->
+        <!--<symbol>halo.scripts.MenuTestScript</symbol>-->
+        <!--<symbol>halo.scripts.MenuBarTestScript</symbol>-->
+        <!--<symbol>halo.scripts.FocusManagerTestScript</symbol>-->
+        <symbol>halo.scripts.ListAndDataGridTestScript</symbol>
+        <!--<symbol>halo.scripts.TreeTestScript</symbol>-->
+        <symbol>halo.scripts.ImageTestScript</symbol>
+        <!--<symbol>halo.scripts.SWFLoaderTestScript</symbol>-->
+        <symbol>halo.scripts.TextTestScript</symbol>
+        <!--<symbol>halo.scripts.FTETextTestScript</symbol>-->
+        <!--<symbol>halo.scripts.ProgressBarTestScript</symbol>-->
+        <symbol>halo.scripts.SliderTestScript</symbol>
+        <symbol>halo.scripts.AlertTestScript</symbol>
+        <!--<symbol>halo.scripts.TabNavigatorTestScript</symbol>-->
+        <!--<symbol>halo.scripts.AccordionTestScript</symbol>-->
+        <!--<symbol>halo.scripts.RPCDataBindingTestScript</symbol>-->
+        <!--<symbol>halo.scripts.CollectionTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ListDragDropTestScript</symbol>-->
+        <!--<symbol>halo.scripts.MXItemRendererTestScript</symbol>-->
+        <!--<symbol>spark.scripts.BorderContainerTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ButtonTestScript</symbol>-->
+        <!--<symbol>spark.scripts.CheckBoxTestScript</symbol>-->
+        <!--<symbol>spark.scripts.EasingTestScript</symbol>-->
+        <!--<symbol>spark.scripts.RadioButtonTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TextInputTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TextAreaTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DesignLayerTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ComboBoxTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DropDownListTestScript</symbol>-->
+        <!--<symbol>spark.scripts.FormTestScript</symbol>-->
+        <!--<symbol>spark.scripts.NumericStepperTestScript</symbol>-->
+        <!--<symbol>spark.scripts.SliderTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ScrollBarTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DeferredInstantiationTestScript</symbol>-->
+        <!--<symbol>spark.scripts.LayoutDirectionTestScript</symbol>-->
+        <!--<symbol>spark.scripts.LayoutTestScript</symbol>-->
+        <!--<symbol>spark.scripts.PanelControlBarTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ButtonBarTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TileGroupTestScript</symbol>-->
+        <!--<symbol>spark.scripts.TitleWindowTestScript</symbol>-->
+        <!--<symbol>graphics.scripts.GraphicsTagsTestScript</symbol>-->
+        <!--<symbol>fxg.scripts.FXGCompileTestScript</symbol>-->
+        <!--<symbol>fxg.scripts.FXG2CompileTestScript</symbol>-->
+        <!--<symbol>spark.scripts.StyleManagerTestScript</symbol>-->
+	    <!--<symbol>spark.scripts.FXG2RuntimeTestScript</symbol>-->
+	    <!--<symbol>dmv.scripts.ADGTestScript</symbol>-->
+	    <!--<symbol>dmv.scripts.ODGTestScript</symbol>-->
+	    <symbol>dmv.scripts.ChartsTestScript</symbol>	
+        <!--<symbol>spark.scripts.AnimateConstraintsTestScript</symbol>-->
+        <!--<symbol>spark.scripts.ImageTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DateTimeFormatterTestScript</symbol>-->
+        <!--<symbol>spark.scripts.AdvancedStyleClientTestScript</symbol>-->
+        <!--<symbol>spark.scripts.NumberFormatterTestScript</symbol>-->
+        <!--<symbol>spark.scripts.StringToolsTestScript</symbol>-->
+        <!--<symbol>spark.scripts.CollatorTestScript</symbol>-->
+        <!--<symbol>spark.scripts.CurrencyFormatterTestScript</symbol>-->
+        <!--<symbol>spark.scripts.DataGridTestScript</symbol>-->
+		<!--<symbol>spark.scripts.CurrencyValidatorTestScript</symbol>-->
+        <!--<symbol>spark.scripts.NumberValidatorTestScript</symbol>-->
+	<!--<symbol>spark.scripts.SortTestScript</symbol>-->
+    <!--
+        From mustella.swc
+    -->
+        <symbol>ExitWhenDone</symbol>
+        <symbol>SetShowRTE</symbol>
+        <symbol>SendFormattedResultsToLog</symbol>
+    </includes>
+</flex-config>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/84b36681/mustella/tests/basicTests/BasicTestsApp.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTestsApp.mxml b/mustella/tests/basicTests/BasicTestsApp.mxml
index fa1f8cd..c2fe853 100644
--- a/mustella/tests/basicTests/BasicTestsApp.mxml
+++ b/mustella/tests/basicTests/BasicTestsApp.mxml
@@ -35,8 +35,11 @@ limitations under the License.
     </basic:model>
     <basic:controller>
         <controllers:MyController />
-    </basic:controller>
+    </basic:controller>    
+    -->
     <basic:beads>
+        <basic:MixinManager />
+        <!--
         <basic:HTTPService id="service">
             <basic:LazyCollection id="collection">
                 <basic:inputParser>
@@ -47,7 +50,7 @@ limitations under the License.
                 </basic:itemConverter> 
             </basic:LazyCollection>
         </basic:HTTPService>
-        <basic:ViewSourceContextMenuOption />
-    </basic:beads>
+        <basic:ViewSourceContextMenuOption />    
     -->
+    </basic:beads>
 </basic:Application>
\ No newline at end of file


[10/12] git commit: [flex-asjs] [refs/heads/develop] - don't cache sdk-installer-config for ant_on_air. Also use nightly build for falcon temporarily

Posted by ah...@apache.org.
don't cache sdk-installer-config for ant_on_air. Also use nightly build for falcon temporarily


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

Branch: refs/heads/develop
Commit: 24d2e3988188db81eb85b326c8c096196a079972
Parents: 1c4ff6c
Author: Alex Harui <ah...@apache.org>
Authored: Fri Feb 28 22:05:56 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Mar 1 21:29:50 2014 -0800

----------------------------------------------------------------------
 installer.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/24d2e398/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 2fe681b..4126942 100644
--- a/installer.xml
+++ b/installer.xml
@@ -51,7 +51,8 @@
     <property name="flex.url.path" value="http://archive.apache.org/dist/flex/${flex.sdk.version}/binaries" />
     <property name="flex.url.file" value="apache-flex-sdk-${flex.sdk.version}-bin.zip" />
 
-    <property name="falcon.url.path" value="http://archive.apache.org/dist/flex/falcon/${falcon.version}/binaries" />
+    <property name="falcon.url.path" value="https://builds.apache.org/job/flex-falcon/lastSuccessfulBuild/artifact/out/" />
+    <!--<property name="falcon.url.path" value="http://archive.apache.org/dist/flex/falcon/${falcon.version}/binaries" />-->
     <property name="falcon.url.file" value="apache-flex-falconjx-${falcon.version}-bin.zip" />
     
     <property name="goog.lib.url.path" value="https://closure-library.googlecode.com/files" />
@@ -105,7 +106,8 @@
         </and>
     </condition>
 
-    <target name="get-data" >
+    <target name="get-data">
+        <property name="do-not-cache-next-get" value="true" />
         <get src="${xml.properties}" dest="${basedir}/sdk-installer-config-4.0.xml" />
         <xmlproperty file="${basedir}/sdk-installer-config-4.0.xml" semanticAttributes="true" collapseAttributes="true"/>
         <property name="air.sdk.url.path.ref" value="air.sdk.path.${platform}.${air.sdk.version}" />


[06/12] changes required to get basictests to compile and not RTE when launched. Now to get it to actually run some tests

Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_bevelFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_bevelFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_bevelFilter.png
new file mode 100644
index 0000000..c5580dc
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_bevelFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_blurFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_blurFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_blurFilter.png
new file mode 100644
index 0000000..a14c90e
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_blurFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_height.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_height.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_height.png
new file mode 100644
index 0000000..8586ab3
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_height.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke.png
new file mode 100644
index 0000000..2549b0e
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10.png
new file mode 100644
index 0000000..db1ec6d
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Alpha.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Alpha.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Alpha.png
new file mode 100644
index 0000000..c679f9d
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Alpha.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Purple.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Purple.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Purple.png
new file mode 100644
index 0000000..3871cdd
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_stroke10Purple.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_width.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_width.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_width.png
new file mode 100644
index 0000000..8586ab3
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_width.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_x.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_x.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_x.png
new file mode 100644
index 0000000..4a88757
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_x.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_y.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_y.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_y.png
new file mode 100644
index 0000000..b74cd42
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Ellipse_y.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_bevelFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_bevelFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_bevelFilter.png
new file mode 100644
index 0000000..5584b5f
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_bevelFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_blurFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_blurFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_blurFilter.png
new file mode 100644
index 0000000..2dc717a
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_blurFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_height.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_height.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_height.png
new file mode 100644
index 0000000..34c10c0
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_height.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke.png
new file mode 100644
index 0000000..2e6c402
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10.png
new file mode 100644
index 0000000..df062f2
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Alpha.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Alpha.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Alpha.png
new file mode 100644
index 0000000..5625c61
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Alpha.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Purple.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Purple.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Purple.png
new file mode 100644
index 0000000..f640b99
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_stroke10Purple.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_width.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_width.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_width.png
new file mode 100644
index 0000000..bf473ea
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_width.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_x.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_x.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_x.png
new file mode 100644
index 0000000..0829afa
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_x.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_y.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_y.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_y.png
new file mode 100644
index 0000000..4c7c826
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_LinearGradRect_y.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_bevelFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_bevelFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_bevelFilter.png
new file mode 100644
index 0000000..24b1560
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_bevelFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_blurFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_blurFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_blurFilter.png
new file mode 100644
index 0000000..e03721a
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_blurFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_height.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_height.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_height.png
new file mode 100644
index 0000000..236828b
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_height.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke.png
new file mode 100644
index 0000000..3e77f89
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10.png
new file mode 100644
index 0000000..5987a27
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png
new file mode 100644
index 0000000..e0cbbbb
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Alpha.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Purple.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Purple.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Purple.png
new file mode 100644
index 0000000..e95892b
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_stroke10Purple.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_width.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_width.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_width.png
new file mode 100644
index 0000000..236828b
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_width.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_x.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_x.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_x.png
new file mode 100644
index 0000000..5fddb6a
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_x.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_y.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_y.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_y.png
new file mode 100644
index 0000000..7bfe0ce
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_Rect_y.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_bevelFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_bevelFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_bevelFilter.png
new file mode 100644
index 0000000..bd71d4f
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_bevelFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_blurFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_blurFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_blurFilter.png
new file mode 100644
index 0000000..c94e850
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_blurFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_height.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_height.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_height.png
new file mode 100644
index 0000000..bf8a8cc
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_height.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke.png
new file mode 100644
index 0000000..8cb4d8d
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10.png
new file mode 100644
index 0000000..26d0baa
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Alpha.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Alpha.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Alpha.png
new file mode 100644
index 0000000..6b6f164
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Alpha.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Purple.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Purple.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Purple.png
new file mode 100644
index 0000000..b58985c
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_stroke10Purple.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_width.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_width.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_width.png
new file mode 100644
index 0000000..f0b363b
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_width.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_x.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_x.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_x.png
new file mode 100644
index 0000000..1356c00
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_x.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_y.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_y.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_y.png
new file mode 100644
index 0000000..2615240
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RotatedLinearGradRect_y.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_bevelFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_bevelFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_bevelFilter.png
new file mode 100644
index 0000000..3e802b8
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_bevelFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_blurFilter.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_blurFilter.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_blurFilter.png
new file mode 100644
index 0000000..3cc58b9
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_blurFilter.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_height.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_height.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_height.png
new file mode 100644
index 0000000..3e802b8
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_height.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke.png
new file mode 100644
index 0000000..3e6ac18
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10.png
new file mode 100644
index 0000000..911a96e
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Alpha.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Alpha.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Alpha.png
new file mode 100644
index 0000000..bfc809a
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Alpha.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Purple.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Purple.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Purple.png
new file mode 100644
index 0000000..401dbde
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_stroke10Purple.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_width.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_width.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_width.png
new file mode 100644
index 0000000..3e802b8
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_width.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_x.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_x.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_x.png
new file mode 100644
index 0000000..d075af9
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_x.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_y.png
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_y.png b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_y.png
new file mode 100644
index 0000000..6472510
Binary files /dev/null and b/mustella/tests/basicTests/graphics/scripts/baselines/GraphicTags_Checkin_RoundRect_y.png differ

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/views/GraphicsTagsTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/GraphicsTagsTests.mxml b/mustella/tests/basicTests/graphics/views/GraphicsTagsTests.mxml
new file mode 100644
index 0000000..7ca7a81
--- /dev/null
+++ b/mustella/tests/basicTests/graphics/views/GraphicsTagsTests.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"
+    xmlns:comps="graphics.views.comps.*"
+    width="800" height="700">
+
+    <mx:HBox id="hbox">
+        <comps:EllipseBasic2 id="graphic1" />
+        <comps:RectBasic3 id="graphic2" />
+        <comps:TextGraphicBasic1 id="graphic3" />
+    </mx:HBox>
+
+</s:Group>
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml b/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
new file mode 100644
index 0000000..1cf41a2
--- /dev/null
+++ b/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
@@ -0,0 +1,34 @@
+<?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:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    backgroundColor="#EEEEEE"
+    width="200" height="200">
+
+    <s:Graphic>
+        <s:Ellipse id="ellipse1" x="10" y="10" width="60" height="60">
+                <s:fill>
+                    <s:SolidColor color="red" />
+                </s:fill>
+        </s:Ellipse>
+    </s:Graphic>
+
+</mx:Canvas>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml b/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
new file mode 100644
index 0000000..6c3addc
--- /dev/null
+++ b/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
@@ -0,0 +1,34 @@
+<?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:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    backgroundColor="#EEEEEE"
+    width="200" height="200" >
+
+    <s:Graphic>
+        <s:Rect id="rect1" x="10" y="10" width="60" height="60">
+            <s:fill>
+                <s:SolidColor color="red" />
+            </s:fill>
+        </s:Rect>
+    </s:Graphic>
+
+</mx:Canvas>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml b/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
new file mode 100644
index 0000000..ab7a79e
--- /dev/null
+++ b/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
@@ -0,0 +1,32 @@
+<?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:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns:mx="library://ns.adobe.com/flex/mx"
+    backgroundColor="#EEEEEE"
+    width="200" height="200">
+
+    <s:Graphic>
+        <s:RichText id="textGraphic1" x="10" y="10" width="100" height="100">
+            <s:content>The quick brown fox jumped over the lazy dog.</s:content>
+        </s:RichText>
+    </s:Graphic>
+
+</mx:Canvas>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/AccordionTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/AccordionTestScript.mxml b/mustella/tests/basicTests/halo/scripts/AccordionTestScript.mxml
new file mode 100644
index 0000000..01bf26f
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/AccordionTestScript.mxml
@@ -0,0 +1,73 @@
+<?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="SetupAccordionTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloAccordionTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion" propertyName="numChildren" value="3" />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion" propertyName="selectedIndex" value="0" />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion.selectedChild.getChildAt(0)" propertyName="text" value="This is Page One" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloAccordionTest1">
+			<body>
+				<DispatchMouseEvent target="haloAccordionTests.testAccordion" type="mouseOver" localX="10" localY="230" />
+				<DispatchMouseClickEvent target="haloAccordionTests.testAccordion"  localX="10" localY="230" waitEvent="change" />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion" propertyName="selectedIndex" value="1" />
+				<WaitForEffectsToEnd />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion.selectedChild.getChildAt(0)" propertyName="text" value="This is Page Two" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloAccordionTest2">
+			<body>
+				<DispatchMouseEvent target="haloAccordionTests.testAccordion" type="mouseOver" localX="10" localY="250" />
+				<DispatchMouseClickEvent target="haloAccordionTests.testAccordion"  localX="10" localY="250" waitEvent="change" />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion" propertyName="selectedIndex" value="2" />
+				<WaitForEffectsToEnd />
+				<AssertPropertyValue target="haloAccordionTests.testAccordion.selectedChild.getElementAt(0)" propertyName="text" value="This is Page Three" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/AlertTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/AlertTestScript.mxml b/mustella/tests/basicTests/halo/scripts/AlertTestScript.mxml
new file mode 100644
index 0000000..38861b9
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/AlertTestScript.mxml
@@ -0,0 +1,84 @@
+<?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="SetupAlertTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloAlertTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloAlertTests.alertButton" propertyName="label" value="Show Alert" />
+			</body>
+		</TestCase>
+		<TestCase testID="ShowAlert">
+			<body>
+				<DispatchMouseEvent target="haloAlertTests.alertButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloAlertTests.alertButton"  localX="10" localY="10" waitEvent="effectEnd" waitTarget="" />
+				<AssertPropertyValue target="systemManager.rawChildren.getChildAt(3).mx_internal:alertForm.mx_internal:textField" propertyName="text" value="This is an Alert" />
+			</body>
+		</TestCase>
+		<TestCase testID="VerifyModalWindow">
+			<body>
+				<DispatchMouseEvent target="haloAlertTests.testButton" type="mouseOver" localX="6" localY="6" />
+				<DispatchMouseClickEvent target="haloAlertTests.testButton" localX="6" localY="6" />
+				<!-- verify that modal window obscured app and didn't change label -->
+				<AssertPropertyValue target="haloAlertTests.testLabel" propertyName="text" value="not clicked" />
+			</body>
+		</TestCase>
+		<TestCase testID="VerifyAlertAfterOK">
+			<body>
+				<DispatchMouseEvent target="systemManager.rawChildren.getChildAt(3).mx_internal:alertForm.mx_internal:buttons.0" type="mouseOver" localX="12" localY="10" />
+				<DispatchMouseClickEvent target="systemManager.rawChildren.getChildAt(3).mx_internal:alertForm.mx_internal:buttons.0" localX="12" localY="10" waitEvent="effectEnd" waitTarget="" />
+				<!-- verify that there are two effects as the modal window goes away -->
+				<AssertEvent target="" eventName="effectEnd" eventClass="mx.events::EffectEvent" numExpectedEvents="2" />
+			</body>
+		</TestCase>
+		<TestCase testID="VerifyModalWindowGone">
+			<body>
+				<DispatchMouseEvent target="haloAlertTests.testButton" type="mouseOver" localX="6" localY="6" />
+				<DispatchMouseClickEvent target="haloAlertTests.testButton" localX="6" localY="6" />
+				<!-- verify that modal window is gone and label changed -->
+				<AssertPropertyValue target="haloAlertTests.testLabel" propertyName="text" value="clicked" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml b/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml
new file mode 100644
index 0000000..50792b9
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml
@@ -0,0 +1,61 @@
+<?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="SetupButtonTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloButtonTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloButtonTests.testButton" propertyName="label" value="test button" />
+				<AssertPropertyValue target="haloButtonTests.testLabel" propertyName="text" value="test" />
+			</body>
+		</TestCase>
+		<TestCase testID="ButtonTest1">
+			<body>
+				<DispatchMouseEvent target="haloButtonTests.testButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloButtonTests.testButton" localX="10" localY="10" />
+				<AssertPropertyValue target="haloButtonTests.testLabel" propertyName="text" value="This is a test" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml b/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml
new file mode 100644
index 0000000..b0fa0d0
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.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="SetupCheckBoxTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloCheckBoxTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloCheckBoxTests.testCheckBox" propertyName="label" value="test CheckBox" />
+			</body>
+		</TestCase>
+		<TestCase testID="CheckBoxTest1">
+			<body>
+				<DispatchMouseEvent target="haloCheckBoxTests.testCheckBox" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloCheckBoxTests.testCheckBox" localX="10" localY="10" />
+				<AssertPropertyValue target="haloCheckBoxTests.testCheckBox" propertyName="selected" value="true" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/CollectionTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/CollectionTestScript.mxml b/mustella/tests/basicTests/halo/scripts/CollectionTestScript.mxml
new file mode 100644
index 0000000..e4581a2
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/CollectionTestScript.mxml
@@ -0,0 +1,77 @@
+<?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="SetupCollectionTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloCollectionTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloCollectionTests.testDataGrid" propertyName="dataProvider" valueExpression="value=null" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloCollectionTest1">
+			<body>
+				<DispatchMouseEvent target="haloCollectionTests.loadButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloCollectionTests.loadButton"  localX="10" localY="10" waitEvent="result" waitTarget="haloCollectionTests.svc" />
+				<AssertPropertyValue target="haloCollectionTests.testDataGrid.dataProvider" propertyName="length" value="50" />
+				<AssertPropertyValue target="haloCollectionTests.testDataGrid.mx_internal:rendererArray.2.0" propertyName="text" value="California" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloCollectionTest2">
+			<body>
+				<DispatchMouseEvent target="haloCollectionTests.testDataGrid" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloCollectionTests.testDataGrid" localX="10" localY="10" waitEvent="updateComplete"/>
+				<AssertEvent target="haloCollectionTests.testDataGrid" eventName="headerRelease" eventClass="mx.events::DataGridEvent" />
+				<AssertPropertyValue target="haloCollectionTests.testDataGrid.mx_internal:rendererArray.2.0" propertyName="text" value="Alaska" />
+			</body>
+		</TestCase>
+		<TestCase testID="HaloCollectionTest3">
+			<body>
+				<DispatchMouseEvent target="haloCollectionTests.filterButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloCollectionTests.filterButton"  localX="10" localY="10" waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloCollectionTests.testDataGrid.dataProvider" propertyName="length" value="4" />
+				<AssertPropertyValue target="haloCollectionTests.testDataGrid.mx_internal:rendererArray.2.0" propertyName="text" value="West Virginia" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/ColorPickerTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/ColorPickerTestScript.mxml b/mustella/tests/basicTests/halo/scripts/ColorPickerTestScript.mxml
new file mode 100644
index 0000000..61b877e
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/ColorPickerTestScript.mxml
@@ -0,0 +1,71 @@
+<?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="SetupColorPickerTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloColorPickerTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloColorPickerTests.testColorPicker" propertyName="text" value="" />
+			</body>
+		</TestCase>
+		<TestCase testID="ColorPickerTest1">
+			<body>
+				<DispatchMouseEvent target="haloColorPickerTests.testColorPicker" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloColorPickerTests.testColorPicker" localX="10" localY="10" />
+				<AssertEvent target="haloColorPickerTests.testColorPicker" eventName="open" eventClass="mx.events::DropdownEvent" />
+				<AssertPropertyValue target="haloColorPickerTests.testColorPicker.mx_internal:dropdown" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="ColorPickerTest2">
+			<body>
+				<DispatchMouseEvent target="haloColorPickerTests.testColorPicker.mx_internal:dropdown" type="mouseMove" localX="87" localY="77" />
+				<DispatchMouseEvent target="haloColorPickerTests.testColorPicker.mx_internal:dropdown" type="mouseOver" localX="87" localY="77" />
+				<DispatchMouseClickEvent target="haloColorPickerTests.testColorPicker.mx_internal:dropdown" localX="87" localY="77" />
+				<AssertEvent target="haloColorPickerTests.testColorPicker" eventName="close" eventClass="mx.events::DropdownEvent" />
+				<AssertPropertyValue target="haloColorPickerTests.testColorPicker" propertyName="selectedColor" value="0x00FFCC" />
+				<AssertPixelValue target="haloColorPickerTests.testColorPicker" x="10" y="10" value="0x00FFCC" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/ComboBoxTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/ComboBoxTestScript.mxml b/mustella/tests/basicTests/halo/scripts/ComboBoxTestScript.mxml
new file mode 100644
index 0000000..ce0f412
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/ComboBoxTestScript.mxml
@@ -0,0 +1,69 @@
+<?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="SetupComboBoxTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloComboBoxTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloComboBoxTests.testCombo" propertyName="text" value="Apples" />
+			</body>
+		</TestCase>
+		<TestCase testID="ComboBoxTest1">
+			<body>
+				<DispatchMouseEvent target="haloComboBoxTests.testCombo" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloComboBoxTests.testCombo" localX="10" localY="10" />
+				<AssertEvent target="haloComboBoxTests.testCombo" eventName="open" eventClass="mx.events::DropdownEvent" />
+				<AssertPropertyValue target="haloComboBoxTests.testCombo.dropdown" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="ComboBoxTest2">
+			<body>
+				<DispatchMouseEvent target="haloComboBoxTests.testCombo.dropdown" type="mouseOver" localX="10" localY="30" />
+				<DispatchMouseClickEvent target="haloComboBoxTests.testCombo.dropdown" localX="10" localY="30" />
+				<AssertEvent target="haloComboBoxTests.testCombo" eventName="close" eventClass="mx.events::DropdownEvent" />
+				<AssertPropertyValue target="haloComboBoxTests.testCombo" propertyName="text" value="Beer" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/DateFieldTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/DateFieldTestScript.mxml b/mustella/tests/basicTests/halo/scripts/DateFieldTestScript.mxml
new file mode 100644
index 0000000..737d08b
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/DateFieldTestScript.mxml
@@ -0,0 +1,72 @@
+<?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="SetupDateFieldTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloDateFieldTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloDateFieldTests.testDateField" propertyName="text" value="" />
+			</body>
+		</TestCase>
+		<TestCase testID="DateFieldTest1">
+			<setup>
+				<SetProperty target="haloDateFieldTests.testDateField" propertyName="selectedDate" valueExpression="value = new Date(2005, 4, 1)" />
+			</setup>
+			<body>
+				<DispatchMouseEvent target="haloDateFieldTests.testDateField" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloDateFieldTests.testDateField" localX="10" localY="10" />
+				<AssertEvent target="haloDateFieldTests.testDateField" eventName="open" eventClass="mx.events::DropdownEvent" />
+				<AssertPropertyValue target="haloDateFieldTests.testDateField.dropdown" propertyName="visible" value="true" />
+			</body>
+		</TestCase>
+		<TestCase testID="DateFieldTest2">
+			<body>
+				<DispatchMouseEvent target="haloDateFieldTests.testDateField.dropdown" type="mouseOver" localX="89" localY="67" />
+				<DispatchMouseClickEvent target="haloDateFieldTests.testDateField.dropdown" localX="89" localY="67" />
+				<AssertEvent target="haloDateFieldTests.testDateField" eventName="close" eventClass="mx.events::DropdownEvent" />
+				<AssertPropertyValue target="haloDateFieldTests.testDateField" propertyName="selectedDate" valueExpression="value = new Date(2005, 4, 4)" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/FTETextTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/FTETextTestScript.mxml b/mustella/tests/basicTests/halo/scripts/FTETextTestScript.mxml
new file mode 100644
index 0000000..fe74478
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/FTETextTestScript.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.text.engine.TextLine;
+        import flash.display.DisplayObjectContainer;
+        import mx.core.ITextInput;
+        import mx.core.IUITextField;
+        import mx.core.mx_internal;
+        
+        use namespace mx_internal;
+        
+        // Return true if the Label has a FTETextField.
+        private function checkLabelTextField():Boolean
+        {
+            var textField:IUITextField = 
+                application.haloFTETextTests.testFTELabel.getTextField();            
+            
+            var className:String = getQualifiedClassName(textField);
+            
+            return className == "mx.core::UIFTETextField";
+        }
+
+        // If text is set there should be at least one TextLine.
+        private function checkLabelTextFieldChild():Boolean
+        {
+            var textField:IUITextField = 
+                application.haloFTETextTests.testFTELabel.getTextField();
+
+            return (textField is DisplayObjectContainer &&
+                    DisplayObjectContainer(textField).numChildren > 0 &&                    
+                    DisplayObjectContainer(textField).getChildAt(0) is TextLine);
+        }
+        
+        // Return true if the NumericStepper has a MXFTETextInput.
+        private function checkNSTextInputField():Boolean
+        {
+            var textInput:ITextInput = 
+                application.haloFTETextTests.testFTENumericStepper.inputField;
+
+            var className:String = getQualifiedClassName(textInput);
+            
+            return className == "mx.controls::MXFTETextInput";
+        }
+	]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="SetupFTETextTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloFTETextTest" 
+                    waitEvent="updateComplete" />
+			</body>
+		</TestCase>
+        
+		<TestCase testID="FTELabelTest">
+			<body>
+                <AssertPropertyValue target="haloFTETextTests.testFTELabel" propertyName="text" value="FTE text" />
+                <AssertMethodValue method="value=checkLabelTextField()" valueExpression="value=true" />
+                <AssertMethodValue method="value=checkLabelTextFieldChild()" valueExpression="value=true" />
+			</body>
+		</TestCase>
+        
+		<TestCase testID="FTENumericStepperTest">
+			<body>
+                <AssertPropertyValue target="haloFTETextTests.testFTENumericStepper" propertyName="value" value="7" />
+                <AssertMethodValue method="value=checkNSTextInputField()" valueExpression="value=true" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/FocusManagerTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/FocusManagerTestScript.mxml b/mustella/tests/basicTests/halo/scripts/FocusManagerTestScript.mxml
new file mode 100644
index 0000000..d232697
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/FocusManagerTestScript.mxml
@@ -0,0 +1,73 @@
+<?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="SetupFocusManagerTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloFocusManagerTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloFocusManagerTests.testRadio1" propertyName="label" value="test Radio1" />
+				<AssertPropertyValue target="haloFocusManagerTests.testRadio2" propertyName="label" value="test Radio2" />
+			</body>
+		</TestCase>
+		<TestCase testID="TabFocusTest1">
+			<body>
+				<DispatchMouseEvent target="haloFocusManagerTests.testButton" type="mouseOver" localX="10" localY="10" />
+				<DispatchMouseClickEvent target="haloFocusManagerTests.testButton" localX="10" localY="10" />
+				<AssertPropertyValue target="stage" propertyName="focus" valueExpression="value=application.haloFocusManagerTests.testButton" />
+			</body>
+		</TestCase>
+		<TestCase testID="TabFocusTest2">
+			<body>
+				<DispatchKeyEvent key="TAB" />
+				<AssertPropertyValue target="stage" propertyName="focus" valueExpression="value=application.haloFocusManagerTests.testCheckBox" />
+			</body>
+		</TestCase>
+		<TestCase testID="TabFocusTest3">
+			<body>
+				<DispatchKeyEvent key="TAB" />
+				<AssertPropertyValue target="stage" propertyName="focus" valueExpression="value=application.haloFocusManagerTests.testRadio2" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/ImageTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/ImageTestScript.mxml b/mustella/tests/basicTests/halo/scripts/ImageTestScript.mxml
new file mode 100644
index 0000000..3a3143a
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/ImageTestScript.mxml
@@ -0,0 +1,59 @@
+<?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="SetupImageTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloImageTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloImageTests.testImage" propertyName="source" value="basicImage.jpg" />
+			</body>
+		</TestCase>
+		<TestCase testID="ImageTest1">
+			<body>
+				<AssertPropertyValue target="haloImageTests.testImage" propertyName="measuredWidth" value="144" />
+				<AssertPropertyValue target="haloImageTests.testImage" propertyName="measuredHeight" value="44" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml b/mustella/tests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml
new file mode 100644
index 0000000..01dd929
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/ListAndDataGridTestScript.mxml
@@ -0,0 +1,90 @@
+<?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="SetupListAndDataGridTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="haloListAndDataGridTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="haloListAndDataGridTests.testList.dataProvider" propertyName="length" value="6" />
+			</body>
+		</TestCase>
+		<TestCase testID="ListTest1">
+			<body>
+				<DispatchMouseEvent target="haloListAndDataGridTests.testList" type="mouseOver" localX="10" localY="55" />
+				<DispatchMouseClickEvent target="haloListAndDataGridTests.testList" localX="10" localY="55" waitEvent="change"/>
+				<AssertPropertyValue target="haloListAndDataGridTests.testList" propertyName="selectedIndex" value="2" />
+			</body>
+		</TestCase>
+		<TestCase testID="DragDropTest1">
+			<body>
+				<DispatchMouseEvent target="haloListAndDataGridTests.testList" type="mouseOver" localX="10" localY="55" />
+				<DispatchMouseEvent target="haloListAndDataGridTests.testList" type="mouseDown" localX="10" localY="55" buttonDown="true" />
+ 				<DispatchMouseEvent target="haloListAndDataGridTests.testList" type="mouseMove" buttonDown="true" localX="2" localY="55" waitEvent="dragStart" />
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="60"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="80"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="100"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="120"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="140"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="180"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="0" localY="210"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="10" localY="210" waitTarget="haloListAndDataGridTests.testDataGrid" waitEvent="dragEnter" />
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="20" localY="230"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="30" localY="230"
+									waitTarget="mx.managers::DragManager.mx_internal:dragProxy" waitEvent="move"/>
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseMove" buttonDown="true" localX="40" localY="230" />
+ 				<DispatchMouseEvent target="haloListAndDataGridTests" type="mouseUp" localX="40" localY="210" waitTarget="haloListAndDataGridTests.testDataGrid" waitEvent="dragDrop" />
+				<AssertEvent target="haloListAndDataGridTests.testList" eventName="dragComplete" eventClass="mx.events::DragEvent" />
+				<AssertPropertyValue target="haloListAndDataGridTests.testDataGrid.dataProvider" propertyName="length" value="7" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1c4ff6c5/mustella/tests/basicTests/halo/scripts/MXItemRendererTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/halo/scripts/MXItemRendererTestScript.mxml b/mustella/tests/basicTests/halo/scripts/MXItemRendererTestScript.mxml
new file mode 100644
index 0000000..dc64fa9
--- /dev/null
+++ b/mustella/tests/basicTests/halo/scripts/MXItemRendererTestScript.mxml
@@ -0,0 +1,76 @@
+<?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="SetupMXItemRendererTest">
+			<body>
+				<SetProperty target="" propertyName="currentState" value="mxItemRendererTest" 
+                    waitEvent="updateComplete" />
+				<AssertPropertyValue target="mxItemRendererTests.testTree.dataProvider" propertyName="length" value="5" />
+			</body>
+		</TestCase>
+		<TestCase testID="TreeTest1">
+			<body>
+				<DispatchMouseEvent target="mxItemRendererTests.testTree" type="mouseOver" localX="10" localY="36" />
+				<DispatchMouseClickEvent target="mxItemRendererTests.testTree" localX="10" localY="36" />
+				<AssertEvent target="mxItemRendererTests.testTree" eventName="itemOpen" eventClass="mx.events::TreeEvent" />
+				<AssertPropertyValue target="mxItemRendererTests.testTree.mx_internal:wrappedCollection" propertyName="length" value="7" />
+			</body>
+		</TestCase>
+		<TestCase testID="DataGridTest1">
+			<body>
+				<AssertPropertyValue target="mxItemRendererTests.testDataGrid.mx_internal:rendererArray.2.0.album" propertyName="text" value="Crooked Rain, Crooked Rain" />
+				<AssertPropertyValue target="mxItemRendererTests.testDataGrid.mx_internal:rendererArray.2.0.artist" propertyName="text" value="Pavement" />
+			</body>
+		</TestCase>
+		<TestCase testID="DataGridTest2">
+			<body>
+				<DispatchMouseEvent target="mxItemRendererTests.testDataGrid" type="mouseOver" localX="10" localY="56" />
+				<DispatchMouseEvent target="mxItemRendererTests.testDataGrid" type="mouseDown" localX="10" localY="56" />
+				<DispatchMouseEvent target="mxItemRendererTests.testDataGrid" type="mouseUp" localX="10" localY="56" />
+				<AssertEvent target="mxItemRendererTests.testDataGrid" eventName="itemEditBegin" eventClass="mx.events::DataGridEvent" />
+				<AssertPropertyValue target="mxItemRendererTests.testDataGrid.itemEditorInstance.editor" propertyName="text" value="Crooked Rain, Crooked Rain" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>