flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - Fix test script broken by delaying actual focus to TextInput
Date Fri, 10 May 2013 17:28:34 GMT
Updated Branches:
  refs/heads/develop d7a7b4f29 -> a4cb8041f


Fix test script broken by delaying actual focus to TextInput


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

Branch: refs/heads/develop
Commit: a4cb8041faef323eda03bdbda5778fef28b7c25d
Parents: d7a7b4f
Author: Alex Harui <aharui@apache.org>
Authored: Fri May 10 10:25:59 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri May 10 10:27:43 2013 -0700

----------------------------------------------------------------------
 .../spark/scripts/TextInputTestScript.mxml         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a4cb8041/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
----------------------------------------------------------------------
diff --git a/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml b/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
index b40a0ef..9197b26 100644
--- a/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
+++ b/frameworks/tests/basicTests/spark/scripts/TextInputTestScript.mxml
@@ -51,7 +51,7 @@
 		</TestCase>
 		<TestCase testID="SparkTextInputTest1">
 			<body>
-				<DispatchMouseClickEvent target="sparkTextInputTests.testTextInput" localX="10" localY="10"
/>
+				<DispatchMouseClickEvent target="sparkTextInputTests.testTextInput" localX="10" localY="10"
waitEvent="focusIn"/>
 				<DispatchKeyEvent char="This is another test." waitEvent="change" waitTarget="sparkTextInputTests.testTextInput"
/>
 				<AssertPropertyValue target="sparkTextInputTests.testTextInput" propertyName="text"
value="This is another test." />
 				<AssertPropertyValue target="sparkTextInputTests.testTextInput.textDisplay" propertyName="text"
value="This is another test." />


Mime
View raw message