flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370009 [33/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...
Date Mon, 06 Aug 2012 20:51:43 GMT
Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9_SparkChromeWindowedApplicationSkin_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9a_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9a_SparkChromeWindowedApplicationSkin_win.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9a_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9a_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9b_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9b_SparkChromeWindowedApplicationSkin_win.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9b_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9b_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9c_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9c_SparkChromeWindowedApplicationSkin_win.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9c_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test9c_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/wa_skin_titleBar_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/wa_skin_titleBar_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/wa_skin_titleBar_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/wa_skin_titleBar_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,325 @@
+<?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/WindowedApplication/skin/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_app2.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 flash.system.Capabilities;
+        import mx.core.FlexGlobals;
+        import spark.components.*;
+        import spark.skins.spark.*;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test the minimize/maximize/close buttons.
+Tests which click the minimize/maximize buttons to 
+minimize/maximize, and tests verifying that they are 
+enabled/disabled appropriately, are covered in:
+
+    wa_properties_maximizable_false.mxml and 
+    wa_properties_maximizable_true.mxml.
+    wa_properties_minimizable_false.mxml
+    wa_properties_minimizable_true.mxml
+
+========================================================
+-->
+
+<TestCase testID="titleBar_test1_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the buttons when the application is disabled." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="enabled" value="false" waitEvent="updateComplete"/>
+        <CompareBitmap target="skin.titleBar" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test1_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the buttons when the application is disabled." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="enabled" value="false" waitEvent="updateComplete"/>
+        <CompareBitmap target="skin.titleBar" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test2_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the buttons when the application is enabled." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test2_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the buttons when the application is enabled." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test3_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Mouse over the maximize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test3_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Mouse over the maximize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test4_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Mouse over the minimize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.minimizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.minimizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test4_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Mouse over the minimize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.minimizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.minimizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test5_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Mouse over the close button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.closeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.closeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test5_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Mouse over the close button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.closeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.closeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test6_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Mouse down on the maximize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test6_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Mouse down on the maximize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test7_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Mouse down on the minimize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.minimizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.minimizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.minimizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test7_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Mouse down on the minimize button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.minimizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.minimizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.minimizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test8_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Mouse down on the close button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.closeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.closeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.closeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test8_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Mouse down on the close button and verify its appearance." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.closeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.closeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.closeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test9_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the maximize button after clicking on it to maximize." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test9a_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the maximize button after clicking on it to maximize." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test9b_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the maximize button, when maximized, on rollOver, in Windows." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test9c_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Verify the appearance of the maximize button, when maximized, on mouseDown, in Windows." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test10_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,titleBar]" description="Be sure the maximize button is no longer in the over state after clicking on it to restore from maximize." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleBar_test10_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,titleBar]" description="Be sure the maximize button is no longer in the over state after clicking on it to restore from maximize." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="rollOver" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseEvent target="skin.titleBar.maximizeButton" type="mouseDown" localX="5" localY="5" waitEvent="updateComplete" />
+        <DispatchMouseClickEvent target="skin.titleBar.maximizeButton" localX="5" localY="5" waitTarget="" waitEvent="displayStateChange" />
+        <CompareBitmap target="skin.titleBar.maximizeButton" url="../skin/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_change_runtime_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_change_runtime_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_change_runtime_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_inheritance_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_inheritance_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_inheritance_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_state_change_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_state_change_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/contentBackgroundAlpha_state_change_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_change_runtime_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_change_runtime_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_change_runtime_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_inheritance_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_inheritance_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_inheritance_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_state_change_WindowedApplication.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_state_change_WindowedApplication.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/css_contentBackgroundAlpha_state_change_WindowedApplication.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_win.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_win.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test2_win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_win.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_win.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test3_win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test4.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test4.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_mac.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_mac.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_win.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_win.png
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/skinClass_test5_win.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_css_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_css_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_css_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_mxml_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_mxml_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_mxml_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_baseColor_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_css_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_css_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_css_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_mxml_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_mxml_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_mxml_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_contentBackgroundColor_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_css_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_css_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_css_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_mxml_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_mxml_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_mxml_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_focusColor_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_css_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_css_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_css_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_mxml_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_mxml_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_mxml_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_rollOverColor_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_selectionColor_css_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_selectionColor_css_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_selectionColor_css_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_selectionColor_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_selectionColor_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_selectionColor_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_css_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_css_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_css_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_mxml_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_mxml_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_mxml_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/style_symbolColor_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test3.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test3.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test3.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test4.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test5.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test5.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test5.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test6.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test6.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_mac_test6.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test3.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test3.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test3.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test4.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test4.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test4.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test5.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test5.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test5.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test6.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test6.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/styles_mirroring_win_test6.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/wa_backgroundColor_backgroundAlpha_setStyle_runtime_1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/wa_backgroundColor_backgroundAlpha_setStyle_runtime_1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/wa_backgroundColor_backgroundAlpha_setStyle_runtime_1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/wa_backgroundColor_backgroundAlpha_setStyle_runtime_2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/wa_backgroundColor_backgroundAlpha_setStyle_runtime_2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/wa_backgroundColor_backgroundAlpha_setStyle_runtime_2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/window_backgroundColor_backgroundAlpha_setStyle_runtime_1.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/window_backgroundColor_backgroundAlpha_setStyle_runtime_1.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/window_backgroundColor_backgroundAlpha_setStyle_runtime_1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/window_backgroundColor_backgroundAlpha_setStyle_runtime_2.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/window_backgroundColor_backgroundAlpha_setStyle_runtime_2.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/baselines/window_backgroundColor_backgroundAlpha_setStyle_runtime_2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_css_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_css_tester.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_css_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_css_tester.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,50 @@
+<UnitTester testDir="apollo/spark/components/WindowedApplication/styles/" 
+	xmlns:fx="http://ns.adobe.com/mxml/2009" 
+    xmlns:mx="library://ns.adobe.com/flex/mx" 
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns="*"
+    testSWF="wa_contentBackgroundAlpha_css_main.mxml">
+    
+    <!-- Default code for all tests -->
+    <fx:Script>
+        <![CDATA[         
+        	public static function init(o:DisplayObject):void {}
+        ]]>
+    </fx:Script>
+
+    <fx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </fx:Metadata>
+           
+    <testCases>    
+
+  		<TestCase testID="css_contentBackgroundAlpha_inheritance_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha applies to all components">
+  			<body>
+  				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png" />
+  			</body>
+  		</TestCase>
+  		
+  		<TestCase testID="css_contentBackgroundAlpha_change_runtime_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha change at runtime applies to all components">
+  			<body>
+  				<SetStyle styleName="contentBackgroundAlpha" value="0.8" target="" waitEvent="updateComplete" waitTarget=""/>
+  				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png"/>
+  			</body>
+  		</TestCase>
+		<TestCase testID="css_contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha change at runtime applies to all components">
+			<body>
+				<RunCode code="application.loadCSS()" waitTarget="eventDispatcher" waitEvent="complete" />
+				<Pause timeout="1000"/>
+				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png"/>
+			</body>
+  		</TestCase>
+  		<TestCase testID="css_contentBackgroundAlpha_state_change_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha changes in a different state">
+			<body>
+				<SetProperty  propertyName="currentState" value="state1"  waitEvent="currentStateChange" />
+				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png"/>
+			</body>
+		</TestCase>
+  		
+    </testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_tester.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/contentBackgroundAlpha_tester.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,58 @@
+<UnitTester testDir="apollo/spark/components/WindowedApplication/styles/" 
+	xmlns:fx="http://ns.adobe.com/mxml/2009" 
+    xmlns:mx="library://ns.adobe.com/flex/mx" 
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns="*"
+    testSWF="wa_contentBackgroundAlpha_main.mxml">
+    
+    <!-- Default code for all tests -->
+    <fx:Script>
+        <![CDATA[         
+        	public static function init(o:DisplayObject):void {}
+        ]]>
+    </fx:Script>
+
+    <fx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </fx:Metadata>
+           
+    <testCases>    
+
+  		<TestCase testID="contentBackgroundAlpha_inheritance_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha applies to all components">
+  			<body>
+  				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png" />
+  			</body>
+  		</TestCase>
+  		
+  		<TestCase testID="contentBackgroundAlpha_change_runtime_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha change at runtime applies to all components">
+  			<body>
+  				<SetStyle styleName="contentBackgroundAlpha" value="0.8" target="" waitEvent="updateComplete" waitTarget=""/>
+  				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.sNS"/>
+  				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.sList"/>
+  				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.sTA"/>
+  				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.sTI"/>
+  				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.hNS"/>
+				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.hList"/>
+				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.hTA"/>
+				<AssertStyleValue styleName="contentBackgroundAlpha" value="0.8" target="myContent.hTI"/>
+  			</body>
+  		</TestCase>
+  		
+		<TestCase testID="contentBackgroundAlpha_change_runtime_globalCSS_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha change at runtime applies to all components">
+			<body>
+				<RunCode code="application.loadCSS()" waitTarget="eventDispatcher" waitEvent="complete" />
+				<Pause timeout="1000"/>
+				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png"/>
+			</body>
+  		</TestCase>
+		<TestCase testID="contentBackgroundAlpha_state_change_WindowedApplication" keywords="[WindowedApplication, contentBackgroundAlpha]" description="Test contentBackgroundAlpha changes in a different state">
+			<body>
+				<SetProperty  propertyName="currentState" value="state1"  waitEvent="currentStateChange" />
+				<CompareBitmap target="myContent" url="../styles/baselines/$testID.png"/>
+			</body>
+		</TestCase>
+  		
+    </testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_bkgdColor_bkgdAlpha_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_bkgdColor_bkgdAlpha_tester.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_bkgdColor_bkgdAlpha_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_bkgdColor_bkgdAlpha_tester.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,87 @@
+<UnitTester testDir="apollo/spark/components/WindowedApplication/styles/" 
+	xmlns:fx="http://ns.adobe.com/mxml/2009" 
+    xmlns:mx="library://ns.adobe.com/flex/mx" 
+    xmlns:s="library://ns.adobe.com/flex/spark"
+    xmlns="*"
+    testSWF="wa_bkgdColor_bkgdAlpha_main.mxml">
+    
+    <!-- Default code for all tests -->
+    <fx:Script>
+        <![CDATA[         
+        	public static function init(o:DisplayObject):void {}
+        ]]>
+    </fx:Script>
+
+    <fx:Metadata>
+    <![CDATA[
+        [Mixin]
+    ]]>
+    </fx:Metadata>
+           
+    <testCases>    
+
+  		<TestCase testID="wa_backgroundColor_getStyle" keywords="[WindowedApplication, backgroundColor]" description="Get backgroundColor of WindowedApplication">
+  			<body>
+  				<AssertStyleValue styleName="backgroundColor" target="" value="255" />
+  			</body>
+  		</TestCase>
+  		
+  		<TestCase testID="window_backgroundColor_getStyle" keywords="[Window, backgroundColor]" description="Get backgroundColor of Window">
+			<body>
+				<RunCode code="application.createAWindow()"/>
+				<AssertStyleValue styleName="backgroundColor" target="myWin" value="16711680" />
+				<RunCode code="application.myWin.close()"/>
+			</body>
+		</TestCase>
+  		
+  		<TestCase testID="wa_backgroundAlpha_getStyle" keywords="[WindowedApplication, backgroundColor]" description="Get backgroundColor of WindowedApplication">
+			<body>
+				<AssertStyleValue styleName="backgroundAlpha" target="" value="0.5" />
+			</body>
+		</TestCase>
+
+		<TestCase testID="window_backgroundAlpha_getStyle" keywords="[Window, backgroundColor]" description="Get backgroundColor of Window">
+			<body>
+				<RunCode code="application.createAWindow()"/>
+				<AssertStyleValue styleName="backgroundAlpha" target="myWin" value="0.2" />
+				<RunCode code="application.myWin.close()"/>
+			</body>
+		</TestCase>
+		
+		<TestCase testID="wa_backgroundColor_backgroundAlpha_setStyle_runtime" keywords="[WindowedApplication, backgroundColor]" description="Get backgroundColor of WindowedApplication">
+			<body>
+				<AssertStyleValue styleName="backgroundColor" target="" value="255" />
+  				<AssertStyleValue styleName="backgroundAlpha" target="" value="0.5" />
+				
+				<CompareBitmap target="" url="../styles/baselines/$testID_1.png"/>
+
+				<SetStyle styleName="backgroundAlpha" target="" value="0.2" waitEvent="updateComplete" waitTarget=""/>				
+				<SetStyle styleName="backgroundColor" target="" value="0x00FF00" waitEvent="updateComplete" waitTarget=""/>
+				<CompareBitmap target="" url="../styles/baselines/$testID_2.png"/>
+				<AssertStyleValue styleName="backgroundColor" target="" value="65280" />
+				<AssertStyleValue styleName="backgroundAlpha" target="" value="0.2" />
+			</body>
+		</TestCase>
+		  		
+		<TestCase testID="window_backgroundColor_backgroundAlpha_setStyle_runtime" keywords="[Window, backgroundColor]" description="Get backgroundColor of Window">
+			<body>
+				<RunCode code="application.createAWindow()" waitEvent="updateComplete" waitTarget=""/>
+				<SetProperty propertyName="visible" target="" value="false"/>
+				<AssertStyleValue styleName="backgroundColor" target="myWin" value="16711680" />
+				<AssertStyleValue styleName="backgroundAlpha" target="myWin" value="0.2" />			
+				<CompareBitmap target="myWin" url="../styles/baselines/$testID_1.png"/>
+				
+				<SetStyle styleName="backgroundAlpha" target="myWin" value="0.2" />				
+				<SetStyle styleName="backgroundColor" target="myWin" value="0x00FF00" waitEvent="updateComplete" waitTarget="myWin.skin"/>
+				
+				<CompareBitmap target="myWin" url="../styles/baselines/$testID_2.png"/>
+				<AssertStyleValue styleName="backgroundColor" target="myWin" value="65280" />
+				<AssertStyleValue styleName="backgroundAlpha" target="myWin" value="0.2" />			
+				
+				<SetProperty propertyName="visible" target="" value="true"/>
+				<RunCode code="application.myWin.close()"/>
+			</body>
+		</TestCase>
+  		
+    </testCases>
+</UnitTester>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_styles_css_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_styles_css_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_styles_css_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/styles/wa_styles_css_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,136 @@
+<?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/WindowedApplication/styles/"  
+    xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" 
+    testSWF="wa_styles_css.mxml"
+    xmlns:custom="assets.*">
+	
+<!-- 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.Window;
+	 import spark.components.TextArea;
+	
+	]]>
+    </mx:Script>
+
+    <testCases>
+
+	<!-- 
+	========================================================
+	Test styles set via css.
+	========================================================
+	-->
+	<TestCase testID="style_baseColor_css_test1" keywords="[WindowedApplication,style,baseColor]" description="Set baseColor with setStyle().">
+        <setup>
+            <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+            <ResetComponent target="group1" className="custom.GroupWithComponents" />
+            <SetProperty target="group1" propertyName="visible" value="true" waitEvent="show" />
+        </setup>
+        <body>
+            <SetProperty target="" propertyName="styleName" value="baseColorStyle1" waitTarget="group1.btn1" waitEvent="updateComplete" />
+            <CompareBitmap target="group1.btn1" url="../styles/baselines/$testID.png" />
+	    </body>
+	</TestCase>
+
+	<TestCase testID="style_contentBackgroundColor_css_test1" keywords="[WindowedApplication,style,contentBackgroundColor]" description="Set contentBackgroundColor with setStyle().">
+        <setup>
+            <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+            <ResetComponent target="group1" className="custom.GroupWithComponents" />
+            <SetProperty target="group1" propertyName="visible" value="true" waitEvent="show" />
+        </setup>
+        <body>
+            <SetProperty target="" propertyName="styleName" value="contentBackgroundColorStyle1" waitTarget="group1.ta1" waitEvent="updateComplete" />
+            <CompareBitmap target="group1.ta1" url="../styles/baselines/$testID.png" />
+	    </body>
+	</TestCase>
+
+	<TestCase testID="style_focusColor_css_test1" keywords="[WindowedApplication,style,focusColor]" description="Set focusColor with setStyle().">
+        <setup>
+            <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+            <ResetComponent target="group1" className="custom.GroupWithComponents" />
+            <SetProperty target="group1" propertyName="visible" value="true" waitEvent="show" />
+        </setup>
+        <body>
+            <SetProperty target="" propertyName="styleName" value="focusColorStyle1" />
+            <RunCode code="FlexGlobals.topLevelApplication.group1.btn1.focusManager.setFocus(FlexGlobals.topLevelApplication.group1.btn1); FlexGlobals.topLevelApplication.group1.btn1.focusManager.showFocus()" waitTarget="" waitEvent="updateComplete" />
+            <CompareBitmap target="group1" url="../styles/baselines/$testID.png" />
+	    </body>
+	</TestCase>
+
+	<TestCase testID="style_symbolColor_css_test1" keywords="[WindowedApplication,style,symbolColor]" description="Set symbolColor with setStyle().">
+        <setup>
+            <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+            <ResetComponent target="group1" className="custom.GroupWithComponents" />
+            <SetProperty target="group1" propertyName="visible" value="true" waitEvent="show" />
+        </setup>
+        <body>
+            <SetProperty target="" propertyName="styleName" value="symbolColorStyle1" waitTarget="group1.ck1" waitEvent="updateComplete" />
+            <CompareBitmap target="group1.ck1" url="../styles/baselines/$testID.png" />
+	    </body>
+	</TestCase>
+
+	<TestCase testID="style_rollOverColor_css_test1" keywords="[WindowedApplication,style,rollOverColor]" description="Set rollOverColor with setStyle().">
+        <setup>
+            <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+            <ResetComponent target="group1" className="custom.GroupWithComponents" />
+            <SetProperty target="group1" propertyName="visible" value="true" waitEvent="show" />
+        </setup>
+        <body>
+            <SetProperty target="" propertyName="styleName" value="rollOverColorStyle1" />
+    		<DispatchMouseEvent type="rollOver" target="group1.dg1.mx_internal:rendererArray.2.0" localX="2" localY="2" waitEvent="updateComplete"/>
+            <DispatchMouseEvent type="mouseMove" target="group1.dg1.mx_internal:rendererArray.2.0" localX="2" localY="2"  />
+            <WaitForEffectsToEnd />
+            <CompareBitmap target="group1.dg1" url="../styles/baselines/$testID.png" />
+	    </body>
+	</TestCase>
+
+	<TestCase testID="style_selectionColor_css_test1" keywords="[WindowedApplication,style,selectionColor]" description="Set selectionColor with setStyle().">
+        <setup>
+            <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+            <ResetComponent target="group1" className="custom.GroupWithComponents" />
+            <SetProperty target="group1" propertyName="visible" value="true" waitEvent="show" />
+        </setup>
+        <body>
+            <SetProperty target="" propertyName="styleName" value="selectionColorStyle1" />
+    		<DispatchMouseClickEvent target="group1.dg1.mx_internal:rendererArray.2.0" localX="2" localY="2" waitTarget="group1.dg1" waitEvent="itemClick"/>
+            <CompareBitmap target="group1.dg1" url="../styles/baselines/$testID.png" />
+	    </body>
+	</TestCase>
+
+    </testCases>
+
+</UnitTester>



Mime
View raw message