flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [08/17] git commit: [flex-sdk] [refs/heads/develop] - Need to wait for focusIn now that it is deferred via callLater
Date Wed, 15 May 2013 19:00:28 GMT
Need to wait for focusIn now that it is deferred via callLater


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

Branch: refs/heads/develop
Commit: e2616b7d593f0f0f3a91e5f8c11af032ec268e38
Parents: e659a1e
Author: Alex Harui <aharui@apache.org>
Authored: Tue May 14 15:51:55 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Wed May 15 11:57:26 2013 -0700

----------------------------------------------------------------------
 .../TabBar/Properties/TabBar_properties.mxml       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e2616b7d/mustella/tests/gumbo/components/TabBar/Properties/TabBar_properties.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/gumbo/components/TabBar/Properties/TabBar_properties.mxml b/mustella/tests/gumbo/components/TabBar/Properties/TabBar_properties.mxml
index 5caeb69..d0598c6 100644
--- a/mustella/tests/gumbo/components/TabBar/Properties/TabBar_properties.mxml
+++ b/mustella/tests/gumbo/components/TabBar/Properties/TabBar_properties.mxml
@@ -162,10 +162,10 @@ enabled
          <RunCode code="FlexGlobals.topLevelApplication.setDataProvider(FlexGlobals.topLevelApplication.vgroup1.tabBarFocusTest1,
1)" waitTarget="vgroup1.tabBarFocusTest1" waitEvent="updateComplete" />
     </setup>
     <body>
-        <RunCode code="FlexGlobals.topLevelApplication.vgroup1.textArea1.setFocus()"/>
+        <RunCode code="FlexGlobals.topLevelApplication.vgroup1.textArea1.setFocus()" waitEvent="focusIn"
waitTarget="vgroup1.textArea1"/>
         <WaitForEvent numExpectedEvents="-1" eventName="updateComplete" target="vgroup1.textArea1"
timeout="2000" />
         <DispatchKeyEvent keys="[TAB,TAB,TAB]"/>
-        <RunCode code="FlexGlobals.topLevelApplication.vgroup1.buttonBar1.setFocus()"
/>
+        <RunCode code="FlexGlobals.topLevelApplication.vgroup1.buttonBar1.setFocus()"
waitEvent="focusIn" waitTarget="vgroup1.buttonBar1" />
   	<WaitForEvent numExpectedEvents="-1" eventName="updateComplete" target="vgroup1.buttonBar1"
timeout="2000" />
       
         <DispatchKeyEvent keys="[RIGHT,RIGHT,SPACE]" waitEvent="focusIn" waitTarget="vgroup1.buttonBar1"
/>


Mime
View raw message