You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/05/15 21:00:28 UTC

[08/17] git commit: [flex-sdk] [refs/heads/develop] - Need to wait for focusIn now that it is deferred via callLater

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 <ah...@apache.org>
Authored: Tue May 14 15:51:55 2013 -0700
Committer: Alex Harui <ah...@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" />