incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1394585 [3/3] - in /incubator/flex/sdk/branches/develop/mustella: as3/src/mustella/ tests/components/DataGrid/DataGrid_SparkSkin/Properties/ tests/components/RadioButton/Integration/ tests/gumbo/components/ListDragDrop/SparkDND/ tests/mx/e...
Date Fri, 05 Oct 2012 15:25:25 GMT
Modified: incubator/flex/sdk/branches/develop/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml?rev=1394585&r1=1394584&r2=1394585&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/mx/effects/effectClasses/AddRemoveEffectTargetFilter/usability/AddRemoveEffectTargetFilter_usability.mxml
Fri Oct  5 15:25:25 2012
@@ -45,15 +45,15 @@
         <TestCase testID="AddRemoveEffectTargetFilter_addItem" keywords="[AddRemoveEffectTargetFilter,
usability]" description="Add an item to a list with a data effect.">
             <body>
                 <RunCode code="application.addListItem();" waitTarget="dataChangeEffect1"
waitEvent="effectEnd"/>
-                <CompareBitmap target="tlist0" url="../usability/baseline/AddRemoveEffectTargetFilter_addItem.png"
numColorVariances="2"/>
+                <CompareBitmap target="tlist0" url="../usability/baseline/AddRemoveEffectTargetFilter_addItem.png"
numColorVariances="1" maxColorVariance="1"/>
             </body>
         </TestCase>
 
-        <!-- AddItem -->
+        <!-- RemoveItem -->
         <TestCase testID="AddRemoveEffectTargetFilter_removeItem" keywords="[AddRemoveEffectTargetFilter,
usability]" description="Remove an item from the list with a data effect.">
             <body>
                 <RunCode code="application.removeListItem();" waitTarget="dataChangeEffect1"
waitEvent="effectEnd"/>
-                <CompareBitmap target="tlist0" url="../usability/baseline/AddRemoveEffectTargetFilter_removeItem.png"
numColorVariances="2"/>
+                <CompareBitmap target="tlist0" url="../usability/baseline/AddRemoveEffectTargetFilter_removeItem.png"
numColorVariances="1" maxColorVariance="1"/>
             </body>
         </TestCase>
     </testCases>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml?rev=1394585&r1=1394584&r2=1394585&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/spark/collections/Sort/GumboComponents/SF_ORIG_list_keyboardNavigation_tester.mxml
Fri Oct  5 15:25:25 2012
@@ -1,211 +1,211 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
 
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
+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="spark/collections/Sort/GumboComponents/" 
 			xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" 
 			xmlns:s="library://ns.adobe.com/flex/spark"
-xmlns="*" testSWF="SF_ORIG_ListBasic.mxml">
-
-    <!-- this set of lines form a template that must be in each unit test -->
-
-    <fx:Script>
-        <![CDATA[
-        public static function init(o:DisplayObject):void
-        {
-        }
-        ]]>
-    </fx:Script>
-
-    <fx:Metadata>
-        <![CDATA[
-            [Mixin]
-        ]]>
-    </fx:Metadata>
-    <!-- end of set of lines that must be in each unit test -->
-    <fx:Script>
-    <![CDATA[
-
-        import comps.*;
-        import mx.collections.*;
-        import spark.layouts.*;
-
-    ]]>
-    </fx:Script>
-    <testCases>
-        <TestCase testID="List_keyboardNavigation1" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-                <RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-       <TestCase testID="List_keyboardNavigation2" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[END]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-       <TestCase testID="List_keyboardNavigation3" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[END]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
-		<RunCode code="application.ac.addItemAt(application.newPlayer, 3);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-                <DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
-
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-
-        <TestCase testID="List_keyboardNavigation4" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-		<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-                <DispatchKeyEvent keys="[DOWN]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[DOWN]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-       <TestCase testID="List_keyboardNavigation5" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-		<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[END]" shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-       <TestCase testID="List_keyboardNavigation6" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-		<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[END]" shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-		<RunCode code="application.ac.addItemAt(application.newPlayer, 3);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-                <DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-        <TestCase testID="List_keyboardNavigation7" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-
+			xmlns="*" testSWF="SF_ORIG_ListBasic.mxml">
+	
+	<!-- this set of lines form a template that must be in each unit test -->
+	
+	<fx:Script>
+		<![CDATA[
+			public static function init(o:DisplayObject):void
+			{
+			}
+		]]>
+	</fx:Script>
+	
+	<fx:Metadata>
+		<![CDATA[
+		[Mixin]
+		]]>
+	</fx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+	<fx:Script>
+		<![CDATA[
+			
+			import comps.*;
+			import mx.collections.*;
+			import spark.layouts.*;
+			
+		]]>
+	</fx:Script>
+	<testCases>
+		<TestCase testID="List_keyboardNavigation1" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation2" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[END]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation3" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[END]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 3);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
+				
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="List_keyboardNavigation4" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<DispatchKeyEvent keys="[DOWN]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[DOWN]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation5" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[END]" shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation6" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[END]" shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 3);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation7" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<DispatchKeyEvent keys="[DOWN]"  ctrlKey="true" />
+				<SetProperty target="list1" propertyName="width" value="100" />
+				<DispatchKeyEvent keys="[DOWN]"  ctrlKey="true" />
+				<SetProperty target="list1" propertyName="height" value="115" waitEvent="updateComplete"
/>
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" numColorVariances="4"
maxColorVariance="1"/>
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation8" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
+				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
+				<DispatchKeyEvent keys="[END]" shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<DispatchKeyEvent keys="[UP]"  shiftKey="true" ctrlKey="true" />
+				<DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+		<TestCase testID="List_keyboardNavigation9" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
+			<setup>
+				<ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
+				<ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
+				<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
+			</setup>
+			<body>
+				<RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
+				<SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
 				<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
