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 [5/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
Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/numStepperRenderer_201.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/textRenderer.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/textRenderer.png?rev=1370323&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/baselines/textRenderer.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_customRenderers.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_customRenderers.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_customRenderers.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_customRenderers.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,348 @@
+<?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/List/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="List_customTests.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+		import mx.controls.List;
+		import comps.SimpleComp2;
+		import comps.LabelCheckComp;
+		import comps.LabelCheckComp2;
+		import data.AlbumDataAS;
+		import data.DaysDataAS;
+		import data.NameDataAS;
+		import mx.controls.CheckBox;
+		import mx.controls.NumericStepper;
+
+        public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:List): void
+		{
+			var newDP:AlbumDataAS = new AlbumDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+		private function createData2(dgTarget:List): void
+		{
+			var newDP:DaysDataAS = new DaysDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+
+		private function createData3(dgTarget:List): void
+		{
+			var newDP:NameDataAS = new NameDataAS();
+			dgTarget.dataProvider = newDP.myData;
+		}
+	]]>
+	</mx:Script>
+
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+
+	<testCases>
+     <!-- createEditor test -->
+	         <TestCase testID="method_createEditor" description="Call createEditor in the itemEditBegin function for a ListColumn" keywords="[createEditor, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="Available" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(CheckBox)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="selected"  />
+	 			   <RunCode code="application.list_basic.addEventListener('itemEditBegin', application.doTest)"   />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <DispatchMouseClickEvent target="list_basic.itemEditorInstance" localX="5" localY="5" waitEvent="click" waitTarget="list_basic.itemEditorInstance" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				   <AssertPropertyValue target="list_basic.dataProvider.1" propertyName="Available" value="true" />
+	 			</body>
+		</TestCase>
+<!-- destroyEditor test -->
+	         <TestCase testID="method_destroyEditor" description="Call destroyEditor in the itemEditEnd function for a ListColumn" keywords="[destroyEditor, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData2(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="Monday" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+	 			   <RunCode code="application.list_basic.addEventListener('itemEditEnd', application.finishEdit)"   />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.0.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <DispatchMouseClickEvent target="list_basic.itemEditorInstance.getChildAt(2)" localX="4" localY="4" waitEvent="click" waitTarget="list_basic.itemEditorInstance.getChildAt(2)" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				   <AssertPropertyValue target="list_basic.dataProvider.0" propertyName="Monday" value="9" />
+	 			</body>
+		</TestCase>
+<!-- editedItemRenderer test -->
+	         <TestCase testID="property_editedItemRendererCustom" description="Property: editedItemRenderer for a custom itemRenderer" keywords="[editedItemRenderer, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="Available" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(SimpleComp2)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="selectedProp"  />
+	 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.0.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <DispatchMouseClickEvent target="list_basic.itemEditorInstance.getChildAt(1)" localX="8" localY="8" waitEvent="click" waitTarget="list_basic.itemEditorInstance.getChildAt(1)" />
+	 			   <AssertPropertyValue target="list_basic.editedItemRenderer.data" propertyName="Available" value="true" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				   </body>
+		</TestCase>
+		<!-- editorHeightOffset test -->
+			         <TestCase testID="property_editorHeightOffset_Positive" description="Property: Set editorHeightOffset to a positive number" keywords="[editorHeightOffset, List]">
+			 			<setup>
+			 			    <DispatchMouseClickEvent target="" localX="5" localY="5" />
+	                        <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+			 			</setup>
+			 			<body>
+			 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+			 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+			 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+			 			   <SetProperty target="list_basic" propertyName="editorHeightOffset" value="40" />
+			 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			           <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="height" value="100" />
+			 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+			               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+						</body>
+				</TestCase>
+		        <TestCase testID="property_editorHeightOffset_Zero" description="Property: Set editorHeightOffset to zero" keywords="[editorHeightOffset, List]">
+			 			<setup>
+			 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+			 			</setup>
+			 			<body>
+			 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+			 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+			 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+			 			   <SetProperty target="list_basic" propertyName="editorHeightOffset" value="0" />
+			 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			           <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="height" value="60" />
+			 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+			               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+						</body>
+				</TestCase>
+		        <TestCase testID="property_editorHeightOffset_Negative" description="Property: Set editorHeightOffset to a negative number" keywords="[editorHeightOffset, List]">
+			 			<setup>
+			 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+			 			</setup>
+			 			<body>
+			 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+			 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+			 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			           <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+			 			   <SetProperty target="list_basic" propertyName="editorHeightOffset" value="-20" />
+			 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+			 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="height" value="40" />
+			 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+			               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+<!-- editorWidthOffset test -->
+        <TestCase testID="property_editorWidthOffset_Zero" description="Property: Set editorWidthOffset to zero" keywords="[editorWidthOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorWidthOffset" value="0" />
+	 			   <SetProperty target="list_basic" propertyName="width" value="100" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="width" value="96" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+        <TestCase testID="property_editorWidthOffset_Negative" description="Property: Set editorWidthOffset to a negative number" keywords="[editorWidthOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorWidthOffset" value="-20" />
+	 			   <SetProperty target="list_basic" propertyName="width" value="100" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="width" value="76" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+<!-- editorXOffset test -->
+	         <TestCase testID="property_editorXOffset_Positive" description="Property: Set editorXOffset to a positive number" keywords="[editorXOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorXOffset" value="41" />
+	 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="x" value="43" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+        <TestCase testID="property_editorXOffset_Zero" description="Property: Set editorXOffset to zero" keywords="[editorXOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorXOffset" value="0" />
+	 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="x" value="2" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+        <TestCase testID="property_editorXOffset_Negative" description="Property: Set editorXOffset to a negative number" keywords="[editorXOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorXOffset" value="-19" />
+	 			   <SetProperty target="list_basic" propertyName="width" value="400" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <WaitForEffectsToEnd />
+	 			   <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="x" value="-17" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+<!-- editorYOffset test -->
+	         <TestCase testID="property_editorYOffset_Positive" description="Property: Set editorYOffset to a positive number" keywords="[editorYOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorYOffset" value="40" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="y" value="100" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+        <TestCase testID="property_editorYOffset_Zero" description="Property: Set editorYOffset to zero" keywords="[editorYOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorYOffset" value="0" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="y" value="60" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+        <TestCase testID="property_editorYOffset_Negative" description="Property: Set editorYOffset to a negative number" keywords="[editorYOffset, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData3(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <SetProperty target="list_basic" propertyName="labelField" value="name" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(LabelCheckComp)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="checkBoxValue"  />
+	 			   <SetProperty target="list_basic" propertyName="editorYOffset" value="-20" />
+	 			   <SetProperty target="list_basic" propertyName="rowHeight" value="60" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.1.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertPropertyValue target="list_basic.itemEditorInstance" propertyName="y" value="40" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+				</body>
+		</TestCase>
+        <TestCase testID="variableRowHeight_and_scrolling" description="This testcase came about from bug SDK-11080. It tests that you can continue to scroll to the bottom
+           when row heights have changed." keywords="[variableRowHeight, List]">
+	 			<body>
+	 			   <DispatchMouseClickEvent target="list_11080.mx_internal:rendererArray.0.0.getChildAt(2)" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_11080"/>
+	 			   <DispatchMouseClickEvent target="list_11080.getChildAt(3).getChildAt(3)" localX="5" localY="5" waitEvent="scroll" waitTarget="list_11080"/>
+				   <DispatchMouseClickEvent target="list_11080.mx_internal:rendererArray.0.0.getChildAt(2)" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_11080"/>
+				   <DispatchMouseClickEvent target="list_11080.getChildAt(3).getChildAt(3)" localX="5" localY="5" waitEvent="scroll" waitTarget="list_11080"/>
+				   <AssertPropertyValue propertyName="verticalScrollPosition" value="2" target="list_11080" />
+				</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_events.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_events.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_events.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_events.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester testDir="itemRenderers/Halo/List/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="List_customTests.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+		import mx.controls.List;
+		import data.ListDataAS;
+		import mx.controls.CheckBox;
+		import mx.controls.NumericStepper;
+
+        public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:List): 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, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.2.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditBegin" eventClass="mx.events::ListEvent" target="list_basic" />
+				   <AssertEventPropertyValue propertyName="rowIndex" value="2" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	            </body>
+		</TestCase>
+<!-- itemEditBeginning test -->
+	         <TestCase testID="itemEditors_event_itemEditBeginning" description="Ensure that itemEditBeginning is triggered for cells with custom itemEditors" keywords="[itemEditBeginning, Events, List]">
+	 			<setup>
+	 			    <ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			    <RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+	 			</setup>
+	 			<body>
+	 			   <SetProperty target="list_basic" propertyName="editable" value="true" />
+	 			   <SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+	 			   <SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+	 			   <DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.2.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+	               <AssertEvent eventName="itemEditBegin" eventClass="mx.events::ListEvent" target="list_basic" />
+				   <AssertEventPropertyValue propertyName="rowIndex" value="2" />
+	 			   <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	            </body>
+		</TestCase>
+<!-- itemFocusIn test -->
+		<TestCase testID="itemEditors_event_itemFocusIn" description="Ensure that itemFocusIn is triggered for cells with custom itemEditors" keywords="[itemFocusIn , Events, List]">
+			 <setup>
+			 	<ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	<RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			 </setup>
+			 <body>
+			 	<SetProperty target="list_basic" propertyName="editable" value="true" />
+			 	<SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	<SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+			 	<DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.2.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			    <AssertEvent eventName="itemFocusIn" eventClass="mx.events::ListEvent" target="list_basic" />
+				<AssertEventPropertyValue propertyName="rowIndex" value="2" />
+			 	<DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+			 </body>
+		</TestCase>
+<!-- itemFocusOut test -->
+		<TestCase testID="itemEditors_event_itemFocusOut" description="Ensure that itemFocusOut is triggered for cells with custom itemEditors" keywords="[itemFocusOut, Events, List]">
+			<setup>
+			 	<ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	<RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			</setup>
+			<body>
+			 	<SetProperty target="list_basic" propertyName="editable" value="true" />
+			 	<SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	<SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+			 	<DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.4.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			    <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+			    <AssertEvent eventName="itemFocusOut" eventClass="mx.events::ListEvent" target="list_basic" />
+				<AssertEventPropertyValue propertyName="rowIndex" value="4" />
+			</body>
+		</TestCase>
+<!-- itemEndEdit test -->
+	    <TestCase testID="itemEditors_event_itemEditEnd_mouse" description="Ensure that itemEditEnd is triggered for cells with custom itemEditors" keywords="[itemEditEnd, Events, List]">
+			 	<setup>
+			 	 	<ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	 	<RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	 	<SetProperty target="list_basic" propertyName="labelField" value="quantity" />
+			 	</setup>
+			 	<body>
+			 	 	<SetProperty target="list_basic" propertyName="editable" value="true" />
+			 	 	<SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	 	<SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+			 	 	<DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.2.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	    <DispatchKeyEvent char="4" waitEvent="keyUp" waitTarget="list_basic" />
+			 	    <DispatchMouseClickEvent target="" localX="5" localY="5" waitEvent="itemEditEnd" waitTarget="list_basic" />
+	                <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+			 		<AssertEventPropertyValue propertyName="rowIndex" value="2" />
+			 </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, List]">
+			 	<setup>
+			 	 	<ResetComponent target="list_basic" className="mx.controls.List" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	 	<RunCode code="createData(application.list_basic)" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	 	<SetProperty target="list_basic" propertyName="labelField" value="quantity" />
+			 	</setup>
+			 	<body>
+			 	 	<SetProperty target="list_basic" propertyName="editable" value="true" />
+			 	 	<SetProperty target="list_basic" propertyName="itemEditor" valueExpression="value=new ClassFactory(NumericStepper)"  />
+			 	 	<SetProperty target="list_basic" propertyName="editorDataField" value="value"  />
+			 	 	<DispatchMouseClickEvent target="list_basic.mx_internal:rendererArray.3.0" localX="5" localY="5" waitEvent="updateComplete" waitTarget="list_basic" />
+			 	    <DispatchKeyEvent char="2" waitEvent="keyUp" waitTarget="list_basic" />
+			 	    <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="list_basic" />
+			 	    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="list_basic" />
+			 		<AssertEventPropertyValue propertyName="rowIndex" value="3" />
+			 </body>
+	    </TestCase-->
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemEditor.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemEditor.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemEditor.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemEditor.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,225 @@
+<?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/List/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="List_itemEditorTests.mxml">
+    <mx:Script>
+	<![CDATA[
+
+		import data.ListDataAS;
+        import mx.controls.List;
+
+        private static var dateValue:Date = new Date(2007,4,24);
+		public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:List): 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 List with a CheckBox itemEditor" keywords="[List, CheckBox, itemEditor]">
+			<setup>
+			    <RunCode code="createData(application.checkList2);" waitTarget="checkList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="checkList2.mx_internal:rendererArray.0.0" localX="10" localY="5" waitEvent="itemClick" waitTarget="checkList2" />
+	            <DispatchMouseClickEvent target="checkList2.itemEditorInstance" localX="5" localY="5" waitEvent="click" waitTarget="checkList2.itemEditorInstance" />
+	            <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="checkList2" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="checkList2"/>
+			    <AssertPropertyValue target="checkList2.dataProvider.0" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+        <TestCase testID="CheckBoxItemEditor_Scrolling" description="Edit data in a List with a CheckBox editor and then scroll" keywords="[Scrolling, CheckBox, itemEditors]">
+			<setup>
+			    <ResetComponent target="checkList2" className="comps.EditorListCheckBox" waitEvent="updateComplete" waitTarget="checkList2" />
+			    <RunCode code="createData(application.checkList2);" waitTarget="checkList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="checkList2.mx_internal:rendererArray.0.0" localX="10" localY="5" waitEvent="itemFocusIn" waitTarget="checkList2" />
+	            <DispatchMouseClickEvent target="checkList2.itemEditorInstance" localX="5" localY="5" waitEvent="click" waitTarget="checkList2.itemEditorInstance" />
+	            <DispatchMouseEvent target="checkList2.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="checkList2.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="checkList2" />
+	            <DispatchMouseEvent target="checkList2.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="checkList2.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="checkList2" />
+	            <AssertPropertyValue target="checkList2.dataProvider.0" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+		 <TestCase testID="CheckBoxItemEditor_VisualCheck" description="Visual Check of a CheckBox CellItemEditor" keywords="[List, CheckBox, itemEditors]">
+			<setup>
+			   <ResetComponent target="checkList2" className="comps.EditorListCheckBox"  waitTarget="checkList2" />
+			   <RunCode code="createData(application.checkList2);" waitTarget="checkList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <DispatchMouseClickEvent target="checkList2.mx_internal:rendererArray.0.0" localX="10" localY="5" waitEvent="itemFocusIn" waitTarget="checkList2" />
+			   <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/checkBoxItemEditor.png" target="checkList2.mx_internal:rendererArray.0.0" />
+			</body>
+		</TestCase>
+<!--NumericStepper renderer-->
+        <TestCase testID="NumericStepperItemEditor_Basic" description="Edit data in a List with a NumericStepper Editor" keywords="[List, NumericStepper, itemEditors]">
+			<setup>
+			    <RunCode code="createData(application.nsList2);" waitTarget="nsList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsList2.mx_internal:rendererArray.1.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsList2" />
+	            <DispatchKeyEvent keys="[UP, UP]" />
+			    <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="nsList2" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="nsList2"/>
+			    <AssertPropertyValue target="nsList2.dataProvider.1" propertyName="quantity" value="2" />
+			</body>
+		</TestCase>
+        <TestCase testID="NumericStepperItemEditor_Scrolling" description="Edit data in a List with a NumericStepper editor and then scroll" keywords="[Scrolling, NumericStepper, itemEditors]">
+			<setup>
+			    <ResetComponent target="nsList2" className="comps.EditorListNumericStepper" waitEvent="updateComplete" waitTarget="nsList2" />
+			    <RunCode code="createData(application.nsList2);" waitTarget="nsList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsList2.mx_internal:rendererArray.1.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsList2" />
+	            <DispatchKeyEvent keys="[UP, UP, UP]" />
+			    <DispatchMouseEvent target="nsList2.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="nsList2.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="nsList2" />
+	            <DispatchMouseEvent target="nsList2.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="nsList2.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="nsList2" />
+	            <AssertPropertyValue target="nsList2.dataProvider.1" propertyName="quantity" value="3" />
+			</body>
+		</TestCase>
+		 <TestCase testID="NumericStepperItemEditor_VisualCheck" description="Visual Check of a NumericStepper CellItemEditor" keywords="[List, NumericStepper, itemEditors]">
+			<setup>
+			   <ResetComponent target="nsList2" className="comps.EditorListNumericStepper"  waitTarget="nsList2" />
+			   <RunCode code="createData(application.nsList2);" waitTarget="nsList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsList2.mx_internal:rendererArray.1.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsList2" />
+	            <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/numStepperItemEditor.png" target="nsList2.mx_internal:rendererArray.1.0" />
+			</body>
+		</TestCase>
+		<TestCase testID="AIRNumericStepperItemEditor_VisualCheck" description="Visual Check of a NumericStepper CellItemEditor" keywords="[List, NumericStepper, itemEditors]">
+			<setup>
+			   <ResetComponent target="nsList2" className="comps.EditorListNumericStepper"  waitTarget="nsList2" />
+			   <RunCode code="createData(application.nsList2);" waitTarget="nsList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsList2.mx_internal:rendererArray.1.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="nsList2" />
+	            <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/AIRnumStepperItemEditor.png" target="nsList2.mx_internal:rendererArray.1.0" />
+			</body>
+		</TestCase>
+
+<!--DateField renderer-->
+        <TestCase testID="DateFieldItemEditor_Basic" description="Edit data in a List with a DateField renderer" keywords="[List, DateField, itemEditors]">
+			<setup>
+			    <RunCode code="createData(application.dateList2);" waitTarget="dateList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dateList2.mx_internal:rendererArray.0.0" localX="4" localY="4"  waitEvent="updateComplete" waitTarget="dateList2"/>
+	            <DispatchMouseClickEvent target="dateList2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="dateList2.itemEditorInstance" />
+	            <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateList2"/>
+	            <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemFocusIn" waitTarget="dateList2" />
+	            <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="dateList2"/>
+	            <AssertPropertyValue target="dateList2.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+			</body>
+		</TestCase>
+        <TestCase testID="DateFieldItemEditor_Scrolling" description="Edit data in a List with a DateField renderer and then scroll" keywords="[Scrolling, DateField, itemEditors]">
+			<setup>
+			    <ResetComponent target="dateList2" className="comps.EditorListDateField" waitEvent="updateComplete" waitTarget="dateList2" />
+			    <RunCode code="createData(application.dateList2);" waitTarget="dateList2"  waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dateList2.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="dateList2"/>
+	            <DispatchMouseClickEvent target="dateList2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="dateList2.itemEditorInstance" />
+	            <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateList2"/>
+	            <DispatchKeyEvent key="TAB" waitEvent="itemFocusIn" waitTarget="dateList2" />
+			    <DispatchMouseEvent target="dateList2.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="dateList2.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="dateList2" />
+	            <DispatchMouseEvent target="dateList2.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="dateList2.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="dateList2" />
+	            <AssertPropertyValue target="dateList2.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+			</body>
+		</TestCase>
+		 <TestCase testID="DateFieldItemEditor_VisualCheck" description="Visual Check of a DateField CellItemEditor" keywords="[List, DateField, itemEditors]">
+			<setup>
+			   <ResetComponent target="dateList2" className="comps.EditorListDateField"  waitTarget="dateList2" />
+			   <RunCode code="createData(application.dateList2);" waitTarget="dateList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <DispatchMouseClickEvent target="dateList2.mx_internal:rendererArray.3.0" localX="4" localY="4" waitEvent="itemEditBegin" waitTarget="dateList2" />
+	           <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/dateFieldItemEditor.png" target="dateList2.mx_internal:rendererArray.3.0" />
+			</body>
+		</TestCase>
+
+<!--ComboBox renderer-->
+        <TestCase testID="ComboBoxItemEditor_Basic" description="Edit data in a List with a ComboBox renderer" keywords="[ComboBox, itemEditors]">
+			<setup>
+			    <RunCode code="createData(application.comboList2);" waitTarget="comboList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="comboList2.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="comboList2" />
+	            <DispatchMouseClickEvent target="comboList2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="comboList2.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="comboList2.itemEditorInstance.dropdown" localX="72" localY="44" waitEvent="close" waitTarget="comboList2.itemEditorInstance" />
+                <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemFocusIn" waitTarget="comboList2" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="comboList2"/>
+			    <AssertPropertyValue target="comboList2.dataProvider.0" propertyName="color" value="Blue" />
+			</body>
+		</TestCase>
+        <TestCase testID="ComboBoxItemEditor_Scrolling" description="Edit data in a List with a ComboBox renderer and then scroll" keywords="[Scrolling, ComboBox, itemEditors]">
+			<setup>
+			    <ResetComponent target="comboList2" className="comps.EditorListComboBox" waitEvent="updateComplete" waitTarget="comboList2" />
+			    <RunCode code="createData(application.comboList2);" waitTarget="comboList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="comboList2.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="comboList2" />
+	            <DispatchMouseClickEvent target="comboList2.itemEditorInstance.getChildAt(1)" localX="4" localY="4" waitEvent="open" waitTarget="comboList2.itemEditorInstance" />
+			    <DispatchMouseClickEvent target="comboList2.itemEditorInstance.dropdown" localX="70" localY="25" waitEvent="close" waitTarget="comboList2.itemEditorInstance" />
+                <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="comboList2" />
+			    <DispatchMouseEvent target="comboList2.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="comboList2.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="comboList2" />
+	            <DispatchMouseEvent target="comboList2.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="comboList2.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="comboList2" />
+	            <AssertPropertyValue target="comboList2.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="comboList2" className="comps.EditorListComboBox"  waitTarget="comboList2" />
+			   <RunCode code="createData(application.comboList2);" waitTarget="comboList2" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <DispatchMouseClickEvent target="comboList2.mx_internal:rendererArray.2.0" localX="4" localY="4" waitEvent="itemFocusIn" waitTarget="comboList2" />
+			   <WaitForEffectsToEnd />
+			   <CompareBitmap url="../baselines/comboBoxItemEditor.png" target="comboList2.mx_internal:rendererArray.2.0" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemRenderer.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemRenderer.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemRenderer.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/List_itemRenderer.mxml Tue Aug  7 15:39:33 2012
@@ -0,0 +1,290 @@
+<?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/List/test_scripts/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="List_itemRendererTests.mxml">
+
+    <mx:Script>
+	<![CDATA[
+
+		import data.ListDataAS;
+        import mx.controls.List;
+
+        private static var dateValue:Date = new Date(2007,4,24);
+		public static function init(o:DisplayObject):void
+		{
+
+		}
+
+		private function createData(dgTarget:List): 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 List with a CheckBox renderer" keywords="[CheckBox, List, itemRenderers]">
+			<setup>
+			    <RunCode code="createData(application.checkList);" waitTarget="checkList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="checkList.mx_internal:rendererArray.0.0" localX="8" localY="8" waitEvent="updateComplete" waitTarget="checkList" />
+			    <DispatchMouseClickEvent target="checkList.mx_internal:rendererArray.1.0" localX="38" localY="8" waitEvent="itemEditEnd" waitTarget="checkList" />
+			    <!--DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="checkList" /-->
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="checkList"/>
+			    <AssertPropertyValue target="checkList.dataProvider.0" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+        <TestCase testID="CheckBoxRenderer_Scrolling" description="Edit data in a List with a CheckBox renderer and then scroll" keywords="[Scrolling, CheckBox, itemRenderers]">
+			<setup>
+			    <ResetComponent target="checkList" className="comps.ListCheckBox" waitEvent="updateComplete" waitTarget="checkList" />
+			    <RunCode code="createData(application.checkList);" waitTarget="checkList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="checkList.mx_internal:rendererArray.1.0" localX="8" localY="8" waitEvent="updateComplete" waitTarget="checkList" />
+	            <DispatchMouseEvent target="checkList.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="checkList.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="checkList" />
+	            <WaitForEffectsToEnd />
+	            <DispatchMouseEvent target="checkList.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="checkList.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="checkList" />
+	            <WaitForEffectsToEnd />
+	            <AssertPropertyValue target="checkList.dataProvider.1" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+		 <TestCase testID="CheckBoxRenderer_VisualCheck" description="Visual Check of a CheckBox CellRenderer" keywords="[CheckBox, List, itemRenderers]">
+			<setup>
+			   <ResetComponent target="checkList" className="comps.ListCheckBox"  waitTarget="checkList" />
+			   <RunCode code="createData(application.checkList);" waitTarget="checkList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/checkBoxRenderer.png" target="checkList.mx_internal:rendererArray.3.0" />
+			</body>
+		</TestCase>
+<!--Button renderer-->
+        <TestCase testID="ButtonRenderer_Basic" description="Edit data in a List with a Button renderer" keywords="[Button, itemRenderers]">
+			<setup>
+			    <RunCode code="createData(application.buttonList);" waitTarget="buttonList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="buttonList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="buttonList" />
+	            <DispatchKeyEvent key="TAB" waitEvent="itemEditEnd" waitTarget="buttonList" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="buttonList"/>
+			    <AssertPropertyValue target="buttonList.dataProvider.0" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+        <TestCase testID="ButtonRenderer_Scrolling" description="Edit data in a List with a Button renderer and then scroll" keywords="[Scrolling, Button, itemRenderers]">
+			<setup>
+			    <ResetComponent target="buttonList" className="comps.ListButton" waitEvent="updateComplete" waitTarget="buttonList" />
+			    <RunCode code="createData(application.buttonList);" waitTarget="buttonList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="buttonList.mx_internal:rendererArray.1.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="buttonList" />
+	            <DispatchMouseEvent target="buttonList.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="buttonList.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="buttonList" />
+	            <DispatchMouseEvent target="buttonList.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="buttonList.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="buttonList" />
+	            <AssertPropertyValue target="buttonList.dataProvider.1" propertyName="available" value="true" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ButtonRenderer_VisualCheck" description="Visual Check of a Button CellRenderer" keywords="[Button, itemRenderers]">
+			<setup>
+			   <ResetComponent target="buttonList" className="comps.ListButton"  waitTarget="buttonList" />
+			   <RunCode code="createData(application.buttonList);" waitTarget="buttonList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/buttonRenderer.png" target="buttonList.mx_internal:rendererArray.3.0" />
+			</body>
+		</TestCase>
+
+<!--NumericStepper renderer-->
+        <TestCase testID="NumericStepperRenderer_Basic" description="Edit data in a List with a NumericStepper renderer" keywords="[NumericStepper, itemRenderers]">
+			<setup>
+			    <RunCode code="createData(application.nsList);" waitTarget="nsList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="nsList" />
+	            <DispatchKeyEvent keys="[UP, UP]" />
+			    <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemEditEnd" waitTarget="nsList" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="nsList"/>
+			    <AssertPropertyValue target="nsList.dataProvider.0" propertyName="quantity" value="2" />
+			</body>
+		</TestCase>
+        <TestCase testID="NumericStepperRenderer_Scrolling" description="Edit data in a List with a NumericStepper renderer and then scroll" keywords="[Scrolling, NumericStepper, itemRenderers]">
+			<setup>
+			    <ResetComponent target="nsList" className="comps.ListNumericStepper" waitEvent="updateComplete" waitTarget="nsList" />
+			    <RunCode code="createData(application.nsList);" waitTarget="nsList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="nsList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="nsList" />
+	            <DispatchKeyEvent keys="[UP, UP]" />
+			    <DispatchMouseEvent target="nsList.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="nsList.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="nsList" />
+	            <DispatchMouseEvent target="nsList.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="nsList.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="nsList" />
+	            <AssertPropertyValue target="nsList.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="nsList" className="comps.ListNumericStepper"  waitTarget="nsList" />
+			   <RunCode code="createData(application.nsList);" waitTarget="nsList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/numStepperRenderer.png" target="nsList.mx_internal:rendererArray.3.0" />
+			</body>
+		</TestCase>
+
+<!--Label renderer-->
+		 <TestCase testID="LabelRenderer_VisualCheck" description="Visual Check of a Label CellRenderer" keywords="[Label, itemRenderers]">
+			<setup>
+			   <ResetComponent target="labelList" className="comps.ListLabel"  waitTarget="labelList" />
+			   <RunCode code="createData(application.labelList);" waitTarget="labelList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/labelRenderer.png" target="labelList.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="textList" className="comps.ListText"  waitTarget="textList" />
+			   <RunCode code="createData(application.textList);" waitTarget="textList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/textRenderer.png" target="textList.mx_internal:rendererArray.2.0" />
+			</body>
+		</TestCase>
+<!--ComboBox renderer-->
+        <TestCase testID="ComboBoxRenderer_Basic" description="Edit data in a List with a ComboBox renderer" keywords="[ComboBox, itemRenderers]">
+			<setup>
+			    <RunCode code="createData(application.comboList);" waitTarget="comboList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="comboList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="comboList" />
+			    <DispatchKeyEvent keys="[DOWN, ENTER]" waitEvent="itemFocusIn" waitTarget="comboList" />
+			    <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemFocusOut" waitTarget="comboList" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="comboList"/>
+			    <AssertPropertyValue target="comboList.dataProvider.0" propertyName="color" value="Green" />
+			</body>
+		</TestCase>
+		<TestCase testID="itemRenderers_bug145199" description="Bug #145199" keywords="[Bugs, 145199, itemRenderers]">
+			<setup>
+				<RunCode code="createData(application.comboList);" waitTarget="comboList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+				<AssertPropertyValue target="comboList.mx_internal:rendererArray.0.0" propertyName="selectedItem" value="Red" />
+			</body>
+		</TestCase>
+        <TestCase testID="ComboBoxRenderer_Scrolling" description="Edit data in a List with a ComboBox renderer and then scroll" keywords="[Scrolling, ComboBox, itemRenderers]">
+			<setup>
+			    <ResetComponent target="comboList" className="comps.ListComboBox" waitEvent="updateComplete" waitTarget="comboList" />
+			    <RunCode code="createData(application.comboList);" waitTarget="comboList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="comboList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="comboList" />
+	            <DispatchKeyEvent keys="[DOWN, ENTER]" waitEvent="itemFocusIn" waitTarget="comboList"/>
+	            <DispatchKeyEvent key="TAB" waitEvent="itemFocusOut" waitTarget="comboList" />
+			    <DispatchMouseEvent target="comboList.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="comboList.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="comboList" />
+	            <DispatchMouseEvent target="comboList.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="comboList.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="comboList" />
+	            <AssertPropertyValue target="comboList.dataProvider.0" propertyName="color" value="Green" />
+			</body>
+		</TestCase>
+		 <TestCase testID="ComboBoxRenderer_VisualCheck" description="Visual Check of a ComboBox CellRenderer" keywords="[ComboBox, itemRenderers]">
+			<setup>
+			   <ResetComponent target="comboList" className="comps.ListComboBox"  waitTarget="comboList" />
+			   <RunCode code="createData(application.comboList);" waitTarget="comboList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/comboBoxRenderer.png" target="comboList.mx_internal:rendererArray.2.0" numColorVariances="4" ignoreMaxColorVariance="true"/>
+			</body>
+		</TestCase>
+		 <TestCase testID="itemRenderers_Bug160800" description="Test for Bug #160800" keywords="[ComboBox, Bugs, 160800, itemRenderers]">
+			<setup>
+			   <ResetComponent target="comboList" className="comps.ListComboBox"  waitTarget="comboList" />
+			   <RunCode code="createData(application.comboList);" waitTarget="comboList" waitEvent="updateComplete" />
+			   <DispatchMouseClickEvent target="comboList.mx_internal:rendererArray.2.0" localX="4" localY="4" waitEvent="open" waitTarget="comboList.mx_internal:rendererArray.2.0" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/itemRenderer_Bug160800.png" target="comboList.mx_internal:rendererArray.2.0.dropdown" />
+			   <DispatchMouseClickEvent target="" localX="4" localY="4" />
+			</body>
+		</TestCase>
+<!--DateField renderer-->
+        <TestCase testID="DateFieldRenderer_Basic" description="Edit data in a List with a DateField renderer" keywords="[DateField, itemRenderers]">
+			<setup>
+			    <RunCode code="createData(application.dateList);" waitTarget="dateList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dateList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="dateList" />
+	            <WaitForEffectsToEnd />
+	            <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateList"/>
+	            <DispatchKeyEvent keys="[TAB, TAB, TAB]" waitEvent="itemFocusIn" waitTarget="dateList" />
+			    <AssertEvent eventName="itemEditEnd" eventClass="mx.events::ListEvent" target="dateList"/>
+			    <AssertPropertyValue target="dateList.dataProvider.0" propertyName="shipDate" valueExpression="value=dateValue" />
+			</body>
+		</TestCase>
+        <TestCase testID="DateFieldRenderer_Scrolling" description="Edit data in a List with a DateField renderer and then scroll" keywords="[Scrolling, DateField, itemRenderers]">
+			<setup>
+			    <ResetComponent target="dateList" className="comps.ListDateField" waitEvent="updateComplete" waitTarget="dateList" />
+			    <RunCode code="createData(application.dateList);" waitTarget="dateList"  waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <DispatchMouseClickEvent target="dateList.mx_internal:rendererArray.0.0" localX="4" localY="4" waitEvent="updateComplete" waitTarget="dateList" />
+	            <DispatchKeyEvent keys="[RIGHT, RIGHT, RIGHT, RIGHT, ENTER]" waitEvent="itemFocusIn" waitTarget="dateList"/>
+	            <DispatchKeyEvent key="TAB" waitEvent="itemFocusOut" waitTarget="dateList" />
+			    <DispatchMouseEvent target="dateList.getChildAt(3)" type="mouseDown" localX="5" localY="90" />
+	            <DispatchMouseEvent target="dateList.getChildAt(3)" type="mouseUp" localX="5" localY="90" waitEvent="scroll" waitTarget="dateList" />
+	            <DispatchMouseEvent target="dateList.getChildAt(3)" type="mouseDown" localX="5" localY="25" />
+	            <DispatchMouseEvent target="dateList.getChildAt(3)" type="mouseUp" localX="5" localY="25" waitEvent="scroll" waitTarget="dateList" />
+	            <AssertPropertyValue target="dateList.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="dateList" className="comps.ListDateField"  waitTarget="dateList" />
+			   <RunCode code="createData(application.dateList);" waitTarget="dateList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			   <CompareBitmap url="../baselines/dateFieldRenderer.png" target="dateList.mx_internal:rendererArray.3.0" />
+			</body>
+		</TestCase>
+	<!-- Image renderer -->
+	    <TestCase testID="ImageRenderer_VisualCheck" description="Visual Check of a Image CellRenderer" keywords="[Image, itemRenderers]">
+			<setup>
+				<ResetComponent target="imageList" className="comps.ListImage"  waitTarget="imageList" waitEvent="updateComplete" />
+				<RunCode code="createData(application.imageList);" waitTarget="imageList" waitEvent="updateComplete" />
+			</setup>
+			<body>
+			    <AssertEvent target="imageList.mx_internal:rendererArray.2.0" eventName="complete" eventClass="flash.events::Event" />
+				<CompareBitmap url="../baselines/imageRenderer.png" target="imageList.mx_internal:rendererArray.2.0" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/AlbumDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/AlbumDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/AlbumDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/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:'Artist A', Album:'Album A', Price:11.99, Available: true },
+						{ Artist:'Artist A', Album:'Album B', Price:10.99, Available: false },
+						{ Artist:'Artist A', Album:'Album C', Price:12.99, Available: true },
+						{ Artist:'Artist A', Album:'Album D', Price:11.99, Available: true },
+						{ Artist:'Artist A', Album:'Album E', Price:11.99, Available: true },
+						{ Artist:'Artist O', Album:'Artist O', Price:5.99, Available: false },
+						{ Artist:'Artist B', Album:'Album F', Price:6.99, Available: false },
+						{ Artist:'Artist C', Album:'Album G', Price:8.99, Available: true },
+						{ Artist:'Artist D', Album:'Album H', Price:16.99, Available: false },
+                     ];
+        }
+    }
+}
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/DaysDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/DaysDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/DaysDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/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/List/test_scripts/data/ListDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/ListDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/ListDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/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/List/test_scripts/data/NameDataAS.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/NameDataAS.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/test_scripts/data/NameDataAS.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/List/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/TileList/SWFs/comps/MyComboBox.as
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/MyComboBox.as?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/MyComboBox.as (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/MyComboBox.as Tue Aug  7 15:39:33 2012
@@ -0,0 +1,31 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 comps {
+
+import mx.controls.*;
+import mx.core.*;
+
+	public class MyComboBox extends ComboBox
+	{
+	   public function MyComboBox()
+	   {
+		  dataProvider = ['Red', 'Fuscia', 'Black', 'White', 'Yellow', 'Green', 'Periwinkle'];
+	   }
+	}
+}

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListButton.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListButton.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListButton.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListButton.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:TileList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{contacts1}"
+    width="200" height="150" >
+
+<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:TileList>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCheckbox.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCheckbox.mxml?rev=1370323&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCheckbox.mxml (added)
+++ incubator/flex/trunk/mustella/tests/itemRenderers/Halo/TileList/SWFs/comps/TListCheckbox.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:TileList xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{contacts1}"
+    width="200" height="150" >
+<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:TileList>
\ No newline at end of file



Mime
View raw message