You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2012/08/06 22:51:43 UTC
svn commit: r1370009 [15/34] - in
/incubator/flex/trunk/mustella/tests/apollo: ./ DragManager/
DragManager/SWFs/ DragManager/SWFs/assets/ DragManager/SWFs/comps/
DragManager/Spark/ DragManager/Spark/baselines/ FileComboBox/
FileComboBox/SWFs/ FileCombo...
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInBackOf.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInBackOf.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInBackOf.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInBackOf.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_005.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ import spark.components.WindowedApplication;
+ import spark.components.Window;
+ import comps.PlainWindow;
+ public var windowA:PlainWindow, windowB:PlainWindow;
+ public var app:WindowedApplication;
+ ]]>
+ </mx:Script>
+
+
+ <testCases>
+ <!--
+ ========================================================
+ Test method orderInBackOf
+ ========================================================
+ -->
+ <TestCase testID="method_orderInBackOf_test1" keywords="[Window,methods,orderInBackOf]"
+ description="send WindowA to back of WindowB with orderInBackOf(), vice versa, verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="windowA=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',150);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <AssertMethodValue method="value=windowA.orderInBackOf(windowB)" value="true"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=windowB.orderInBackOf(windowA)" value="true"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderInBackOf_test2" keywords="[Window,methods,orderInBackOf]"
+ description="send WindowA to back of WindowB, but WindowA is invisible,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.visible=false" waitTarget="window1" waitEvent="hide"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderInBackOf_test3" keywords="[Window,methods,orderInBackOf]"
+ description="send WindowA to back of WindowB, but WindowB is invisible,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.visible=false" waitTarget="window2" waitEvent="hide"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderInBackOf_test4" keywords="[Window,methods,orderInBackOf]"
+ description="send WindowA to back of WindowB, but WindowB is minimized,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.minimize()" waitTarget="window2" waitEvent="displayStateChange"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderInBackOf_test5" keywords="[Window,methods,orderInBackOf]"
+ description="send WindowA to back of WindowB, but WindowA is minimized,verify method return false, when it is restored, call the method, return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.minimize()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1.restore()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(windowB)" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderInBackOf_test6" keywords="[Window,methods,orderInBackOf]"
+ description="negative case, send WindowA to back of itself,verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowA=FlexGlobals.topLevelApplication.window1;"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(windowA)" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderInBackOf_test7" keywords="[Window,methods,orderInBackOf]"
+ description="negative case, send WindowA to back of its parent, windowedApplication,verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="app=WindowedApplication(FlexGlobals.topLevelApplication);"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInBackOf(app)" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ </testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInFrontOf.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInFrontOf.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInFrontOf.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderInFrontOf.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_005.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ import spark.components.WindowedApplication;
+ import spark.components.Window;
+ import comps.PlainWindow;
+ public var windowA:PlainWindow, windowB:PlainWindow;
+ public var app:WindowedApplication;
+ ]]>
+ </mx:Script>
+
+
+ <testCases>
+ <!--
+ ========================================================
+ Test method orderInFrontOf
+ ========================================================
+ -->
+ <TestCase testID="method_orderInFrontOf_test1" keywords="[Window,methods,orderInFrontOf]"
+ description="send WindowA to front of WindowB with orderInFrontOf(), vice versa, verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="windowA=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',150);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <AssertMethodValue method="value=windowA.orderInFrontOf(windowB)" value="true"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=windowB.orderInFrontOf(windowA)" value="true"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderInFrontOf_test2" keywords="[Window,methods,orderInFrontOf]"
+ description="send WindowA to front of WindowB, but WindowA is invisible,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.visible=false" waitTarget="window1" waitEvent="hide"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderInFrontOf_test3" keywords="[Window,methods,orderInFrontOf]"
+ description="send WindowA to front of WindowB, but WindowB is invisible,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.visible=false" waitTarget="window2" waitEvent="hide"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderInFrontOf_test4" keywords="[Window,methods,orderInFrontOf]"
+ description="send WindowA to front of WindowB, but WindowB is minimized,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.minimize()" waitTarget="window2" waitEvent="displayStateChange"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderInFrontOf_test5" keywords="[Window,methods,orderInFrontOf]"
+ description="send WindowA to front of WindowB, but WindowA is minimized,verify method return false, when it is restored, call the method, return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.minimize()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.window2;"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(windowB)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1.restore()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(windowB)" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderInFrontOf_test6" keywords="[Window,methods,orderInFrontOf]"
+ description="negative case, send WindowA to front of itself,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="windowA=FlexGlobals.topLevelApplication.window1;"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(windowA)" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderInFrontOf_test7" keywords="[Window,methods,orderInFrontOf]"
+ description="negative case, send WindowA to front of its parent, windowedApplication,verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for both window showing up -->
+ <!-- have to use a local variable to reference the window as waitTarget has different variable scope -->
+ <RunCode code="app=WindowedApplication(FlexGlobals.topLevelApplication);"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderInFrontOf(app)" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToBack.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToBack.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToBack.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToBack.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_005.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ import spark.components.WindowedApplication;
+ import spark.components.Window;
+ import comps.PlainWindow;
+ public var windowA:PlainWindow, windowB:PlainWindow;
+ public var app:WindowedApplication;
+ ]]>
+ </mx:Script>
+
+
+ <testCases>
+ <!--
+ ========================================================
+ Test method orderToBack
+ ========================================================
+ -->
+ <TestCase testID="method_orderToBack_test1" keywords="[Window,methods,orderToBack]"
+ description="send WindowA back to all windows with orderToBack(), verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+
+ <RunCode code="windowA=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',150);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',190);" waitTarget="" waitEvent="myWindowComplete" />
+
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <AssertMethodValue method="value=windowA.orderToBack()" value="true"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderToBack_test2" keywords="[Window,methods,orderToBack]"
+ description="send WindowA back to all windows, but WindowA is invisible,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',250);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.visible=false" waitTarget="window1" waitEvent="hide"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1.visible=true" waitTarget="window1" waitEvent="show"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderToBack_test3" keywords="[Window,methods,orderToBack]"
+ description="send WindowA back to all windows, but WindowB is invisible,verify method return true,it is unrelated to windowB">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.visible=false" waitTarget="window2" waitEvent="hide"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderToBack_test4" keywords="[Window,methods,orderToBack]"
+ description="send WindowA back to all windows, but WindowB is minimized,verify method return true,it is unrelated to windowB">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.minimize()" waitTarget="window2" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderToBack_test5" keywords="[Window,methods,orderToBack]"
+ description="send WindowA back to all windows, but WindowA is minimized,verify method return false, when it is restored, call the method, return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.minimize()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1.restore()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderToBack_test6" keywords="[Window,methods,orderToBack]"
+ description="there is only one window, send WindowA to back,verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToBack()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToFront.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToFront.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToFront.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_orderToFront.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_005.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ import spark.components.WindowedApplication;
+ import spark.components.Window;
+ import comps.PlainWindow;
+ public var windowA:PlainWindow, windowB:PlainWindow;
+ public var app:WindowedApplication;
+ ]]>
+ </mx:Script>
+
+
+ <testCases>
+ <!--
+ ========================================================
+ Test method orderToFront
+ ========================================================
+ -->
+ <TestCase testID="method_orderToFront_test1" keywords="[Window,methods,orderToFront]"
+ description="send WindowA front to all windows with orderToFront(), verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="windowA=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="windowB=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',150);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',190);" waitTarget="" waitEvent="myWindowComplete" />
+
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <AssertMethodValue method="value=windowA.orderToFront()" value="true"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderToFront_test2" keywords="[Window,methods,orderToFront]"
+ description="send WindowA front to all windows, but WindowA is invisible,verify method return false">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',250);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.visible=false" waitTarget="window1" waitEvent="hide"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1.visible=true" waitTarget="window1" waitEvent="show"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderToFront_test3" keywords="[Window,methods,orderToFront]"
+ description="send WindowA front to all windows, but WindowB is invisible,verify method return true,it is unrelated to windowB">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.visible=false" waitTarget="window2" waitEvent="hide"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_orderToFront_test4" keywords="[Window,methods,orderToFront]"
+ description="send WindowA front to all windows, but WindowB is minimized,verify method return true,it is unrelated to windowB">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window2.minimize()" waitTarget="window2" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderToFront_test5" keywords="[Window,methods,orderToFront]"
+ description="send WindowA front to all windows, but WindowA is minimized,verify method return false, when it is restored, call the method, return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.windowObj=FlexGlobals.topLevelApplication.createAWindowByClass(Window,'windowC',350);" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.window2=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowB',350);" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <RunCode code="FlexGlobals.topLevelApplication.window1.minimize()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="false"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1.restore()" waitTarget="window1" waitEvent="displayStateChange"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ <TestCase testID="method_orderToFront_test6" keywords="[Window,methods,orderToFront]"
+ description="there is only one window, send WindowA to front,verify method return true">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.window1=FlexGlobals.topLevelApplication.createAWindowByClass(PlainWindow,'windowA');" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/><!-- wait time here for all windows showing up -->
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.window1.orderToFront()" value="true"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_own.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_own.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_own.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_own.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_003.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ import mx.core.IWindow;
+ public var win:IWindow;
+ public var b:DisplayObject;
+ public function initVars(dispObj:DisplayObject):void
+ {
+ win=FlexGlobals.topLevelApplication.myWin;
+ b=dispObj;
+ }
+
+ ]]>
+ </mx:Script>
+
+
+ <testCases>
+ <!--
+ ========================================================
+ Test method Owns
+ ========================================================
+ -->
+ <TestCase testID="method_owns_test1" keywords="[Window,methods,owns]"
+ description="call the method on a Window for a valid child">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <RunCode code="initVars(DisplayObject(FlexGlobals.topLevelApplication.myWin.button1))"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.testOwns(win,b,true)" value="true" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_owns_test2" keywords="[Window,methods,owns]"
+ description="call the method on a Window for a valid child">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+
+ <RunCode code="initVars(DisplayObject(FlexGlobals.topLevelApplication.myWin.label1))"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.testOwns(win,b,true)" value="true" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+
+ <TestCase testID="method_owns_test3" keywords="[Window,methods,owns]"
+ description="call the method on a Window for a valid child">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <RunCode code="initVars(DisplayObject(FlexGlobals.topLevelApplication.myWin.dg1))"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.testOwns(win,b,true)" value="true" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+
+ <TestCase testID="method_owns_test4" keywords="[Window,methods,owns]"
+ description="call the method on a Window for a valid child">
+
+ <setup>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="initVars(DisplayObject(FlexGlobals.topLevelApplication.myWin.checkBox1))"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.testOwns(win,b,true)" value="true" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+
+ <TestCase testID="method_owns_test5" keywords="[Window,methods,owns]"
+ description="call the method on a window for child removed" >
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.testOwns2()" value="true" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <TestCase testID="method_owns_test6" keywords="[Window,methods,owns]"
+ description="call the method on a window for invalid child" >
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ </setup>
+ <body>
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="initVars(DisplayObject(FlexGlobals.topLevelApplication.button1))"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.testOwns(win,b,false)" value="true" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_restore.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_restore.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_restore.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_restore.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_002.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ ]]>
+ </mx:Script>
+
+
+<testCases>
+ <!--
+ ========================================================
+ Test method restore
+ ========================================================
+ -->
+ <TestCase testID="method_restore_test1" keywords="[Window,methods,restore]"
+ description="call restore() on a Window">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.myWin.minimize()" waitEvent="displayStateChange" waitTarget="myWin" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.myWin.restore()" waitEvent="displayStateChange" waitTarget="myWin" />
+ </setup>
+ <body>
+ <MyCompareBitmap target="myWin" url="../methods/baselines/$testID.png" mac_url="../methods/baselines/$testID_mac.png" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+ <!--
+ ========================================================
+ Test method restore
+ ========================================================
+ -->
+ <TestCase testID="method_restore_test2" keywords="[Window,methods,restore]"
+ description="Window size is updated, call restore(), verify restored window is expected">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ <SetProperty target="myWin" propertyName="width" value="400" waitEvent="updateComplete" waitTarget="myWin"/>
+ <SetProperty target="myWin" propertyName="height" value="400" waitEvent="updateComplete" waitTarget="myWin"/>
+ <RunCode code="FlexGlobals.topLevelApplication.myWin.minimize()" waitEvent="displayStateChange" waitTarget="myWin" />
+ <RunCode code="FlexGlobals.topLevelApplication.myWin.restore()" waitEvent="displayStateChange" waitTarget="myWin"/>
+ </setup>
+ <body>
+ <MyCompareBitmap target="myWin" url="../methods/baselines/$testID.png" mac_url="../methods/baselines/$testID_mac.png" />
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+ </testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_setFocus.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_setFocus.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_setFocus.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/methods/window_methods_setFocus.mxml Mon Aug 6 20:51:08 2012
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="apollo/spark/components/Window/methods/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="window_basic_002.mxml">
+
+
+<!-- this set of lines form a template that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ ]]>
+ </mx:Script>
+
+
+ <testCases>
+ <!--
+ ========================================================
+ Test method setFocus
+ ========================================================
+ -->
+ <TestCase testID="method_setFocus_test1" keywords="[Window,methods,setFocus]"
+ description="call the method on a button child of a Window">
+
+ <setup>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+
+ <RunCode code="FlexGlobals.topLevelApplication.createAWindow()" waitTarget="" waitEvent="myWindowComplete" />
+ <RunCode code="FlexGlobals.topLevelApplication.addKeyDownListener()" />
+ <RunCode code="FlexGlobals.topLevelApplication.myWin.setFocus()" waitTarget="myWin" waitEvent="updateComplete"/>
+ </setup>
+ <body>
+ <RunCode code="FlexGlobals.topLevelApplication.myWin.activate()" />
+ <RunCode code="dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN))"/>
+ <DispatchKeyEvent key="TAB"/>
+ <!-- the event not triggered due to dispatchKeyEvent doesn't work for multi window
+ <DispatchKeyEvent key="DOWN" waitTarget="" waitEvent="keyPressed"/>
+ <DispatchKeyEvent keys="[RIGHT, DOWN, SPACE]" waitTarget="" waitEvent="keyPressed"/>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.assertKeyPressed()" value="true" />
+ -->
+ <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
+ <RunCode code="FlexGlobals.topLevelApplication.closeAllChildWindow()"/>
+ </body>
+ </TestCase>
+
+
+
+</testCases>
+
+</UnitTester>
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl2_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl3.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl3.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl3_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl3_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl3_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl4_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl4_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_rtl4_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_layoutDirection_style2_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement2_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement3.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement3.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement3_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement3_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement3_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement4_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement4_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_addElement4_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints2_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints3.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints3.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints3_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints3_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints3_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints4_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints4_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_constraints4_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_contents1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_contents1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_contents1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_contents1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_contents1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_contents1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_inheritance1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_inheritance1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_inheritance1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_inheritance1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_inheritance1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_inheritance1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_2_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_3.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_3.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_3_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_3_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_3_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_4_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_4_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_scroller_4_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome1_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome1_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome1_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_sparkChrome2_mac.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_titleIcon1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/Window/mirroring/baselines/Window_mirroring_titleIcon1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.