incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1386744 - /incubator/flex/sdk/branches/develop/mustella/tests/Managers/StyleManager/SparkStyles/globalSelectors/GlobalStyles_Halotester.mxml
Date Mon, 17 Sep 2012 17:42:43 GMT
Author: cframpton
Date: Mon Sep 17 17:42:43 2012
New Revision: 1386744

URL: http://svn.apache.org/viewvc?rev=1386744&view=rev
Log:
Fix test with timing issue.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/Managers/StyleManager/SparkStyles/globalSelectors/GlobalStyles_Halotester.mxml

Modified: incubator/flex/sdk/branches/develop/mustella/tests/Managers/StyleManager/SparkStyles/globalSelectors/GlobalStyles_Halotester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/Managers/StyleManager/SparkStyles/globalSelectors/GlobalStyles_Halotester.mxml?rev=1386744&r1=1386743&r2=1386744&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/Managers/StyleManager/SparkStyles/globalSelectors/GlobalStyles_Halotester.mxml
(original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/Managers/StyleManager/SparkStyles/globalSelectors/GlobalStyles_Halotester.mxml
Mon Sep 17 17:42:43 2012
@@ -87,11 +87,10 @@
 		</TestCase>
 		<TestCase testID="TextInput_GlobalStyle_compileTime" keywords="[TextInput]" description="Ensure
that TextInput looks correct when global styles are set.">
 			<setup>
+			    <RunCode code="application.textinput1.setSelection(0,1)" waitTarget="textinput1"
waitEvent="updateComplete" />
 			    <RunCode code="application.defaultButton1.setFocus()" waitEvent="focusIn" waitTarget="defaultButton1"
/>
 			    <DispatchKeyEvent key="TAB" waitTarget="textarea1" waitEvent="focusIn" />
 			    <DispatchKeyEvent key="TAB" waitTarget="textinput1" waitEvent="focusIn" />
-			    <RunCode code="application.textinput1.setSelection(0,1)" waitTarget="textinput1"
waitEvent="updateComplete" />
-				<Pause timeout="200" /><!-- must use pause.  If you use enterframe listeners
the player doesn't update the selection -->
 			</setup>
 			<body>
 				<AssertStyleValue target="textinput1" styleName="chromeColor" value="0xFFCC99"/>



Mime
View raw message