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/0e77bf49
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0e77bf49
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0e77bf49

Branch: refs/heads/master
Commit: 0e77bf498aa18db327b61b186aaa0c11aac76475
Parents: 29c20ca
Author: Erik de Bruin <[email protected]>
Authored: Wed Jan 7 13:31:18 2015 +0100
Committer: Erik de Bruin <[email protected]>
Committed: Wed Jan 7 13:31:18 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/0e77bf49/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