Fix test to match 'new' selectedIndices value (FLEX-34657)

Signed-off-by: Erik de Bruin <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/76b9ad2b
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/76b9ad2b
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/76b9ad2b

Branch: refs/heads/develop
Commit: 76b9ad2bbfb0a0415e18376fbcd980f952ca0b6b
Parents: 764cdb6
Author: Erik de Bruin <[email protected]>
Authored: Wed Jan 7 13:31:18 2015 +0100
Committer: Erik de Bruin <[email protected]>
Committed: Thu Jan 8 10:34:48 2015 +0100

----------------------------------------------------------------------
 .../mobile/components/List/integration/List_Integration.mxml     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/76b9ad2b/mustella/tests/mobile/components/List/integration/List_Integration.mxml
----------------------------------------------------------------------
diff --git 
a/mustella/tests/mobile/components/List/integration/List_Integration.mxml 
b/mustella/tests/mobile/components/List/integration/List_Integration.mxml
index 56b45b5..4d07929 100644
--- a/mustella/tests/mobile/components/List/integration/List_Integration.mxml
+++ b/mustella/tests/mobile/components/List/integration/List_Integration.mxml
@@ -109,7 +109,7 @@
                 <DispatchMouseClickEvent localX="5" localY="5" 
target="navigator.activeView.target.dataGroup.getElementAt(2)" 
waitTarget="navigator.activeView.target" 
waitEvent="selectedAndShowsCaretStateEnteredOnItem2" />
                 <DispatchMouseClickEvent localX="5" localY="5" 
target="navigator.activeView.target.dataGroup.getElementAt(4)" 
waitTarget="navigator.activeView.target" 
waitEvent="selectedAndShowsCaretStateEnteredOnItem4" />
                 
-                <AssertPropertyValue target="navigator.activeView.target" 
propertyName="selectedIndices" value="4,0,2" />
+                <AssertPropertyValue target="navigator.activeView.target" 
propertyName="selectedIndices" value="4,2,0" />
                 <AssertPixelValue 
target="navigator.activeView.target.dataGroup.getElementAt(0)" x="5" y="5" 
value="0x0000AA" />
                 <AssertPixelValue 
target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" 
value="0xAAAAAA" />
                 <AssertPixelValue 
target="navigator.activeView.target.dataGroup.getElementAt(2)" x="5" y="5" 
value="0x0000AA" />
@@ -146,7 +146,7 @@
                 <DispatchKeyEvent keyLocation="4" keyCode="40" 
waitTarget="navigator.activeView.target" /><!-- 5way down -->
                 <DispatchKeyEvent keyLocation="4" keyCode="13" 
waitTarget="navigator.activeView.target" waitEvent="updateComplete" /><!-- 5way 
enter -->
                 
-                <AssertPropertyValue target="navigator.activeView.target" 
propertyName="selectedIndices" value="4,0,2" />
+                <AssertPropertyValue target="navigator.activeView.target" 
propertyName="selectedIndices" value="4,2,0" />
                 <AssertPixelValue 
target="navigator.activeView.target.dataGroup.getElementAt(0)" x="5" y="5" 
value="0x0000AA" />
                 <AssertPixelValue 
target="navigator.activeView.target.dataGroup.getElementAt(1)" x="5" y="5" 
value="0xAAAAAA" />
                 <AssertPixelValue 
target="navigator.activeView.target.dataGroup.getElementAt(2)" x="5" y="5" 
value="0x0000AA" />

Reply via email to