incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370323 [3/12] - in /incubator/flex/trunk/mustella/tests/itemRenderers: ./ Assets/ Halo/ Halo/DataGrid/ Halo/DataGrid/SWFs/ Halo/DataGrid/SWFs/assets/ Halo/DataGrid/SWFs/comps/ Halo/DataGrid/SWFs/view/ Halo/DataGrid/baselines/ Halo/DataGri...
Date Tue, 07 Aug 2012 15:39:45 GMT
Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_events.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_events.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_events.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_events.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,162 @@
+<?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 testDir="itemRenderers/Halo/DataGrid/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="dataGrid_customTests.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+		import mx.controls.DataGrid;
+		import data.ListDataAS;
+		import mx.controls.CheckBox;
+		import mx.controls.NumericStepper;
+
+        public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:DataGrid): void
+		{
+			var newDP:ListDataAS = new ListDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+
+	<testCases>
+
+<!-- itemEditBegin test -->
+	         <TestCase testID="itemEditors_event_itemEditBegin" description="Ensure that itemBeginEdit is triggered for cells with custom itemEditors" keywords="[itemEditBegin, Events, DataGrid]">
+	 			<setup>
+	 			    <ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+	 			    <RunCode code="createData(application.dataGrid_basic)" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+	 			   <SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"  />
+	 			   <DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.2.3" localX="5" localY="5" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+	               <AssertEvent eventName="itemEditBegin" eventClass="mx.events::DataGridEvent" target="dataGrid_basic" />
+				   <AssertEventPropertyValue propertyName="columnIndex" value="3" />
+	 			   <!--AssertEventPropertyValue propertyName="dataField" value="quantity" /-->
+	 			   <AssertEventPropertyValue propertyName="rowIndex" value="1" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="dataGrid_basic" />
+	            </body>
+		</TestCase>
+<!-- itemEditBeginning test -->
+	         <TestCase testID="itemEditors_event_itemEditBeginning" description="Ensure that itemEditBeginning is triggered for cells with custom itemEditors" keywords="[itemEditBeginning, Events, DataGrid]">
+	 			<setup>
+	 			    <ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+	 			    <RunCode code="createData(application.dataGrid_basic)" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+	 			   <SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"  />
+	 			   <DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.2.3" localX="5" localY="5" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+	               <AssertEvent eventName="itemEditBegin" eventClass="mx.events::DataGridEvent" target="dataGrid_basic" />
+				   <AssertEventPropertyValue propertyName="columnIndex" value="3" />
+	 			   <!--AssertEventPropertyValue propertyName="dataField" value="quantity" /-->
+	 			   <AssertEventPropertyValue propertyName="rowIndex" value="1" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="dataGrid_basic" />
+	            </body>
+		</TestCase>
+<!-- itemFocusIn test -->
+		<TestCase testID="itemEditors_event_itemFocusIn" description="Ensure that itemFocusIn is triggered for cells with custom itemEditors" keywords="[itemFocusIn , Events, DataGrid]">
+			 <setup>
+			 	<ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	<RunCode code="createData(application.dataGrid_basic)" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 </setup>
+			 <body>
+			 	<SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+			 	<SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	<SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"  />
+			 	<DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.2.3" localX="5" localY="5" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			    <AssertEvent eventName="itemFocusIn" eventClass="mx.events::DataGridEvent" target="dataGrid_basic" />
+				<AssertEventPropertyValue propertyName="columnIndex" value="3" />
+			 	<!--AssertEventPropertyValue propertyName="dataField" value="quantity" /-->
+			 	<AssertEventPropertyValue propertyName="rowIndex" value="1" />
+			 	<DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="dataGrid_basic" />
+			 </body>
+		</TestCase>
+<!-- itemFocusOut test -->
+		<TestCase testID="itemEditors_event_itemFocusOut" description="Ensure that itemFocusOut is triggered for cells with custom itemEditors" keywords="[itemFocusOut, Events, DataGrid]">
+			<setup>
+			 	<ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	<RunCode code="createData(application.dataGrid_basic)" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			</setup>
+			<body>
+			 	<SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+			 	<SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	<SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"  />
+			 	<DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.4.3" localX="5" localY="5" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			    <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="dataGrid_basic" />
+			    <AssertEvent eventName="itemFocusOut" eventClass="mx.events::DataGridEvent" target="dataGrid_basic" />
+				<AssertEventPropertyValue propertyName="columnIndex" value="3" />
+			 	<!--AssertEventPropertyValue propertyName="dataField" value="quantity" /-->
+			 	<AssertEventPropertyValue propertyName="rowIndex" value="3" />
+			</body>
+		</TestCase>
+<!-- itemEndEdit test -->
+	    <TestCase testID="itemEditors_event_itemEditEnd_mouse" description="Ensure that itemEditEnd is triggered for cells with custom itemEditors" keywords="[itemEditEnd, Events, DataGrid]">
+			 	<setup>
+			 	 	<ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	 	<RunCode code="createData(application.dataGrid_basic)" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	</setup>
+			 	<body>
+			 	 	<SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+			 	 	<SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	 	<SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"  />
+			 	 	<DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.2.3" localX="5" localY="5" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	    <DispatchKeyEvent char="4" waitEvent="keyUp" waitTarget="dataGrid_basic" />
+			 	    <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="dataGrid_basic" />
+	                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="dataGrid_basic" />
+			 		<AssertEventPropertyValue propertyName="columnIndex" value="3" />
+			 	 	<AssertEventPropertyValue propertyName="dataField" value="quantity" />
+			 	 	<AssertEventPropertyValue propertyName="rowIndex" value="1" />
+			 </body>
+	    </TestCase>
+	    <TestCase testID="itemEditors_event_itemEditEnd_TAB" description="Ensure that itemEditEnd is triggered for cells with custom itemEditors when you tab" keywords="[itemEditEnd, Events, DataGrid]">
+			 	<setup>
+			 	 	<ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	 	<RunCode code="createData(application.dataGrid_basic)" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	</setup>
+			 	<body>
+			 	 	<SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+			 	 	<SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	 	<SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"  />
+			 	 	<DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.3.3" localX="5" localY="5" waitEvent="updateComplete" waitTarget="dataGrid_basic" />
+			 	    <DispatchKeyEvent char="2" waitEvent="keyUp" waitTarget="dataGrid_basic" />
+			 	    <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="dataGrid_basic" />
+			 	    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="dataGrid_basic" />
+			 		<AssertEventPropertyValue propertyName="columnIndex" value="3" />
+			 	 	<AssertEventPropertyValue propertyName="dataField" value="quantity" />
+			 	 	<AssertEventPropertyValue propertyName="rowIndex" value="2" />
+			 </body>
+	    </TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemEditor.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemEditor.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemEditor.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemEditor.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,233 @@
+<?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 testDir="itemRenderers/Halo/DataGrid/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="dataGrid_itemEditorTests.mxml">
+<!-- NOTE: There are some Pauses in this test before a bitmap compare because the highlight of an itemRenderer seems
+  to take some time to show up and there is no event for me to listen for. Without the Pause, the tests fail intermitently.-->
+    <mx:Script>
+	<![CDATA[
+
+		import data.ListDataAS;
+        import mx.controls.DataGrid;
+
+        private static var dateValue:Date = new Date(2007,4,24);
+		public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:DataGrid): void
+		{
+			var newDP:ListDataAS = new ListDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+
+	<testCases>
+    <!--CheckBox renderer -->
+        <TestCase testID="CheckBoxItemEditor_Basic" description="Edit data in a DataGrid with a CheckBox itemEditor" keywords="[CheckBox, itemEditor]">
+			<setup>
+			    <RunCode code="createData(application.checkDataGrid2);" waitTarget="checkDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="checkDataGrid2" localX="150" localY="50" waitEvent="itemFocusIn" waitTarget="checkDataGrid2" />
+	            <!--Pause timeout="200" /-->
+	            <!--DispatchKeyEvent key="SPACE" waitEvent="keyUp" waitTarget="checkDataGrid2" /-->
+	            <DispatchMouseClickEvent target="checkDataGrid2.itemEditorInstance" localX="5" localY="5" waitEvent="click" waitTarget="checkDataGrid2.itemEditorInstance" />
+	            <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="checkDataGrid2" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="checkDataGrid2"/>
+			    <AssertPropertyValue target="checkDataGrid2.dataProvider.1" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+        <TestCase testID="CheckBoxItemEditor_Scrolling" description="Edit data in a DataGrid with a CheckBox editor and then scroll" keywords="[Scrolling, CheckBox, itemEditors]">
+			<setup>
+			    <ResetComponent target="checkDataGrid2" className="comps.EditorDataGridCheckBox" waitEvent="updateComplete" waitTarget="checkDataGrid2" />
+			    <RunCode code="createData(application.checkDataGrid2);" waitTarget="checkDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="checkDataGrid2" localX="150" localY="50" waitEvent="itemFocusIn" waitTarget="checkDataGrid2" />
+	            <DispatchMouseClickEvent target="checkDataGrid2.itemEditorInstance" localX="5" localY="5" waitEvent="click" waitTarget="checkDataGrid2.itemEditorInstance" />
+	            <DispatchMouseEvent target="checkDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+	            <DispatchMouseEvent target="checkDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="checkDataGrid2" />
+	            <DispatchMouseEvent target="checkDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="checkDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="checkDataGrid2" />
+	            <AssertPropertyValue target="checkDataGrid2.dataProvider.1" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+		 <TestCase testID="CheckBoxItemEditor_VisualCheck" description="Visual Check of a CheckBox CellItemEditor" keywords="[CheckBox, itemEditors]">
+			<setup>
+			   <ResetComponent target="checkDataGrid2" className="comps.EditorDataGridCheckBox"  waitTarget="checkDataGrid2" />
+			   <RunCode code="createData(application.checkDataGrid2);" waitTarget="checkDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <DispatchMouseClickEvent target="checkDataGrid2" localX="150" localY="50" waitEvent="itemFocusIn" waitTarget="checkDataGrid2" />
+			   <!--Pause timeout="200" /-->
+			    <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/checkBoxItemEditor.png" target="checkDataGrid2.mx_internal:rendererArray.2.1" />
+			</body>
+		</TestCase>
+
+<!--NumericStepper renderer-->
+        <TestCase testID="NumericStepperItemEditor_Basic" description="Edit data in a DataGrid with a NumericStepper Editor" keywords="[NumericStepper, itemEditors]">
+			<setup>
+			    <RunCode code="createData(application.nsDataGrid2);" waitTarget="nsDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsDataGrid2" />
+	            <DispatchKeyEvent keys="[UP, UP]" />
+			    <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="nsDataGrid2" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="nsDataGrid2"/>
+			    <AssertPropertyValue target="nsDataGrid2.dataProvider.0" propertyName="quantity" value="2" />
+			</body>
+		</TestCase>
+        <TestCase testID="NumericStepperItemEditor_Scrolling" description="Edit data in a DataGrid with a NumericStepper editor and then scroll" keywords="[Scrolling, NumericStepper, itemEditors]">
+			<setup>
+			    <ResetComponent target="nsDataGrid2" className="comps.EditorDataGridNumericStepper" waitEvent="updateComplete" waitTarget="nsDataGrid2" />
+			    <RunCode code="createData(application.nsDataGrid2);" waitTarget="nsDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsDataGrid2" />
+	            <DispatchKeyEvent keys="[UP, UP, UP]" />
+			    <DispatchMouseEvent target="nsDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+	            <DispatchMouseEvent target="nsDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="nsDataGrid2" />
+	            <DispatchMouseEvent target="nsDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="nsDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="nsDataGrid2" />
+	            <AssertPropertyValue target="nsDataGrid2.dataProvider.0" propertyName="quantity" value="3" />
+			</body>
+		</TestCase>
+		 <TestCase testID="NumericStepperItemEditor_VisualCheck" description="Visual Check of a NumericStepper CellItemEditor" keywords="[NumericStepper, itemEditors]">
+			<setup>
+			   <ResetComponent target="nsDataGrid2" className="comps.EditorDataGridNumericStepper"  waitTarget="nsDataGrid2" />
+			   <RunCode code="createData(application.nsDataGrid2);" waitTarget="nsDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsDataGrid2" />
+	            <!--Pause timeout="200" /-->
+			    <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/numStepperItemEditor.png" target="nsDataGrid2.mx_internal:rendererArray.1.1" />
+			</body>
+		</TestCase>
+		<TestCase testID="AIRNumericStepperItemEditor_VisualCheck" description="Visual Check of a NumericStepper CellItemEditor" keywords="[NumericStepper, itemEditors]">
+			<setup>
+			   <ResetComponent target="nsDataGrid2" className="comps.EditorDataGridNumericStepper"  waitTarget="nsDataGrid2" />
+			   <RunCode code="createData(application.nsDataGrid2);" waitTarget="nsDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsDataGrid2" />
+	            <!--Pause timeout="200" /-->
+			    <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/AIRnumStepperItemEditor.png" target="nsDataGrid2.mx_internal:rendererArray.1.1" />
+			</body>
+		</TestCase>
+<!--DateField renderer-->
+        <TestCase testID="DateFieldItemEditor_Basic" description="Edit data in a DataGrid with a DateField renderer" keywords="[DateField, itemEditors]">
+			<setup>
+			    <RunCode code="createData(application.dateDataGrid2);" waitTarget="dateDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dateDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4"  waitEvent="updateComplete" waitTarget="dateDataGrid2"/>
+	            <DispatchMouseClickEvent target="dateDataGrid2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="dateDataGrid2.itemEditorInstance" />
+	            <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateDataGrid2"/>
+	            <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemFocusIn" waitTarget="dateDataGrid2" />
+	            <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="dateDataGrid2"/>
+	            <AssertPropertyValue target="dateDataGrid2.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+			</body>
+		</TestCase>
+        <TestCase testID="DateFieldItemEditor_Scrolling" description="Edit data in a DataGrid with a DateField renderer and then scroll" keywords="[Scrolling, DateField, itemEditors]">
+			<setup>
+			    <ResetComponent target="dateDataGrid2" className="comps.EditorDataGridDateField" waitEvent="updateComplete" waitTarget="dateDataGrid2" />
+			    <RunCode code="createData(application.dateDataGrid2);" waitTarget="dateDataGrid2"  waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dateDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="dateDataGrid2"/>
+	            <DispatchMouseClickEvent target="dateDataGrid2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="dateDataGrid2.itemEditorInstance" />
+	            <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateDataGrid2"/>
+	            <DispatchKeyEvent key="TAB" waitEvent="itemFocusIn" waitTarget="dateDataGrid2" />
+			    <DispatchMouseEvent target="dateDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+	            <DispatchMouseEvent target="dateDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="dateDataGrid2" />
+	            <DispatchMouseEvent target="dateDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="dateDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="dateDataGrid2" />
+	            <AssertPropertyValue target="dateDataGrid2.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+			</body>
+		</TestCase>
+		 <TestCase testID="DateFieldItemEditor_VisualCheck" description="Visual Check of a DateField CellItemEditor" keywords="[DateField, itemEditors]">
+			<setup>
+			   <ResetComponent target="dateDataGrid2" className="comps.EditorDataGridDateField"  waitTarget="dateDataGrid2" />
+			   <RunCode code="createData(application.dateDataGrid2);" waitTarget="dateDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <DispatchMouseClickEvent target="dateDataGrid2.mx_internal:rendererArray.3.1" localX="4" localY="4" waitEvent="itemEditBegin" waitTarget="dateDataGrid2" />
+	           <!--Pause timeout="200" /-->
+			   <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/dateFieldItemEditor.png" target="dateDataGrid2.mx_internal:rendererArray.3.1" />
+			</body>
+		</TestCase>
+<!--ComboBox renderer-->
+        <TestCase testID="ComboBoxItemEditor_Basic" description="Edit data in a DataGrid with a ComboBox renderer" keywords="[ComboBox, itemEditors]">
+			<setup>
+			    <RunCode code="createData(application.comboDataGrid2);" waitTarget="comboDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="comboDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="comboDataGrid2" />
+	            <DispatchMouseClickEvent target="comboDataGrid2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="comboDataGrid2.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="comboDataGrid2.itemEditorInstance.dropdown" localX="10" localY="42" waitEvent="close" waitTarget="comboDataGrid2.itemEditorInstance" />
+                <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="comboDataGrid2" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="comboDataGrid2"/>
+			    <AssertPropertyValue target="comboDataGrid2.dataProvider.0" propertyName="color" value="Blue" />
+			</body>
+		</TestCase>
+        <TestCase testID="ComboBoxItemEditor_Scrolling" description="Edit data in a DataGrid with a ComboBox renderer and then scroll" keywords="[Scrolling, ComboBox, itemEditors]">
+			<setup>
+			    <ResetComponent target="comboDataGrid2" className="comps.EditorDataGridComboBox" waitEvent="updateComplete" waitTarget="comboDataGrid2" />
+			    <RunCode code="createData(application.comboDataGrid2);" waitTarget="comboDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="comboDataGrid2.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="comboDataGrid2" />
+	            <DispatchMouseClickEvent target="comboDataGrid2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="comboDataGrid2.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="comboDataGrid2.itemEditorInstance.dropdown" localX="10" localY="25" waitEvent="close" waitTarget="comboDataGrid2.itemEditorInstance" />
+                <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="comboDataGrid2" />
+			    <DispatchMouseEvent target="comboDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+	            <DispatchMouseEvent target="comboDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="comboDataGrid2" />
+	            <DispatchMouseEvent target="comboDataGrid2.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="comboDataGrid2.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="comboDataGrid2" />
+	            <AssertPropertyValue target="comboDataGrid2.dataProvider.0" propertyName="color" value="Green" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ComboBoxItemEditor_VisualCheck" description="Visual Check of a ComboBox CellItemEditor" keywords="[ComboBox, itemEditors]">
+			<setup>
+			   <ResetComponent target="comboDataGrid2" className="comps.EditorDataGridComboBox"  waitTarget="comboDataGrid2" />
+			   <RunCode code="createData(application.comboDataGrid2);" waitTarget="comboDataGrid2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <DispatchMouseClickEvent target="comboDataGrid2.mx_internal:rendererArray.2.1" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="comboDataGrid2" />
+			   <!--Pause timeout="200" /-->
+			   <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/comboBoxItemEditor.png" target="comboDataGrid2.mx_internal:rendererArray.2.1" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemRenderer.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemRenderer.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemRenderer.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/DataGrid_itemRenderer.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,268 @@
+<?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 testDir="itemRenderers/Halo/DataGrid/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="dataGrid_itemRendererTests.mxml">
+
+    <mx:Script>
+    <![CDATA[
+
+        import data.ListDataAS;
+        import mx.controls.DataGrid;
+
+        private static var dateValue:Date = new Date(2007,4,24);
+        public static function init(o:DisplayObject):void
+        {
+
+        }
+
+        private function createData(dgTarget:DataGrid): void
+        {
+            var newDP:ListDataAS = new ListDataAS();
+            dgTarget.dataProvider = newDP.myData;
+        }
+
+    ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </mx:Metadata>
+
+    <testCases>
+    <!--CheckBox renderer-->
+        <TestCase testID="CheckBoxRenderer_Basic" description="Edit data in a DataGrid with a CheckBox renderer" keywords="[CheckBox, itemRenderers]">
+            <setup>
+                <RunCode code="createData(application.checkDataGrid);" waitTarget="checkDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="checkDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="checkDataGrid" />
+                <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="checkDataGrid" />
+                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="checkDataGrid"/>
+                <AssertPropertyValue target="checkDataGrid.dataProvider.0" propertyName="available" value="true" />
+            </body>
+        </TestCase>
+        <TestCase testID="CheckBoxRenderer_Scrolling" description="Edit data in a DataGrid with a CheckBox renderer and then scroll" keywords="[Scrolling, CheckBox, itemRenderers]">
+            <setup>
+                <ResetComponent target="checkDataGrid" className="comps.DataGridCheckBox" waitEvent="updateComplete" waitTarget="checkDataGrid" />
+                <RunCode code="createData(application.checkDataGrid);" waitTarget="checkDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="checkDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="checkDataGrid" />
+                <DispatchMouseEvent target="checkDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+                <DispatchMouseEvent target="checkDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="checkDataGrid" />
+                <DispatchMouseEvent target="checkDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+                <DispatchMouseEvent target="checkDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="checkDataGrid" />
+                <AssertPropertyValue target="checkDataGrid.dataProvider.0" propertyName="available" value="true" />
+            </body>
+        </TestCase>
+         <TestCase testID="CheckBoxRenderer_VisualCheck" description="Visual Check of a CheckBox CellRenderer" keywords="[CheckBox, itemRenderers]">
+            <setup>
+               <ResetComponent target="checkDataGrid" className="comps.DataGridCheckBox"  waitTarget="checkDataGrid" />
+               <RunCode code="createData(application.checkDataGrid);" waitTarget="checkDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/checkBoxRenderer.png" target="checkDataGrid.mx_internal:rendererArray.4.1" />
+            </body>
+        </TestCase>
+<!--Button renderer-->
+        <TestCase testID="ButtonRenderer_Basic" description="Edit data in a DataGrid with a Button renderer" keywords="[Button, itemRenderers]">
+            <setup>
+                <RunCode code="createData(application.buttonDataGrid);" waitTarget="buttonDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="buttonDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="buttonDataGrid" />
+                <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="buttonDataGrid" />
+                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="buttonDataGrid"/>
+                <AssertPropertyValue target="buttonDataGrid.dataProvider.0" propertyName="available" value="true" />
+            </body>
+        </TestCase>
+        <TestCase testID="ButtonRenderer_Scrolling" description="Edit data in a DataGrid with a Button renderer and then scroll" keywords="[Scrolling, Button, itemRenderers]">
+            <setup>
+                <ResetComponent target="buttonDataGrid" className="comps.DataGridButton" waitEvent="updateComplete" waitTarget="buttonDataGrid" />
+                <RunCode code="createData(application.buttonDataGrid);" waitTarget="buttonDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="buttonDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="buttonDataGrid" />
+                <DispatchMouseEvent target="buttonDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+                <DispatchMouseEvent target="buttonDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="buttonDataGrid" />
+                <DispatchMouseEvent target="buttonDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+                <DispatchMouseEvent target="buttonDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="buttonDataGrid" />
+                <AssertPropertyValue target="buttonDataGrid.dataProvider.0" propertyName="available" value="true" />
+            </body>
+        </TestCase>
+         <TestCase testID="ButtonRenderer_VisualCheck" description="Visual Check of a Button CellRenderer" keywords="[Button, itemRenderers]">
+            <setup>
+               <ResetComponent target="buttonDataGrid" className="comps.DataGridButton"  waitTarget="buttonDataGrid" />
+               <RunCode code="createData(application.buttonDataGrid);" waitTarget="buttonDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/buttonRenderer.png" target="buttonDataGrid.mx_internal:rendererArray.4.1" />
+            </body>
+        </TestCase>
+<!--NumericStepper renderer-->
+        <TestCase testID="NumericStepperRenderer_Basic" description="Edit data in a DataGrid with a NumericStepper renderer" keywords="[NumericStepper, itemRenderers]">
+            <setup>
+                <RunCode code="createData(application.nsDataGrid);" waitTarget="nsDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="nsDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="nsDataGrid" />
+                <DispatchKeyEvent keys="[UP, UP]" />
+                <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="nsDataGrid" />
+                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="nsDataGrid"/>
+                <AssertPropertyValue target="nsDataGrid.dataProvider.0" propertyName="quantity" value="2" />
+            </body>
+        </TestCase>
+        <TestCase testID="NumericStepperRenderer_Scrolling" description="Edit data in a DataGrid with a NumericStepper renderer and then scroll" keywords="[Scrolling, NumericStepper, itemRenderers]">
+            <setup>
+                <ResetComponent target="nsDataGrid" className="comps.DataGridNumericStepper" waitEvent="updateComplete" waitTarget="nsDataGrid" />
+                <RunCode code="createData(application.nsDataGrid);" waitTarget="nsDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="nsDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="nsDataGrid" />
+                <DispatchKeyEvent keys="[UP, UP]" />
+                <DispatchMouseEvent target="nsDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+                <DispatchMouseEvent target="nsDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="nsDataGrid" />
+                <DispatchMouseEvent target="nsDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+                <DispatchMouseEvent target="nsDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="nsDataGrid" />
+                <AssertPropertyValue target="nsDataGrid.dataProvider.0" propertyName="quantity" value="2" />
+            </body>
+        </TestCase>
+         <TestCase testID="NumericStepperRenderer_VisualCheck" description="Visual Check of a NumericStepper CellRenderer" keywords="[NumericStepper, itemRenderers]">
+            <setup>
+               <ResetComponent target="nsDataGrid" className="comps.DataGridNumericStepper"  waitTarget="nsDataGrid" />
+               <RunCode code="createData(application.nsDataGrid);" waitTarget="nsDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/numStepperRenderer.png" target="nsDataGrid.mx_internal:rendererArray.2.1" />
+            </body>
+        </TestCase>
+<!--Label renderer-->
+         <TestCase testID="LabelRenderer_VisualCheck" description="Visual Check of a Label CellRenderer" keywords="[Label, itemRenderers]">
+            <setup>
+               <ResetComponent target="labelDataGrid" className="comps.DataGridLabel"  waitTarget="labelDataGrid" />
+               <RunCode code="createData(application.labelDataGrid);" waitTarget="labelDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/labelRenderer.png" target="labelDataGrid.mx_internal:rendererArray.2.0" />
+            </body>
+        </TestCase>
+<!--Text renderer-->
+         <TestCase testID="TextRenderer_VisualCheck" description="Visual Check of a Text CellRenderer" keywords="[Text, itemRenderers]">
+            <setup>
+               <ResetComponent target="textDataGrid" className="comps.DataGridText"  waitTarget="textDataGrid" />
+               <RunCode code="createData(application.textDataGrid);" waitTarget="textDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/textRenderer.png" target="textDataGrid.mx_internal:rendererArray.2.0" />
+            </body>
+        </TestCase>
+<!--ComboBox renderer-->
+        <TestCase testID="ComboBoxRenderer_Basic" description="Edit data in a DataGrid with a ComboBox renderer" keywords="[ComboBox, itemRenderers]">
+            <setup>
+                <RunCode code="createData(application.comboDataGrid);" waitTarget="comboDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="comboDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="comboDataGrid" />
+                <DispatchKeyEvent keys="[DOWN, ENTER]" waitEvent="itemFocusIn" waitTarget="comboDataGrid"/>
+                <DispatchKeyEvent key="TAB" waitEvent="itemFocusIn" waitTarget="comboDataGrid" />
+                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="comboDataGrid"/>
+                <AssertPropertyValue target="comboDataGrid.dataProvider.0" propertyName="color" value="Green" />
+            </body>
+        </TestCase>
+        <TestCase testID="ComboBoxRenderer_Scrolling" description="Edit data in a DataGrid with a ComboBox renderer and then scroll" keywords="[Scrolling, ComboBox, itemRenderers]">
+            <setup>
+                <WaitForEffectsToEnd />
+                <ResetComponent target="comboDataGrid" className="comps.DataGridComboBox" waitEvent="updateComplete" waitTarget="comboDataGrid" />
+                <RunCode code="createData(application.comboDataGrid);" waitTarget="comboDataGrid" waitEvent="updateComplete" />
+                </setup>
+            <body>
+                <DispatchMouseClickEvent target="comboDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="comboDataGrid" />
+                <DispatchKeyEvent keys="[DOWN, ENTER]" waitEvent="itemFocusIn" waitTarget="comboDataGrid"/>
+                <DispatchKeyEvent key="TAB" waitEvent="itemFocusIn" waitTarget="comboDataGrid" />
+                <DispatchMouseEvent target="comboDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+                <DispatchMouseEvent target="comboDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="comboDataGrid" />
+                <DispatchMouseEvent target="comboDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+                <DispatchMouseEvent target="comboDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="comboDataGrid" />
+                <AssertPropertyValue target="comboDataGrid.dataProvider.0" propertyName="color" value="Green" />
+            </body>
+        </TestCase>
+         <TestCase testID="ComboBoxRenderer_VisualCheck" description="Visual Check of a ComboBox CellRenderer" keywords="[ComboBox, itemRenderers]">
+            <setup>
+               <WaitForEffectsToEnd />
+               <ResetComponent target="comboDataGrid" className="comps.DataGridComboBox"  waitTarget="comboDataGrid" />
+               <RunCode code="createData(application.comboDataGrid);" waitTarget="comboDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/comboBoxRenderer.png" target="comboDataGrid.mx_internal:rendererArray.2.1" />
+            </body>
+        </TestCase>
+<!--DateField renderer-->
+        <TestCase testID="DateFieldRenderer_Basic" description="Edit data in a DataGrid with a DateField renderer" keywords="[DateField, itemRenderers]">
+            <setup>
+                <RunCode code="createData(application.dateDataGrid);" waitTarget="dateDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="dateDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="dateDataGrid" />
+                <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateDataGrid"/>
+                <DispatchKeyEvent key="TAB" waitEvent="itemFocusIn" waitTarget="dateDataGrid" />
+                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::DataGridEvent" target="dateDataGrid"/>
+                <AssertPropertyValue target="dateDataGrid.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+            </body>
+        </TestCase>
+        <TestCase testID="DateFieldRenderer_Scrolling" description="Edit data in a DataGrid with a DateField renderer and then scroll" keywords="[Scrolling, DateField, itemRenderers]">
+            <setup>
+                <ResetComponent target="dateDataGrid" className="comps.DataGridDateField" waitEvent="updateComplete" waitTarget="dateDataGrid" />
+                <RunCode code="createData(application.dateDataGrid);" waitTarget="dateDataGrid"  waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <DispatchMouseClickEvent target="dateDataGrid.mx_internal:rendererArray.1.1" localX="4" localY="4" waitEvent="updateComplete" waitTarget="dateDataGrid" />
+                <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateDataGrid"/>
+                <DispatchKeyEvent key="TAB" waitEvent="itemFocusIn" waitTarget="dateDataGrid" />
+                <DispatchMouseEvent target="dateDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="70" />
+                <DispatchMouseEvent target="dateDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="70" waitEvent="scroll" waitTarget="dateDataGrid" />
+                <DispatchMouseEvent target="dateDataGrid.mx_internal:vScrollBar" type="mouseDown" localX="5" localY="25" />
+                <DispatchMouseEvent target="dateDataGrid.mx_internal:vScrollBar" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="dateDataGrid" />
+                <AssertPropertyValue target="dateDataGrid.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+            </body>
+        </TestCase>
+         <TestCase testID="DateFieldRenderer_VisualCheck" description="Visual Check of a DateField CellRenderer" keywords="[DateField, itemRenderers]">
+            <setup>
+               <ResetComponent target="dateDataGrid" className="comps.DataGridDateField"  waitTarget="dateDataGrid" />
+               <RunCode code="createData(application.dateDataGrid);" waitTarget="dateDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+               <CompareBitmap url="../baselines/dateFieldRenderer.png" target="dateDataGrid.mx_internal:rendererArray.2.1" />
+            </body>
+        </TestCase>
+    <!-- Image renderer -->
+        <TestCase testID="ImageRenderer_VisualCheck" description="Visual Check of a Image CellRenderer" keywords="[Image, itemRenderers]">
+            <setup>
+                <ResetComponent target="imageDataGrid" className="comps.DataGridImage"  waitTarget="imageDataGrid" waitEvent="updateComplete" />
+            </setup>
+            <body>
+                <RunCode code="createData(application.imageDataGrid);" waitTarget="imageDataGrid" waitEvent="updateComplete" />
+		<Pause timeout="10" />
+                <!--AssertEvent target="imageDataGrid.mx_internal:rendererArray.3.0" eventName="complete" eventClass="flash.events::Event" timeout="25000"/-->
+                <CompareBitmap url="../baselines/imageRenderer.png" target="imageDataGrid.mx_internal:rendererArray.3.0" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,136 @@
+<?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 testDir="itemRenderers/Halo/DataGrid/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ItemRenderers_Bugs.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+        import data.ListDataAS;
+        import mx.controls.List;
+        import mx.controls.DataGrid;
+
+        public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:List): void
+		{
+			var newDP:ListDataAS = new ListDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+		private function createDataDG(dgTarget:DataGrid): void
+		{
+			var newDP:ListDataAS = new ListDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+
+	</mx:Metadata>
+
+	<testCases>
+    <!-- bug #127773-->
+        <TestCase testID="itemRenderers_bug127773" description="Bug #127773" keywords="[Bugs, 127773, itemRenderers]">
+			<body>
+			    <DispatchMouseEvent type="mouseDown" target="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)" localX="5" localY="4"
+			        waitEvent="mouseDown" waitTarget="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)"  />
+			    <DispatchMouseEvent type="mouseUp" target="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)"
+					localX="5" localY="4" />
+				<DispatchKeyEvent char="Brad Pitt" waitEvent="change" waitTarget="dataGrid127773.mx_internal:rendererArray.1.0.getChildAt(5)" />
+			    <DispatchMouseClickEvent target="dataGrid127773.mx_internal:rendererArray.2.0" waitEvent="itemEditEnd" waitTarget="dataGrid127773" />
+			    <AssertPropertyValue target="dataGrid127773.dataProvider.0" propertyName="name" value="Brad Pitt" />
+			    <DispatchMouseClickEvent target="" localX="4" localY="5" />
+			</body>
+		</TestCase>
+    <!-- bug #148390-->
+        <TestCase testID="itemRenderers_bug148390" description="Bug #148390" keywords="[Bugs, 148390, itemRenderers]">
+			<setup>
+			    <ResetComponent target="dataGrid127773" className="comps.CustomGrid" waitTarget="dataGrid127773" waitEvent="updateComplete" />
+			    <SetProperty target="dataGrid127773" propertyName="rowHeight" value="100" />
+			    <SetProperty target="dataGrid127773" propertyName="dataProvider" valueExpression="value=application.dp127773" waitTarget="dataGrid127773"
+			         waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid127773.mx_internal:rendererArray.1.0.rawChildren.getChildAt(2).getChildAt(3)" localX="5" localY="5" />
+			    <AssertEvent eventName="scroll" eventClass="mx.events::ScrollEvent" target="dataGrid127773.mx_internal:rendererArray.1.0" />
+			</body>
+		</TestCase>
+    <!-- bug #192034-->
+        <TestCase testID="itemRenderers_bug192034" description="bug #192034" keywords="[Bugs, 192034, itemRenderers]">
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid192034.mx_internal:rendererArray.2.0" localX="5" localY="4" waitEvent="itemFocusIn" waitTarget="dataGrid192034" />
+                <DispatchMouseClickEvent target="dataGrid192034.itemEditorInstance" localX="25" localY="5" waitEvent="open" waitTarget="dataGrid192034.itemEditorInstance" />
+                <WaitForEffectsToEnd />
+                <DispatchMouseClickEvent target="dataGrid192034.itemEditorInstance.dropdown.getChildAt(7)" localX="5" localY="5" />
+                <!--DispatchMouseClickEvent target="dataGrid192034.itemEditorInstance.dropdown.getChildAt(2).getChildAt(12)" localX="13" localY="9" waitEvent="change"
+                    waitTarget="dataGrid192034.itemEditorInstance" /-->
+                <DispatchKeyEvent keys="[RIGHT, RIGHT]" waitEvent="change"  waitTarget="dataGrid192034.itemEditorInstance" />
+                <DispatchMouseClickEvent target="dataGrid192034.mx_internal:rendererArray.2.1" localX="5" localY="4" waitEvent="itemFocusIn" waitTarget="dataGrid192034" />
+                <DispatchMouseClickEvent target="" localX="5" localY="4" waitEvent="itemEditEnd" waitTarget="dataGrid192034" />
+                <AssertPropertyValue target="dataGrid192034.dataProvider.1" propertyName="Date" valueExpression="value=application.newDate" />
+			</body>
+		</TestCase>
+
+    <!-- bug #171112 -->
+        <TestCase testID="itemRenderers_bug171112" description="bug #171112" keywords="[Bugs, 171112, itemRenderers]">
+			<setup>
+				<ResetComponent target="dataGrid_basic" className="mx.controls.DataGrid"  waitTarget="dataGrid_basic" waitEvent="updateComplete" />
+				<RunCode code="createDataDG(application.dataGrid_basic);" waitTarget="dataGrid_basic" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <SetProperty target="dataGrid_basic" propertyName="editable" value="true" />
+			    <SetProperty target="dataGrid_basic.columns.3" propertyName="itemEditor" valueExpression="value= new ClassFactory(mx.controls.NumericStepper)"/>
+			    <SetProperty target="dataGrid_basic.columns.3" propertyName="editorDataField" value="value"	 />
+			    <DispatchMouseClickEvent target="dataGrid_basic.mx_internal:rendererArray.3.3" localX="5" localY="4" waitEvent="itemFocusIn" waitTarget="dataGrid_basic" />
+                <AssertPropertyValue target="dataGrid_basic.itemEditorInstance" propertyName="value" value="2" />
+			</body>
+		</TestCase>
+    <!-- bug #142954-->
+        <TestCase testID="itemRenderers_bug142954" description="Bug #142954" keywords="[Bugs, 142954, itemRenderers]">
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid142954.mx_internal:rendererArray.1.1" localX="5" localY="5" waitEvent="itemFocusIn" waitTarget="dataGrid142954" />
+			    <DispatchMouseClickEvent target="dataGrid142954.itemEditorInstance.rawChildren.getChildAt(2).getChildAt(3)" localX="5" localY="5" />
+			    <AssertEvent eventName="scroll" eventClass="mx.events::ScrollEvent" target="dataGrid142954.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="dataGrid142954.itemEditorInstance.getChildAt(1)" localX="8" localY="8" waitEvent="click"
+			        waitTarget="dataGrid142954.itemEditorInstance.getChildAt(1)" />
+			    <DispatchMouseClickEvent target="" localX="8" localY="8" waitEvent="itemEditEnd" waitTarget="dataGrid142954" />
+                <AssertPropertyValue target="dataGrid142954.dataProvider.0" propertyName="cdata" value="false" />
+			</body>
+		</TestCase>
+    <!-- bug #164648-->
+        <TestCase testID="itemRenderers_bug164648" description="Bug #164648" keywords="[Bugs, 164648, itemRenderers]">
+			<body>
+			    <DispatchMouseClickEvent target="dataGrid164648.mx_internal:rendererArray.1.1" localX="5" localY="5" waitEvent="itemFocusIn" waitTarget="dataGrid164648" />
+			    <DispatchMouseClickEvent target="dataGrid164648.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="dataGrid164648.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="dataGrid164648.itemEditorInstance.dropdown" localX="72" localY="44" waitEvent="close" waitTarget="dataGrid164648.itemEditorInstance" />
+                <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="dataGrid164648" />
+			    <AssertPropertyValue target="dataGrid164648.dataProvider.0" propertyName="Climate" value="Foggy" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests2.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/ItemRenderer_BugTests2.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,112 @@
+<?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 testDir="itemRenderers/Halo/DataGrid/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ItemRenderers_Bugs2.mxml">
+
+    <mx:Script>
+    <![CDATA[
+
+        import data.ListDataAS;
+        import mx.controls.List;
+        import mx.controls.DataGrid;
+
+        public static function init(o:DisplayObject):void
+        {
+
+        }
+
+        private function createData(dgTarget:List): void
+        {
+            var newDP:ListDataAS = new ListDataAS();
+            dgTarget.dataProvider = newDP.myData;
+        }
+
+        private function createDataDG(dgTarget:DataGrid): void
+        {
+            var newDP:ListDataAS = new ListDataAS();
+            dgTarget.dataProvider = newDP.myData;
+        }
+
+    ]]>
+    </mx:Script>
+
+    <mx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+
+    </mx:Metadata>
+
+    <testCases>
+    <!-- bug #127773, This pause is a part of the test scenario-->
+        <TestCase testID="itemRenderers_bug155740" description="Bug #155740" keywords="[Bugs, 155740, itemRenderers]">
+            <body>
+                <DispatchMouseEvent type="mouseDown" target="tileList155740.getChildAt(3).getChildAt(2)" localX="5" localY="14"
+                    waitEvent="mouseDown" waitTarget="tileList155740"  />
+                <DispatchMouseEvent type="mouseMove" target="tileList155740.getChildAt(3).getChildAt(2)"
+                    localX="5" localY="204" />
+                <!--Pause timeout="500" /-->
+                <WaitForEffectsToEnd />
+                <DispatchMouseEvent type="mouseMove" target="tileList155740"
+                    localX="205" localY="0" />
+                <DispatchMouseEvent type="mouseUp" target="tileList155740.getChildAt(3).getChildAt(2)"
+                    localX="5" localY="204" />
+                <AssertPropertyValue target="tileList155740.dataProvider.0" propertyName="software_nickname" value="ProductC" />
+            </body>
+        </TestCase>
+    <!-- bug #177700, This pause is a part of the test scenario-->
+        <TestCase testID="itemRenderers_bug177700" description="Bug #177700" keywords="[Bugs, 177700, itemRenderers]">
+            <body>
+                <DispatchMouseClickEvent target="datagrid177700.mx_internal:rendererArray.1.1" localX="5" localY="4"
+                    waitEvent="click" waitTarget="datagrid177700.mx_internal:rendererArray.1.1"  />
+                <RunCode code="application.changeSource()" waitEvent="updateComplete" waitTarget="datagrid177700" />
+                <AssertPropertyValue target="datagrid177700.dataProvider.0" propertyName="Character" value="true" />
+            </body>
+        </TestCase>
+        <TestCase testID="itemRenderers_SDK9519" description="SDK-9519 reported a bug where your data doesn't change in an itemRenderer when the text was selected with a release of the mouse outside the TextInput renderer."
+            keywords="[itemRenderers, Bugs, itemEditors]" >
+            <body>
+                <DispatchMouseEvent type="mouseDown" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="65" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="55" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="50" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="42" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="30" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="12" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519.mx_internal:rendererArray.1.2.getTextField()" localX="0" localY="9" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519" localX="194" localY="35" />
+                <DispatchMouseEvent type="mouseMove" target="datagrid9519" localX="185" localY="35" />
+                <DispatchMouseEvent type="mouseUp" target="datagrid9519" localX="185" localY="35" />
+                <DispatchKeyEvent char="hello" waitTarget="datagrid9519.mx_internal:rendererArray.1.2" waitEvent="change" />
+                <DispatchMouseClickEvent target="datagrid9519.mx_internal:vScrollBar.getChildAt(3)" localX="3" localY="5" waitEvent="scroll"
+                    waitTarget="datagrid9519" />
+                <DispatchMouseClickEvent target="datagrid9519.mx_internal:vScrollBar.getChildAt(0)" localX="3" localY="5" waitEvent="scroll"
+                    waitTarget="datagrid9519" />
+                <AssertPropertyValue propertyName="text" target="datagrid9519.mx_internal:rendererArray.1.2" value="hello" />
+           </body>
+        </TestCase>
+        <TestCase testID="itemRenderers_SDK13453" description="Mousing over an icon in a custom headerRenderer should work." keywords="[headerRenderer, DataGrid, icon]">
+           <body>
+               <DispatchMouseClickEvent target="dgSpecialHeader.mx_internal:rendererArray.0.0" localX="65" localY="20" waitEvent="updateComplete"
+                   waitTarget="dgSpecialHeader" />
+               <DispatchMouseEvent type="mouseOver" target="dgSpecialHeader.mx_internal:rendererArray.0.0" localX="65" localY="20" />
+               <CompareBitmap target="dgSpecialHeader.mx_internal:rendererArray.0.0" url="../baselines/headerRenderer_icon.png" timeout="2500" />
+           </body>
+        </TestCase>
+    </testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/AlbumDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/AlbumDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/AlbumDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/AlbumDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,40 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 data {
+
+    public class AlbumDataAS  {
+    
+        public var myData:Object;
+        public function AlbumDataAS(): void
+        {
+            
+            myData = [
+						{ Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99, Available: true },
+						{ Artist:'Pavement', Album:'Crooked Rain, Crooked Rain', Price:10.99, Available: false },
+						{ Artist:'Pavement', Album:'Wowee Zowee', Price:12.99, Available: true },
+						{ Artist:'Pavement', Album:'Brighten the Corners', Price:11.99, Available: true },
+						{ Artist:'Pavement', Album:'Terror Twilight', Price:11.99, Available: true },
+						{ Artist:'Other', Album:'Other', Price:5.99, Available: false },
+						{ Artist:'Britney Spears', Album:'Britney', Price:6.99, Available: false },
+						{ Artist:'Faith Hill', Album:'Cry', Price:8.99, Available: true },
+						{ Artist:'ColdPlay', Album:'Parachuttes', Price:16.99, Available: false },
+                     ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/DaysDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/DaysDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/DaysDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/DaysDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,38 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 data {
+
+    public class DaysDataAS  {
+    
+        public var myData:Object;
+        public function DaysDataAS(): void
+        {
+            
+            myData =  [
+			   { Monday: 9, Tuesday: 3, Wednesday: 4, Thursday: 10 },
+			   { Monday: 7, Tuesday: 9, Wednesday: 8, Thursday: 0 },
+			   { Monday: 1, Tuesday: 10, Wednesday: 4, Thursday: 1 },
+			   { Monday: 10, Tuesday: 3, Wednesday: 1, Thursday: 4 },
+			   { Monday: 9, Tuesday: 8, Wednesday: 0, Thursday: 5 },
+			   { Monday: 5, Tuesday: 10, Wednesday: 4, Thursday: 5 },
+			   { Monday: 4, Tuesday: 3, Wednesday: 9, Thursday: 10 }
+           ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/ListDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/ListDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/ListDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/ListDataAS.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,44 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 data {
+
+    public class ListDataAS  {
+    
+        public var myData:Object;
+        public function ListDataAS(): void
+        {
+            var date1:Date = new Date(2007,4,20);
+			var date2:Date = new Date(2007,0,15);
+            var date3:Date = new Date(2007,9,24); 
+            
+            myData = [
+						{label:"Toys", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"}, 
+						{label:"Stuffed Animals", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Red"}, 
+						{label:"Some Bears", available:true, quantity: 2, shipDate: date2, url: "../../../../../Assets/Images/greenrect.jpg", color: "Green"}, 
+						{label:"Dinosaur", available:true, quantity: 8, shipDate: date1, url: "../../../../../Assets/Images/purplerect.jpg", color: "Fuscia"}, 
+						{label:"Cars", available:true, quantity: 9, shipDate: date1, url: "../../../../../Assets/Images/yellowrect.jpg", color: "Yellow"}, 
+						{label:"Games", available:false, quantity: 0, shipDate: date2, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"}, 
+						{label:"Board Games", available:false, quantity: 0, shipDate: date3, url: "../../../../../Assets/Images/bluerect.jpg", color: "Black"}, 
+						{label:"Dice Game", available:true, quantity: 4, shipDate: date3, url: "../../../../../Assets/Images/orangerect.jpg", color: "White"}, 
+						{label:"Movie", available:false, quantity: 0, shipDate: date1, url: "../../../../../Assets/Images/redrect.jpg", color: "Rose"}, 
+						{label:"Video Game",available:true, quantity: 8, shipDate: date3, url: "../../../../../Assets/Images/purplerect.jpg", color: "Periwinkle"}, 
+					  ]; 
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/NameDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/NameDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/NameDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/DataGrid/test_scripts/data/NameDataAS.as Tue Aug  7 15:39:33 2012
@@ -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 data {
+
+    public class NameDataAS  {
+    
+        public var myData:Object;
+        public function NameDataAS(): void
+        {
+            
+            myData = [
+						{ name: "Person A",
+							cdata: true,
+							phone: "999-555-6589",
+							image: "assets/products/putty.jpg"},
+						{ name: "Person B",
+							 cdata: false,
+							 phone: "999-555-3353",
+							 image: "assets/products/putty.jpg"},
+						{ name: "Person C",
+							 cdata: true,
+							 phone: "999-555-2453",
+							 image: "assets/products/putty.jpg"},
+						{ name: "Person D",
+							 cdata: false,
+							 phone: "999-555-6549",
+	 		                 image: "assets/products/putty.jpg"}
+                     ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListButton.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListButton.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListButton.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListButton.mxml Tue Aug  7 15:39:33 2012
@@ -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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{contacts1}"
+    width="300" height="80" >
+
+<mx:Script>
+ <![CDATA[
+
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	   {label: 'Yukari'}, {label: 'Ashish'}, {label: 'Joan'}, {label: 'Ted'}, {label: 'Dan'} ];
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:Button />
+   </mx:Component>
+</mx:itemRenderer>
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCheckbox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCheckbox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCheckbox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCheckbox.mxml Tue Aug  7 15:39:33 2012
@@ -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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{contacts1}"
+    width="300" height="80" >
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	   {label:'Dan', selected: true}, {label:'Ted'},{label:'Dan'}, {label: 'Joan'},
+	   {label:'Jean', selected: true}, {label: 'Kevin'}, {label:'George', selected: true}
+	 ];
+
+]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:CheckBox color="0xFF0000" />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCombobox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCombobox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCombobox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListCombobox.mxml Tue Aug  7 15:39:33 2012
@@ -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.
+
+-->
+<mx:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+   dataProvider="{contacts1}" width="300" height="80" xmlns:comps="*" >
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 	   "Yes", "No", "Maybe", "Maybe", "No"
+	];
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:ComboBox >
+          <mx:dataProvider>
+              <mx:Array>
+                 <mx:String>Maybe</mx:String>
+                 <mx:String>No</mx:String>
+                 <mx:String>Yes</mx:String>
+              </mx:Array>
+          </mx:dataProvider>
+      </mx:ComboBox>
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListDateField.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListDateField.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListDateField.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListDateField.mxml Tue Aug  7 15:39:33 2012
@@ -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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{contacts1}"
+xmlns:comps="*" width="300" height="80" >
+
+<mx:Script>
+<![CDATA[
+    import mx.collections.*;
+
+    import mx.controls.listClasses.*;
+    import mx.controls.DateField;
+
+    private var catalog:ArrayCollection;
+	    private static var date1:Date = new Date(new Date().getFullYear(),new Date().getMonth(),5);
+	    private static var date2:Date = new Date(2006,0,15);
+	    private static var date3:Date = new Date(2004,9,24);
+
+    [Bindable]
+	private var contacts1:Array = [
+	 	 		date1, date2, date3, date1
+	];
+
+  ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:DateField />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListImage.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListImage.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListImage.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListImage.mxml Tue Aug  7 15:39:33 2012
@@ -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:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" rowHeight="50"
+    dataProvider="{contacts1}" width="300" height="80" xmlns:comps="*">
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+   import mx.controls.listClasses.*;
+   import mx.controls.Image;
+
+   [Bindable]
+   private var contacts1:Array = [
+	 	"../../../../../Assets/Images/purplerect.jpg",
+		"../../../../../Assets/Images/greenrect.jpg",
+		"assets/orb.jpg",
+		"../../../../../Assets/Images/bluerect.jpg",
+		"../../../../../Assets/Images/yellowrect.jpg",
+		"../../../../../Assets/Images/bluerect.jpg",
+		"../../../../../Assets/Images/redrect.jpg"
+	];
+
+ ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:Image />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListLabel.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListLabel.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListLabel.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/HorizontalList/SWFs/comps/HListLabel.mxml Tue Aug  7 15:39:33 2012
@@ -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.
+
+-->
+<mx:HorizontalList xmlns:mx="http://www.adobe.com/2006/mxml" variableRowHeight="true"
+   dataProvider="{contacts1}" width="300" height="80" >
+
+<mx:Script>
+<![CDATA[
+   import mx.collections.*;
+
+   import mx.controls.listClasses.*;
+   import mx.controls.Label;
+
+   [Bindable]
+   private  var contacts1:Array = [
+	 		"223-52-3698",
+	 		"263-32-3608",
+	 		"123-56-3078",
+	 		"963-62-3608"
+	];
+
+  ]]>
+</mx:Script>
+
+<mx:itemRenderer>
+   <mx:Component>
+      <mx:Label />
+   </mx:Component>
+</mx:itemRenderer>
+
+
+</mx:HorizontalList>
\ No newline at end of file



Mime
View raw message