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 timing problem in Alert test
Date Fri, 07 Jun 2013 21:20:10 GMT
Updated Branches:
  refs/heads/develop 887440997 -> 343a0cdbf


fix timing problem in Alert test


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

Branch: refs/heads/develop
Commit: 343a0cdbf6dd2f5213f7146b859c381a032bb920
Parents: 8874409
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jun 7 14:19:36 2013 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jun 7 14:20:00 2013 -0700

----------------------------------------------------------------------
 .../Alert/Properties/Alert_Properties.mxml         |    4 ++--
 ...ayoutDirection_direction_rtl_with_alertIcon.png |  Bin 6492 -> 6498 bytes
 ...tDirection_direction_rtl_with_alertIcon.png.xml |    2 +-
 .../Alert/Styles/baselines/letterSpacing.png       |  Bin 2737 -> 2736 bytes
 4 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/343a0cdb/mustella/tests/components/Alert/Properties/Alert_Properties.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/Alert/Properties/Alert_Properties.mxml b/mustella/tests/components/Alert/Properties/Alert_Properties.mxml
index 1285f0d..c6b4845 100644
--- a/mustella/tests/components/Alert/Properties/Alert_Properties.mxml
+++ b/mustella/tests/components/Alert/Properties/Alert_Properties.mxml
@@ -451,12 +451,12 @@
 				<RunCode code="application.curAlert= Alert.show('Alert String', 'Alert title', 3,
null, null, myIcon);" />
 				<RunCode code="application.curAlert.status='Alert status'"/>
 				<SetProperty propertyName="layoutDirection" target="curAlert" value="rtl"/>
-				<SetStyle styleName="direction" target="curAlert" value="rtl"/>
+				<SetStyle styleName="direction" target="curAlert" value="rtl" waitEvent="updateComplete"/>
 				<WaitForEffectsToEnd />
 			</setup>
 			<body>
-                <WaitForLayoutManager />
 				<CompareBitmap url="../Properties/baselines/$testID.png" target="curAlert"/>
+                <DispatchKeyEvent key="SPACE" />
 			</body>
 		</TestCase>
 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/343a0cdb/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png
b/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png
index 5f7f25e..3c29aec 100644
Binary files a/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png
and b/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png
differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/343a0cdb/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png.xml
----------------------------------------------------------------------
diff --git a/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png.xml
b/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png.xml
index d9d8bb3..2892e2a 100644
--- a/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png.xml
+++ b/mustella/tests/components/Alert/Properties/baselines/Alert_layoutDirection_direction_rtl_with_alertIcon.png.xml
@@ -1,5 +1,5 @@
 <DisplayList>
-  <Alert_Basic width="750" height="600">
+  <Alert_Basic width="750" height="600" cacheAsBitmap="true" filters="[object BlurFilter]">
     <mx.skins.halo.HaloBorder width="750" height="600"/>
     <mx.controls.TextInput x="295" y="24" width="160" height="24">
       <mx.skins.halo.HaloBorder width="160" height="24"/>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/343a0cdb/mustella/tests/components/Alert/Styles/baselines/letterSpacing.png
----------------------------------------------------------------------
diff --git a/mustella/tests/components/Alert/Styles/baselines/letterSpacing.png b/mustella/tests/components/Alert/Styles/baselines/letterSpacing.png
index 0cd8790..e345848 100644
Binary files a/mustella/tests/components/Alert/Styles/baselines/letterSpacing.png and b/mustella/tests/components/Alert/Styles/baselines/letterSpacing.png
differ


Mime
View raw message