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:28 UTC

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

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>