Author: aharui
Date: Mon Dec 3 07:07:07 2012
New Revision: 1416359
URL: http://svn.apache.org/viewvc?rev=1416359&view=rev
Log:
Fix more apollo tests on mac
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/apollo/DragManager/Spark/baselines/DragManager_custom_defaultDragImageSkin_AIR.png
incubator/flex/sdk/branches/develop/mustella/tests/apollo/spark/components/Window/methods/window_methods_minimize_tests.mxml
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/apollo/DragManager/Spark/baselines/DragManager_custom_defaultDragImageSkin_AIR.png
URL:
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/apollo/DragManager/Spark/baselines/DragManager_custom_defaultDragImageSkin_AIR.png?rev=1416359&r1=1416358&r2=1416359&view=diff
==============================================================================
Binary files - no diff available.
Modified:
incubator/flex/sdk/branches/develop/mustella/tests/apollo/spark/components/Window/methods/window_methods_minimize_tests.mxml
URL:
http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/apollo/spark/components/Window/methods/window_methods_minimize_tests.mxml?rev=1416359&r1=1416358&r2=1416359&view=diff
==============================================================================
---
incubator/flex/sdk/branches/develop/mustella/tests/apollo/spark/components/Window/methods/window_methods_minimize_tests.mxml
(original)
+++
incubator/flex/sdk/branches/develop/mustella/tests/apollo/spark/components/Window/methods/window_methods_minimize_tests.mxml
Mon Dec 3 07:07:07 2012
@@ -80,8 +80,8 @@
<RunCode code="FlexGlobals.topLevelApplication.createAWindow()"
waitTarget="" waitEvent="myWindowComplete"/>
</setup>
<body>
- <SetStyle target="windowObj" styleName="skinClass"
valueExpression="value = WindowedApplicationSkin" />
- <WaitForLayoutManager />
+ <SetStyle target="windowObj" styleName="skinClass"
valueExpression="value = WindowedApplicationSkin" />
+ <WaitForLayoutManager />
<WaitForEvent target="stage" eventName="enterFrame"
numExpectedEvents="2"/>
<RunCode
code="FlexGlobals.topLevelApplication.windowObj.minimize()"
waitTarget="windowObj" waitEvent="displayStateChange" />
<WaitForEvent target="stage" eventName="enterFrame"
numExpectedEvents="2"/>
@@ -106,14 +106,15 @@
</body>
</TestCase>
- <TestCase testID="minimize_test2_WindowedApplicationSkin "
keywords="[Window,minimize]" description="Minimize when maximized." >
+ <TestCase testID="minimize_test2_WindowedApplicationSkin"
keywords="[Window,minimize]" description="Minimize when maximized." >
<setup>
<RunCode
code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
<RunCode code="FlexGlobals.topLevelApplication.createAWindow()"
waitTarget="" waitEvent="myWindowComplete"/>
</setup>
<body>
<SetStyle target="windowObj" styleName="skinClass"
valueExpression="value = WindowedApplicationSkin" />
- <WaitForLayoutManager />
+ <WaitForLayoutManager />
+ <WaitForEvent target="stage" eventName="enterFrame"
numExpectedEvents="4"/>
<RunCode
code="FlexGlobals.topLevelApplication.windowObj.maximize()"
waitTarget="windowObj" waitEvent="displayStateChange" />
<RunCode
code="FlexGlobals.topLevelApplication.windowObj.minimize()"
waitTarget="windowObj" waitEvent="displayStateChange" />
<WaitForLayoutManager />
@@ -138,7 +139,7 @@
</body>
</TestCase>
- <TestCase testID="minimize_test3_WindowedApplicationSkin "
keywords="[Window,minimize]" description="Minimize when minimized. We must use
Pause." >
+ <TestCase testID="minimize_test3_WindowedApplicationSkin"
keywords="[Window,minimize]" description="Minimize when minimized. We must use
Pause." >
<setup>
<RunCode
code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
<RunCode code="FlexGlobals.topLevelApplication.createAWindow()"
waitTarget="" waitEvent="myWindowComplete"/>
@@ -146,6 +147,7 @@
<body>
<SetStyle target="windowObj" styleName="skinClass"
valueExpression="value = WindowedApplicationSkin" />
<WaitForLayoutManager />
+ <WaitForEvent target="stage" eventName="enterFrame"
numExpectedEvents="4"/>
<RunCode
code="FlexGlobals.topLevelApplication.windowObj.minimize()"
waitTarget="windowObj" waitEvent="displayStateChange" />
<RunCode
code="FlexGlobals.topLevelApplication.windowObj.minimize()" />
<WaitForLayoutManager />