incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370370 [4/43] - in /incubator/flex/trunk/mustella/tests/mx: ./ binding/ binding/utils/ binding/utils/BindingUtils/ binding/utils/BindingUtils/SWFs/ binding/utils/BindingUtils/SWFs/assets/ binding/utils/BindingUtils/method/ binding/utils/C...
Date Tue, 07 Aug 2012 17:13:35 GMT
Added: incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DragDropList.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DragDropList.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DragDropList.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DragDropList.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,503 @@
+<?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="mx/collections/AsyncListView/integration/"
+	xmlns:mx="http://www.adobe.com/2006/mxml"
+	xmlns="*"
+	xmlns:assets="assets.*"
+	testSWF="AsyncListView_App1.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+
+		import assets.*;
+		import mx.collections.*;
+		import mx.core.FlexGlobals;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+	Test a small handful of drag/drop test cases.
+
+	Note that coordinates 5,5 are in the upper half of the list items, so things will get dropped above
+	the item on which the mouseUp occurs.  10,10 is the bottom half of an item, so things will get dropped
+	below those.
+
+Sample:
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseUp" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+	</body>
+
+-->
+
+<!--
+===============================
+Move pending items.
+Not supported in Flex 4!
+===============================
+-->
+<!-- SDK-23866, SDK-23868: RTEs, generally doesn't work  yet. -->
+
+
+<!--
+===============================
+Move received items.
+===============================
+-->
+<TestCase testID="integration_DragDropList_set2_test1" keywords="[AsyncListView,DragDropList]" description="Move the first received item." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 1 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test2" keywords="[AsyncListView,DragDropList]" description="Move a middle received item." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 3 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test3" keywords="[AsyncListView,DragDropList]" description="Move the last received item." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 4 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 1 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 3 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test4" keywords="[AsyncListView,DragDropList]" description="Move the first received item, then receive all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 2 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test5" keywords="[AsyncListView,DragDropList]" description="Move a middle received item, then receive all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 2 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 3 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test6" keywords="[AsyncListView,DragDropList]" description="Move the last received item, then receive all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 4 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 2 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 3 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test7" keywords="[AsyncListView,DragDropList]" description="Move a middle received item to the top, then receive all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 2 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test8" keywords="[AsyncListView,DragDropList]" description="Move a middle received item to the bottom, then receive all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" localX="10" localY="10" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" localX="10" localY="10" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 3 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 4 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 2 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test9" keywords="[AsyncListView,DragDropList]" description="Move the first received item, then fail all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test10" keywords="[AsyncListView,DragDropList]" description="Move a middle received item, then fail all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test11" keywords="[AsyncListView,DragDropList]" description="Move the last received item, then fail all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 4 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test12" keywords="[AsyncListView,DragDropList]" description="Move a middle received item to the top, then fail all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseUp" localX="5" localY="5" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 2 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test13" keywords="[AsyncListView,DragDropList]" description="Move a middle received item to the bottom, then fail all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseDown" buttonDown="true" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" localX="10" localY="10" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" localX="10" localY="10" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 2 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test14" keywords="[AsyncListView,DragDropList]" description="Move first two received items, then fail all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj10.theList.dataGroup.getElementAt(0)" localX="5" localY="5" />
+		<WaitForEffectsToEnd />
+		<DispatchMouseClickEvent target="obj10.theList.dataGroup.getElementAt(1)" localX="5" localY="5" shiftKey="true" />
+		<WaitForEffectsToEnd />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseDown" buttonDown="true" shiftKey="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" shiftKey="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseMove" buttonDown="true" shiftKey="true" localX="10" localY="10" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseMove" buttonDown="true" shiftKey="true" localX="10" localY="10" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(4)" type="mouseUp" shiftKey="true" localX="10" localY="10" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(0)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(1)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 1 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DragDropList_set2_test15" keywords="[AsyncListView,DragDropList]" description="Move last two received items, then receive all items." >
+	<setup>
+		<ResetComponent target="obj10" className="assets.PagedDataComp10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.setup(0,5)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.receiveItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj10.theList.dataGroup.getElementAt(4)" localX="5" localY="5" />
+		<WaitForEffectsToEnd />
+		<DispatchMouseClickEvent target="obj10.theList.dataGroup.getElementAt(3)" localX="5" localY="5" shiftKey="true" />
+		<WaitForEffectsToEnd />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseOver" localX="5" localY="5" />
+ 		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(3)" type="mouseDown" buttonDown="true" shiftKey="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(2)" type="mouseMove" buttonDown="true" shiftKey="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(1)" type="mouseMove" buttonDown="true" shiftKey="true" localX="10" localY="10" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseMove" buttonDown="true" shiftKey="true" localX="5" localY="5" />
+		<DispatchMouseEvent target="obj10.theList.dataGroup.getElementAt(0)" type="mouseUp" shiftKey="true" localX="10" localY="10" />
+		<WaitForEffectsToEnd/>
+
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(2)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(3)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj10.theSimulator.failItem(4)" waitTarget="obj10.theList.dataGroup" waitEvent="updateComplete" />
+
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 3 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 4 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(3).nameLabel.text" value="item 3 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj10.theList.dataGroup.getElementAt(4).nameLabel.text" value="item 4 failed" />
+	</body>
+</TestCase>
+
+
+
+</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DropDownList.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DropDownList.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DropDownList.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_DropDownList.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<UnitTester 
+	testDir="mx/collections/AsyncListView/integration/"
+	xmlns:mx="http://www.adobe.com/2006/mxml" 
+	xmlns="*" 
+	xmlns:assets="assets.*"
+	testSWF="AsyncListView_App1.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+
+		import assets.*;
+		import mx.collections.*;
+		import mx.core.FlexGlobals;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<TestCase testID="integration_DropDownList_test1" keywords="[AsyncListView,DropDownList]" description="Verify items in dropdown when all pending." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12)" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theList.openDropDown()" waitTarget="obj9.theList" waitEvent="open" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(0).label" value="item 0 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(1).label" value="item 1 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(2).label" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(3).label" value="item 3 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(4).label" value="item 4 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(5).label" value="item 5 pending" />
+		
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theList.ensureIndexIsVisible(11)" waitTarget="obj9.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(6).label" value="item 6 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(7).label" value="item 7 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(8).label" value="item 8 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(9).label" value="item 9 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(10).label" value="item 10 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(11).label" value="item 11 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test2a" keywords="[AsyncListView,DropDownList]" description="Verify items in dropdown when some pending/some failed." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theList.openDropDown()" waitTarget="obj9.theList" waitEvent="open" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.failPage()" waitTarget="obj9.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(0).label" value="item 0 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(1).label" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(2).label" value="item 2 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(3).label" value="item 3 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(4).label" value="item 4 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(5).label" value="item 5 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test2b" keywords="[AsyncListView,DropDownList]" description="Verify items in dropdown when some pending/some failed." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theList.openDropDown()" waitTarget="obj9.theList" waitEvent="open" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.alv.getItemAt(11)" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.failItem(11)" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(0).label" value="item 0 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(1).label" value="item 1 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(2).label" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(3).label" value="item 3 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(4).label" value="item 4 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(5).label" value="item 5 pending" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theList.ensureIndexIsVisible(11)" waitTarget="obj9.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(6).label" value="item 6 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(7).label" value="item 7 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(8).label" value="item 8 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(9).label" value="item 9 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(10).label" value="item 10 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(11).label" value="item 11 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test3" keywords="[AsyncListView,DropDownList]" description="Verify items in dropdown when some pending/some present." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theList.openDropDown()" waitTarget="obj9.theList" waitEvent="open" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.receivePage()" waitTarget="obj9.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(0).label" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(1).label" value="item 1 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(2).label" value="item 2 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(3).label" value="item 3 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(4).label" value="item 4 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj9.theList.dataGroup.getElementAt(5).label" value="item 5 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test4" keywords="[AsyncListView,DropDownList]" description="Choose pending item." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<SetProperty target="obj9.theList" propertyName="selectedIndex" value="0" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj9.theList.selectedItem" propertyName="info" value="item 0 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test5" keywords="[AsyncListView,DropDownList]" description="Choose present item." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.alv.getItemAt(0)" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.receivePage()" />
+		<SetProperty target="obj9.theList" propertyName="selectedIndex" value="0" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj9.theList.selectedItem" propertyName="info" value="item 0 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test6" keywords="[AsyncListView,DropDownList]" description="Choose failed item." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.alv.getItemAt(0)" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.failPage()" />
+		<SetProperty target="obj9.theList" propertyName="selectedIndex" value="0" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj9.theList.selectedItem" propertyName="info" value="item 0 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test7" keywords="[AsyncListView,DropDownList]" description="Choose pending item, it pages in." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<SetProperty target="obj9.theList" propertyName="selectedIndex" value="0" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.receivePage()" />
+		<AssertPropertyValue target="obj9.theList.selectedItem" propertyName="info" value="item 0 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="integration_DropDownList_test8" keywords="[AsyncListView,DropDownList]" description="Choose pending item, it fails." >
+	<setup>
+		<ResetComponent target="obj9" className="assets.PagedDataComp9" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.setup(0,12,0,3)" />
+	</setup>
+	<body>
+		<SetProperty target="obj9.theList" propertyName="selectedIndex" value="0" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj9.theSimulator.failPage()" />
+		<AssertPropertyValue target="obj9.theList.selectedItem" propertyName="info" value="item 0 failed" />
+	</body>
+</TestCase>
+
+</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_arbitraryTests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_arbitraryTests.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_arbitraryTests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_arbitraryTests.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,131 @@
+<?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="mx/collections/AsyncListView/integration/"
+	xmlns:mx="http://www.adobe.com/2006/mxml"
+	xmlns="*"
+	xmlns:assets="assets.*"
+	testSWF="AsyncListView_App1.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+
+		import assets.*;
+		import mx.collections.*;
+		import mx.core.FlexGlobals;
+
+	]]>
+	</mx:Script>
+
+<!--
+Reminder:
+	public function setup( responseDelay:int = 500,
+		numItems:int = 100,
+		numPreloadedPages:int = 0,
+		pageSize:int = 1,
+		mode:String = 'manual',
+		failureProbability:int = 0,
+		createPendingItemFunction:Boolean = true,
+		createFailedItemFunction:Boolean = true):void{
+-->
+
+	<testCases>
+
+<TestCase testID="arbitrary_test1" keywords="[AsyncListView]" description="Unsupported config. doesn't cause destruction." >
+	<setup>
+		<ResetComponent target="obj3" className="assets.PagedDataComp3" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj3.theView.getItemAt(0).info" value="item 0 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj3.theView.getItemAt(1).info" value="item 1 pending" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj3.items.receivePage()" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj3.items.failPage()" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj3.theView.getItemAt(0).info" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj3.theView.getItemAt(1).info" value="item 1 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="arbitrary_test2" keywords="[AsyncListView]" description="Point 2 Lists to the same AsyncListView." >
+	<setup>
+		<ResetComponent target="obj4" className="assets.PagedDataComp4" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj4.items.receivePage()" waitTarget="obj4.list1.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj4.items.failPage()" waitTarget="obj4.list1.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj4.list1.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj4.list1.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj4.list1.dataGroup.getElementAt(2).nameLabel.text" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj4.list2.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj4.list2.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj4.list2.dataGroup.getElementAt(2).nameLabel.text" value="item 2 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="arbitrary_test3" keywords="[AsyncListView]" description="Simple test to make an itemRenderer use data to determine its appearance." >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(1,3,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receivePage()" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failPage()" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj1.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj1.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj1.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 pending" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj1.theList.dataGroup.getElementAt(0).theRect.fill.color" valueExpression="value = 0xffffff" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj1.theList.dataGroup.getElementAt(1).theRect.fill.color" valueExpression="value = 0xffeeee" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj1.theList.dataGroup.getElementAt(2).theRect.fill.color" valueExpression="value = 0xeeffee" />
+		<CompareBitmap target="obj1" url="../integration/baselines/$testID.png" numColorVariances="10" maxColorVariance="100" />
+	</body>
+</TestCase>
+
+<TestCase testID="arbitrary_test4" keywords="[AsyncListView]" description="Simple test to make an itemRenderer use data binding." >
+	<setup>
+		<ResetComponent target="obj5" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj5.setup(0,3,0,1)" waitTarget="obj5.theList.dataGroup" waitEvent="updateComplete" />
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj5.items.receivePage()" waitTarget="obj5.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj5.items.failPage()" waitTarget="obj5.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj5.theList.dataGroup.getElementAt(0).nameLabel.text" value="item 0 present" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj5.theList.dataGroup.getElementAt(1).nameLabel.text" value="item 1 failed" />
+		<AssertMethodValue method="value = FlexGlobals.topLevelApplication.obj5.theList.dataGroup.getElementAt(2).nameLabel.text" value="item 2 pending" />
+	</body>
+</TestCase>
+
+
+
+</testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_listSelectionProperties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_listSelectionProperties.mxml?rev=1370370&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_listSelectionProperties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/mx/collections/AsyncListView/integration/AsyncListView_integration_listSelectionProperties.mxml Tue Aug  7 17:13:06 2012
@@ -0,0 +1,335 @@
+<?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="mx/collections/AsyncListView/integration/"
+	xmlns:mx="http://www.adobe.com/2006/mxml" 
+	xmlns="*" 
+	xmlns:assets="assets.*"
+	testSWF="AsyncListView_App1.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+
+		import assets.*;
+		import mx.collections.*;
+		import mx.core.FlexGlobals;
+
+	]]>
+	</mx:Script>
+
+<!--
+Test list selection with paged data.  This is the List's API...nothing tricky going on.
+	- selectedItem
+	- selectedIndex
+	- selectedItems
+	- selectedIndices
+Select items using DispatchMouseClickEvent.  e.g.
+<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(2)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+
+Reminder:
+	public function setup( responseDelay:int = 500,
+		numItems:int = 100,
+		numPreloadedPages:int = 0,
+		pageSize:int = 1,
+		mode:String = 'manual',
+		failureProbability:int = 0,
+		createPendingItemFunction:Boolean = true,
+		createFailedItemFunction:Boolean = true):void{
+-->
+
+	<testCases>
+
+<TestCase testID="listSelection_selectedItem_test1" keywords="[AsyncListView]" description="selectedItem, select a pending item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItem" propertyName="info" value="item 1 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItem_test2" keywords="[AsyncListView]" description="selectedItem, select a failed item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItem" propertyName="info" value="item 1 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItem_test3" keywords="[AsyncListView]" description="selectedItem, select a present item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItem" propertyName="info" value="item 1 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItem_test4" keywords="[AsyncListView]" description="selectedItem, select a pending item, get it" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItem" propertyName="info" value="item 1 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItem_test5" keywords="[AsyncListView]" description="selectedItem, select a pending item, fail it" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItem" propertyName="info" value="item 1 failed" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndex_test1" keywords="[AsyncListView]" description="selectedIndex, select a pending item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList" propertyName="selectedIndex" value="1" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndex_test2" keywords="[AsyncListView]" description="selectedIndex, select a failed item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList" propertyName="selectedIndex" value="1" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndex_test3" keywords="[AsyncListView]" description="selectedIndex, select a present item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList" propertyName="selectedIndex" value="1" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndex_test4" keywords="[AsyncListView]" description="selectedIndex, select a pending item, get it" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList" propertyName="selectedIndex" value="1" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndex_test5" keywords="[AsyncListView]" description="selectedIndex, select a pending item, fail it" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList" propertyName="selectedIndex" value="1" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItems_test1" keywords="[AsyncListView]" description="selectedItems, select all kinds of items" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(1)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(3)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.0" propertyName="info" value="item 3 pending" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.1" propertyName="info" value="item 2 failed" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.2" propertyName="info" value="item 1 present" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItems_test2" keywords="[AsyncListView]" description="selectedItems, select all kinds of items, then fail a pending item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(3)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(3)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.0" propertyName="info" value="item 3 failed" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.1" propertyName="info" value="item 2 failed" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.2" propertyName="info" value="item 1 present" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.3" propertyName="info" value="item 0 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItems_test3" keywords="[AsyncListView]" description="selectedItems, select all kinds of items, then page in a pending item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(3)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(3)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.0" propertyName="info" value="item 3 present" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.1" propertyName="info" value="item 2 failed" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.2" propertyName="info" value="item 1 present" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.3" propertyName="info" value="item 0 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedItems_test4" keywords="[AsyncListView]" description="selectedItems, select all kinds of items, then page in and fail pending items" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(4)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(3)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(4)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.0" propertyName="info" value="item 4 present" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.1" propertyName="info" value="item 3 failed" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.2" propertyName="info" value="item 2 failed" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.3" propertyName="info" value="item 1 present" />
+		<AssertPropertyValue target="obj1.theList.selectedItems.4" propertyName="info" value="item 0 pending" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndices_test1" keywords="[AsyncListView]" description="selectedIndices, select all kinds of items" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(2)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="0" value="2" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="1" value="1" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="2" value="0" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndices_test2" keywords="[AsyncListView]" description="selectedIndices, select all kinds of items, then fail a pending item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(2)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(0)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="0" value="2" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="1" value="1" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="2" value="0" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndices_test3" keywords="[AsyncListView]" description="selectedIndices, select all kinds of items, then page in a pending item" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(2)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(0)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="0" value="2" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="1" value="1" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="2" value="0" />
+	</body>
+</TestCase>
+
+<TestCase testID="listSelection_selectedIndices_test4" keywords="[AsyncListView]" description="selectedIndices, select all kinds of items, then page in and fail pending items" >
+	<setup>
+		<ResetComponent target="obj1" className="assets.PagedDataComp1" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.setup(0,20,0,1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />	
+	</setup>
+	<body>
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(0)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(1)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(0)" localX="10" localY="10" waitEvent="updateComplete" />
+		<DispatchMouseClickEvent target="obj1.theList.dataGroup.getElementAt(3)" localX="10" localY="10" waitEvent="updateComplete" shiftKey="true" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.receiveItem(2)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<RunCode code="FlexGlobals.topLevelApplication.obj1.items.failItem(3)" waitTarget="obj1.theList.dataGroup" waitEvent="updateComplete" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="0" value="3" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="1" value="2" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="2" value="1" />
+		<AssertPropertyValue target="obj1.theList.selectedIndices" propertyName="3" value="0" />
+	</body>
+</TestCase>
+
+</testCases>
+</UnitTester>
\ No newline at end of file



Mime
View raw message