-                <RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-                <DispatchKeyEvent keys="[DOWN]"  ctrlKey="true" />
-                <SetProperty target="list1" propertyName="width" value="100" />
-                <DispatchKeyEvent keys="[DOWN]"  ctrlKey="true" />
- 				<SetProperty target="list1" propertyName="height" value="115" waitEvent="updateComplete"
/>
-				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" numColorVariances="4"/>
-            </body>
-        </TestCase>
-       <TestCase testID="List_keyboardNavigation8" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-		<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[END]" shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <DispatchKeyEvent keys="[UP]"  shiftKey="true" ctrlKey="true" />
-                <DispatchKeyEvent keys="[UP]"  shiftKey="true" waitTarget="list1" waitEvent="updateComplete"/>
-                <RunCode code="application.ac.addItemAt(application.newPlayer, 0);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-       <TestCase testID="List_keyboardNavigation9" keywords="[List, method,arrayCollection,binding,
dataProvider.addItemAt]" description="">
-            <setup>
-                <ResetComponent target="list1" className="spark.components.List" waitEvent="updateComplete"
/>
-                <ResetComponent target="list2" className="spark.components.List" waitEvent="updateComplete"
/>
-		<SetProperty target="list1" propertyName="allowMultipleSelection" value="true" />
-            </setup>
-            <body>
-                <RunCode code="application.list1.itemRenderer=new ClassFactory(comps.PlayerRenderer);"
 />
-                <SetProperty target="list1" propertyName="dataProvider" valueExpression="value=application.sortAC();"
waitEvent="updateComplete" waitTarget="list1.dataGroup"/>
-		<DispatchKeyEvent keys="[TAB]" waitTarget="list1" waitEvent="focusIn" />
-                <DispatchKeyEvent keys="[END]" shiftKey="true" ctrlKey="true" waitEvent="caretChange"
 waitTarget="list1"/>
-		<RunCode code="application.ac.addItemAt(application.newPlayer, 3);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
-                <DispatchKeyEvent keys="[UP]"  shiftKey="true" ctrlKey="true" waitEvent="caretChange"
 waitTarget="list1"/>
-                <DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
-		<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
-            </body>
-        </TestCase>
-    </testCases>
+				<DispatchKeyEvent keys="[END]" shiftKey="true" ctrlKey="true" waitEvent="caretChange"
 waitTarget="list1"/>
+				<RunCode code="application.ac.addItemAt(application.newPlayer, 3);" waitEvent="updateComplete"
 waitTarget="list1.dataGroup" />
+				<DispatchKeyEvent keys="[UP]"  shiftKey="true" ctrlKey="true" waitEvent="caretChange"
 waitTarget="list1"/>
+				<DispatchKeyEvent keys="[DOWN]"  waitTarget="list1" waitEvent="updateComplete"/>
+				<CompareBitmap url="../GumboComponents/baselines/$testID.png" target="list1" />
+			</body>
+		</TestCase>
+	</testCases>
 </UnitTester>



Mime
View raw message