incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1369933 [5/11] - in /incubator/flex/trunk/mustella/tests/Application: ./ Application_HaloSkin/ Application_HaloSkin/Events/ Application_HaloSkin/Methods/ Application_HaloSkin/Properties/ Application_HaloSkin/SWFs/ Application_HaloSkin/SWFs...
Date Mon, 06 Aug 2012 19:22:31 GMT
Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,584 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="ApplicationApp3_Halo.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[
+
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+<!--
+================================================================================
+backgroundGradientAlphas:
+Set the backgroundColor to green.
+Set the backgroundGradientColors to black and black.
+Now, changing backgroundGradientAlphas will reuslt in varying shades of green.
+================================================================================
+-->	
+	<TestCase testID="style_backgroundGradientAlphas_test1_halo" keywords="[[application, backgroundGradientAlphas]" description="Check the default.">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[1,1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+
+	<TestCase testID="style_backgroundGradientAlphas_test2_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0,0 (boundaries).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+
+	<TestCase testID="style_backgroundGradientAlphas_test3_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0,1 (boundaries).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0,1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test4_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 1,0 (boundaries).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[1,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test5_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 1,1 (boundaries).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[1,1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test6_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 1.0,1.0 (boundaries).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1.0,1.0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[1,1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test7_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0,0.7 (normal increasing values)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0,0.7])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0,0.7]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test8_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0.3,0.7 (normal increasing values)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0.3,0.7])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0.3,0.7]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test9_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0.3,1 (normal increasing values)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0.3,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0.3,1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test10_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0.7,0 (normal decreasing values)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0.7,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0.7,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test11_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0.7,0.3 (normal decreasing values)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0.7,0.3])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0.7,0.3]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test12_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 1,0.3 (normal decreasing values)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,0.3])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[1,0.3]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test13_halo" keywords="[[application, backgroundGradientAlphas]" description="Check -1,0 (invalid).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[-1,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[-1,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test14_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0,-1 (invalid).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0,-1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0,-1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	<TestCase testID="style_backgroundGradientAlphas_test15_halo" keywords="[[application, backgroundGradientAlphas]" description="Check 0,2 (invalid).">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundColor',0x00ff00)" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[0,2])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientAlphas')" value="[0,2]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+<!--
+================================================================================
+backgroundGradientColors:
+Set the backgroundGradientAlphas to 1 and 1.
+Don't worry about backgroundColor b/c setting the alpha to 1 will hide it.
+================================================================================
+-->	
+    <TestCase testID="style_backgroundGradientColors_test1_Flex_halo" keywords="[[application, backgroundGradientColors]" description="Check the default.">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="null" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test1_AIR_halo" keywords="[[application, backgroundGradientColors]" description="Check the default.">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="null" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test2_halo" keywords="[[application, backgroundGradientColors]" description="Check min and min (boundaries)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test3_halo" keywords="[[application, backgroundGradientColors]" description="Check min and max (boundaries)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0xffffff])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0,0xffffff]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+    
+    <TestCase testID="style_backgroundGradientColors_test4_halo" keywords="[[application, backgroundGradientColors]" description="Check max and min (boundaries)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0xffffff,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0xffffff,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+    
+    <TestCase testID="style_backgroundGradientColors_test5_halo" keywords="[[application, backgroundGradientColors]" description="Check max and max (boundaries)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0xffffff,0xffffff])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0xffffff,0xffffff]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test6_halo" keywords="[[application, backgroundGradientColors]" description="Check min and midrange (normal, increasing)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,0x00ff00])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0,0x00ff00]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test7_halo" keywords="[[application, backgroundGradientColors]" description="Check midrange and midrange (normal, increasing)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0x0000ff,0xff0000])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0x0000ff,0xff0000]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test8_halo" keywords="[[application, backgroundGradientColors]" description="Check midrange and max (normal, increasing)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0x00ff00,0xffffff])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0x00ff00,0xffffff]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test9_halo" keywords="[[application, backgroundGradientColors]" description="Check midrange and min (normal, decreasing)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0x00ff00,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0x00ff00,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test10_halo" keywords="[[application, backgroundGradientColors]" description="Check midrange and midrange (normal, decreasing)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0xff0000,0x0000ff])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0xff0000,0x0000ff]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test11_halo" keywords="[[application, backgroundGradientColors]" description="Check max and midrange (normal, decreasing)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0xffffff,0x00ff00])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0xffffff,0x00ff00]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test12a_halo" keywords="[[application, backgroundGradientColors]" description="Check negative number (invalid)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,-1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0,-1]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test12b_halo" keywords="[[application, backgroundGradientColors]" description="Check negative number (invalid)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[-1,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[-1,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test13a_halo" keywords="[[application, backgroundGradientColors]" description="Check a number that is too large (invalid)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[0,16777216])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0,16777216]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test13b_halo" keywords="[[application, backgroundGradientColors]" description="Check a number that is too large (invalid)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[16777216,0])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[16777216,0]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test14_halo" keywords="[[application, backgroundGradientColors]" description="Check Number class">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',[new Number(0),new Number(0xffffff)])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[0,0xffffff]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test15a_halo" keywords="[[application, backgroundGradientColors]" description="Check String (invalid??)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',['0x0000ff', '0xff0000'])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" valueExpression="value='0x0000ff,0xff0000'" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+    <TestCase testID="style_backgroundGradientColors_test15b_halo" keywords="[[application, backgroundGradientColors]" description="Check String (invalid)">
+        <setup>
+            <SetProperty target="sl1" propertyName="autoLoad" value="true" />
+            <SetProperty target="sl1" propertyName="source" value="../../../../Assets/Images/redrect.jpg" waitEvent="complete" waitTarget="sl1" />
+            <SetProperty target="sl1" propertyName="source" value="assets/BasicApplication_Halo.swf" waitEvent="complete" waitTarget="sl1" />
+            <DispatchMouseEvent target="" type="mouseMove" localX="12" localY="55" waitTarget="sl1.content" waitEvent="applicationComplete"/>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientAlphas',[1,1])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Object(application.sl1.content).document.setStyle('backgroundGradientColors',['peanut', 'butter'])" waitTarget="sl1.content.application" waitEvent="updateComplete" />
+            <AssertMethodValue method="value=Object(application.sl1.content).document.getStyle('backgroundGradientColors')" value="[peanut, butter]" />
+            <CompareBitmap url="../Styles/Baselines/$testID.png" target="bx1" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test1_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test1_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test1_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test1_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,72 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyBlur_Test1_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyBlur
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+
+Yes, these CompareBitmaps are of the entire stage, since when blur=255 it 
+really does take up that much space.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyBlur_test1_halo" keywords="[[application, modalTransparencyBlur]" description="Check 0 (boundary)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyBlur" value="0" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0x00ff00" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyBlur" value="0" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test2_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test2_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test2_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test2_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,72 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyBlur_Test2_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyBlur
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+
+Yes, these CompareBitmaps are of the entire stage, since when blur=255 it 
+really does take up that much space.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyBlur_test2_halo" keywords="[[application, modalTransparencyBlur]" description="Check 255 (boundary)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyBlur" value="255" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0x00ff00" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyBlur" value="255" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test3_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test3_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test3_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test3_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,72 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyBlur_Test3_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyBlur
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+
+Yes, these CompareBitmaps are of the entire stage, since when blur=255 it 
+really does take up that much space.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyBlur_test3_halo" keywords="[[application, modalTransparencyBlur]" description="Check 5 (normal value)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyBlur" value="5" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0x00ff00" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyBlur" value="5" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test4_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test4_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test4_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test4_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,72 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyBlur_Test4_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyBlur
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+
+Yes, these CompareBitmaps are of the entire stage, since when blur=255 it 
+really does take up that much space.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyBlur_test4_halo" keywords="[[application, modalTransparencyBlur]" description="Check 10 (normal value)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyBlur" value="10" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0x00ff00" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyBlur" value="10" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test5_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test5_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test5_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test5_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,72 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyBlur_Test5_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyBlur
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+
+Yes, these CompareBitmaps are of the entire stage, since when blur=255 it 
+really does take up that much space.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyBlur_test5_halo" keywords="[[application, modalTransparencyBlur]" description="Check -1 (invalid)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyBlur" value="-1" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0x00ff00" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyBlur" value="-1" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test6_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test6_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test6_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyBlur_Test6_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,72 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyBlur_Test6_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyBlur
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+
+Yes, these CompareBitmaps are of the entire stage, since when blur=255 it 
+really does take up that much space.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyBlur_test6_halo" keywords="[[application, modalTransparencyBlur]" description="Check 256 (invalid)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyBlur" value="256" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0x00ff00" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyBlur" value="256" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test1_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test1_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test1_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test1_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,70 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyColor_Test1_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyColor
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyColor_test1_halo" keywords="[[application, modalTransparencyColor]" description="Check 0 (boundary)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyColor" value="0" />
+            <SetStyle target="{Application.application}" styleName="modalTransparency" value="1" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0xffffff" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyColor" value="0" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test2_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test2_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test2_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test2_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,70 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyColor_Test2_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyColor
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyColor_test2_halo" keywords="[[application, modalTransparencyColor]" description="Check 0xffffff (boundary)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyColor" value="0xffffff" />
+            <SetStyle target="{Application.application}" styleName="modalTransparency" value="1" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0xffffff" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyColor" value="0xffffff" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test3_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test3_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test3_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test3_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,70 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyColor_Test3_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyColor
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyColor_test3_halo" keywords="[[application, modalTransparencyColor]" description="Check 0x0000ff (normal value)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyColor" value="0x0000ff" />
+            <SetStyle target="{Application.application}" styleName="modalTransparency" value="1" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0xffffff" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyColor" value="0x0000ff" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test4_Halo.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test4_Halo.mxml?rev=1369933&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test4_Halo.mxml (added)
+++ incubator/flex/trunk/mustella/tests/Application/Application_HaloSkin/Styles/Application_Styles_ModalTransparencyColor_Test4_Halo.mxml Mon Aug  6 19:22:23 2012
@@ -0,0 +1,70 @@
+<?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="Application/Application_HaloSkin/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Application_ModalTransparencyColor_Test4_Halo.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.controls.Alert;
+        import mx.core.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+
+<!--
+================================================================================
+modalTransparencyColor
+Alert affects the parent app; it seems we can't make an alert in a child app.
+So, each test case has its own SWF.
+================================================================================
+-->	
+
+    <TestCase testID="style_modalTransparencyColor_test4_halo" keywords="[[application, modalTransparencyColor]" description="Check 0xff0000 (normal value)">
+        <setup>
+            <SetStyle target="{Application.application}" styleName="modalTransparencyColor" value="0xff0000" />
+            <SetStyle target="{Application.application}" styleName="modalTransparency" value="1" />
+            <SetStyle target="{Application.application}" styleName="backgroundImage" value="" />
+            <SetStyle target="{Application.application}" styleName="backgroundColor" value="0xffffff" waitEvent="updateComplete" />
+        </setup>
+        <body>
+            <RunCode code="Alert.show('')" />
+            <WaitForEffectsToEnd />
+            <AssertStyleValue target="{Application.application}" styleName="modalTransparencyColor" value="0xff0000" />
+            <CompareBitmap target="" url="../Styles/Baselines/$testID.png" />
+        </body>
+    </TestCase>
+
+	</testCases>
+</UnitTester>



Mime
View raw message