incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370009 [32/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/properties/wa_properties_titleIcon_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_titleIcon_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_titleIcon_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_titleIcon_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,220 @@
+<?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/properties/"  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 mx.core.FlexGlobals;
+        import spark.components.*;
+        import spark.skins.spark.*;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test titleIcon
+========================================================
+-->
+<TestCase testID="titleIcon_test1_mac" keywords="[WindowedApplication,titleIcon]" description="Set to something." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test1_win" keywords="[WindowedApplication,titleIcon]" description="Set to something." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test2_mac" keywords="[WindowedApplication,titleIcon]" description="Set to something and change it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare2" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test2_win" keywords="[WindowedApplication,titleIcon]" description="Set to something and change it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare2" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test3_mac" keywords="[WindowedApplication,titleIcon]" description="Set to something and remove it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = null" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test3_win" keywords="[WindowedApplication,titleIcon]" description="Set to something and remove it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = null" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test4_mac" keywords="[WindowedApplication,titleIcon]" description="Set to something and change to a larger icon." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test4_win" keywords="[WindowedApplication,titleIcon]" description="Set to something and change to a larger icon." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test5_mac" keywords="[WindowedApplication,titleIcon]" description="Set to something and change to a smaller icon." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test5_win" keywords="[WindowedApplication,titleIcon]" description="Set to something and change to a smaller icon." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.smallSquare1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test6_mac" keywords="[WindowedApplication,titleIcon]" description="Bindable" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <AssertPropertyValue target="bindingTarget" propertyName="theTitleIcon" valueExpression="value = '[class wa_app2_longRect1]'" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test6_win" keywords="[WindowedApplication,titleIcon]" description="Bindable" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <AssertPropertyValue target="bindingTarget" propertyName="theTitleIcon" valueExpression="value = '[class wa_app2_longRect1]'" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test7_mac" keywords="[WindowedApplication,titleIcon]" description="Title truncates when switching to a longer icon." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The quick, brown fox jumps over the lazy dog. The quick, brown fox jumps over the lazy dog. The quick, brown fox jumps over the lazy dog. The quick, brown fox jumps over the lazy dog. The quick, brown fox jumps over the lazy dog. " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="titleIcon_test7_win" keywords="[WindowedApplication,titleIcon]" description="Title truncates when switching to a longer icon." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The q_ick, brown fox j_mps over the lazy dog. The q_ick, brown fox j_mps over the lazy dog. The quick, brown fox jumps over the lazy dog. The quick, brown fox jumps over the lazy dog. The quick, brown fox jumps over the lazy dog. " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="titleIcon" valueExpression="value = FlexGlobals.topLevelApplication.longRect1" waitEvent="updateComplete" />
+        <CompareBitmap target="skin.titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,69 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_properties_title_mxml.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+
+        import mx.core.FlexGlobals;
+        import spark.skins.spark.*;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test title set in MXML
+========================================================
+-->
+<TestCase testID="title_mxml_test1_mac" keywords="[WindowedApplication,title]" description="Check title set in mxml." >
+    <body>
+        <AssertPropertyValue target="skin.titleBar.skin.titleText" propertyName="text" value="The pokey, orange fox leapt over the lazy cat." />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_mxml_test1_win" keywords="[WindowedApplication,title]" description="Check title set in mxml." >
+    <body>
+        <AssertPropertyValue target="skin.titleBar.skin.titleText" propertyName="text" value="The pokey, orange fox leapt over the lazy cat." />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests2.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_mxml_tests2.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,68 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_properties_title_mxml2.mxml">
+
+	<!-- this set of lines form a template that must be in each unit test -->
+	<mx:Script>
+	<![CDATA[
+	public static function init(o:DisplayObject):void
+	{
+	}
+	]]>
+	</mx:Script>
+	<mx:Metadata>
+	<![CDATA[
+		[Mixin]
+	]]>
+	</mx:Metadata>
+	<!-- end of set of lines that must be in each unit test -->
+
+	<mx:Script>
+	<![CDATA[
+
+        import mx.core.FlexGlobals;
+        import spark.skins.spark.*;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test title set in MXML
+========================================================
+-->
+<TestCase testID="title_mxml_test2_mac" keywords="[WindowedApplication,title]" description="Check truncated title set in mxml." >
+    <body>
+        <AssertPropertyValue target="skin.titleBar.skin.titleText" propertyName="text" value="The pokey, orange fox leapt over the lazy cat. The pokey, orange fox leapt over the lazy cat. The pokey, orange fox leapt over the lazy cat. The pokey, orange fox leapt over the lazy cat." />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_mxml_test2_win" keywords="[WindowedApplication,title]" description="Check truncated title set in mxml." >
+    <body>
+        <AssertPropertyValue target="skin.titleBar.skin.titleText" propertyName="text" value="The pokey, orange fox leapt over the lazy cat. The pokey, orange fox leapt over the lazy cat. The pokey, orange fox leapt over the lazy cat. The pokey, orange fox leapt over the lazy cat." />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_title_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,208 @@
+<?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/properties/"  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 mx.core.FlexGlobals;
+        import spark.skins.spark.*;
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test title
+========================================================
+-->
+<TestCase testID="title_test1_mac" keywords="[WindowedApplication,title]" description="Set to something." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The quick, brown fox" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test1_win" keywords="[WindowedApplication,title]" description="Set to something." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The quick, brown fox" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" numColorVariances="10" ignoreMaxColorVariance="true" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test2_mac" keywords="[WindowedApplication,title]" description="Clear it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The brown, quick fox" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" numColorVariances="10" ignoreMaxColorVariance="true" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test2_win" keywords="[WindowedApplication,title]" description="Clear it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The brown, quick fox" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test3_mac" keywords="[WindowedApplication,title]" description="Change it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The quick, brown fox" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The brown, quick fox" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test3_win" keywords="[WindowedApplication,title]" description="Change it." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The quick, brown fox" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The brown, quick fox" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test4" keywords="[WindowedApplication,title]" description="Bindable." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="The slow, red fox" waitEvent="updateComplete" />
+        <AssertPropertyValue target="bindingTarget" propertyName="theTitle" value="The slow, red fox" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test5_mac" keywords="[WindowedApplication,title]" description="Longer." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a aa aaa aaaa aaaaa aaaaaa" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test5_win" keywords="[WindowedApplication,title]" description="Longer." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a aa aaa aaaa aaaaa aaaaaa" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test6_mac" keywords="[WindowedApplication,title]" description="Shorter." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a aa aaa aaaa aaaaa aaaaaa" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test6_win" keywords="[WindowedApplication,title]" description="Shorter." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a aa aaa aaaa aaaaa aaaaaa" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="a" waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test7_mac" keywords="[WindowedApplication,title]" description="Check truncation." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="200" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="I am the very model of a modern major general.  I've information vegetable animal and mineral." waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="title_test7_win" keywords="[WindowedApplication,title]" description="Check truncation." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="200" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="title" value="I am the very model of a modern major general.  I've information vegetable animal and mineral." waitEvent="updateComplete" />
+        <CompareBitmap target="titleBar" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_false_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_false_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_false_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_false_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,60 @@
+<?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/properties/"  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[
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test transparent
+This is defined in the XML file.  The functionality
+is an AIR thing.  Just check that we can get it.
+========================================================
+-->
+
+<TestCase testID="transparent_test1" keywords="[WindowedApplication,transparent]" description="Get when false." >
+    <body>
+        <AssertPropertyValue target="" propertyName="transparent" value="false" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_true_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_true_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_true_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_transparent_true_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,60 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_properties_transparent_true.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>
+
+<!--
+========================================================
+Test transparent
+This is defined in the XML file.  The functionality
+is an AIR thing.  Just check that we can get it.
+========================================================
+-->
+
+<TestCase testID="transparent_true_test1" keywords="[WindowedApplication,transparent]" description="Get when true." >
+    <body>
+        <AssertPropertyValue target="" propertyName="transparent" value="true" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_type_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_type_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_type_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_type_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,58 @@
+<?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/properties/"  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[
+
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test type
+========================================================
+-->
+
+<TestCase testID="type_test1" keywords="[WindowedApplication,type]" description="This is just 'normal', no matter what." >
+    <body>
+        <AssertPropertyValue target="" propertyName="type" value="normal" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_visible_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_visible_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_visible_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_visible_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,86 @@
+<?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/properties/"  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 mx.core.*;
+        
+	]]>
+	</mx:Script>
+
+	<testCases>
+
+<!--
+========================================================
+Test visible.
+========================================================
+-->
+
+<TestCase testID="visible_test1" keywords="[WindowedApplication,visible]" description="Set to true, check for show event." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="visible" value="false" waitEvent="hide" />
+        <SetProperty target="" propertyName="visible" value="true" />
+        <AssertEvent target="" eventName="show" eventClass="mx.events::FlexEvent" />
+    </body>
+</TestCase>
+
+<TestCase testID="visible_test2" keywords="[WindowedApplication,visible]" description="Set to false, check for hide event." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="visible" value="false" />
+        <AssertEvent target="" eventName="hide" eventClass="mx.events::FlexEvent" />
+    </body>
+</TestCase>
+
+<TestCase testID="visible_test3" keywords="[WindowedApplication,visible]" description="Bindable." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <AssertPropertyValue target="bindingTarget" propertyName="theVisibility" value="true" />
+        <SetProperty target="" propertyName="visible" value="false" />
+        <AssertPropertyValue target="bindingTarget" propertyName="theVisibility" value="false" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_systemchrome_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_systemchrome_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_systemchrome_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_systemchrome_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,94 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_properties_heightwidth_minmaxsize_systemchrome.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 width
+Note: minSize and maxSize are:
+    <minSize>100 100</minSize>
+    <maxSize>750 650</maxSize>
+
+Mac and Win are different.  e.g. The *window* is 750
+pixels wide on both platforms, but due to differences
+like the size of the title bar, the area available to
+the WindowedApplication component is different.
+========================================================
+-->
+<TestCase testID="width_minSize_test1_systemChrome_mac" keywords="[WindowedApplication,width]" description="Width less than AIR XML file's minSize width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="100" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="130" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_maxSize_test2_systemChrome_mac" keywords="[WindowedApplication,width]" description="Width more than AIR XML file's maxSize width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="800" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="750" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_maxSize_test2_systemChrome_win" keywords="[WindowedApplication,width]" description="Width more than AIR XML file's maxSize width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="800" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="750" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_minmaxsize_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,101 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_properties_heightwidth_minmaxsize.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 width
+Note: minSize and maxSize are:
+    <minSize>140 140</minSize>
+    <maxSize>750 650</maxSize>
+========================================================
+-->
+<TestCase testID="width_minSize_test1_SparkChromeWindowedApplicationSkin " keywords="[WindowedApplication,width]" description="Width less than AIR XML file's minSize height" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="50" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="140" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_minSize_test1_windowedApplicationSkin" keywords="[WindowedApplication,width]" description="Width less than AIR XML file's minSize width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="50" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="140" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_maxSize_test2_SparkChromeWindowedApplicationSkin " keywords="[WindowedApplication,width]" description="Width more than AIR XML file's maxSize width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin " waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="800" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="750" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_maxSize_test2_windowedApplication" keywords="[WindowedApplication,width]" description="Width more than AIR XML file's maxSize width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="800" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="750" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_systemchrome_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_systemchrome_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_systemchrome_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_systemchrome_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,102 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_generic_systemchrome.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 width
+========================================================
+-->
+
+<TestCase testID="width_test5_systemChrome" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="253" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="253" />
+        <CompareBitmap target="group1" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test6_systemChrome" keywords="[WindowedApplication,width]" description="Less than minWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="minWidth" value="150" />
+        <SetProperty target="" propertyName="width" value="130" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="150" />
+        <CompareBitmap target="group1" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test7_systemChrome" keywords="[WindowedApplication,width]" description="More than maxWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="maxWidth" value="160" />
+        <SetProperty target="" propertyName="width" value="170" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="160" />
+        <CompareBitmap target="group1" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test8_binding" keywords="[WindowedApplication,width]" description="Bind to the width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="211" waitEvent="updateComplete" />
+        <AssertPropertyValue target="bindingTarget" propertyName="theWidth" value="211" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_tests.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_tests.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_tests.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/properties/wa_properties_width_tests.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,289 @@
+<?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/properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="wa_properties_heightwidth.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 width
+========================================================
+-->
+<TestCase testID="width_test1_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="Negative" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="minWidth" value="-10"/>
+        <SetProperty target="" propertyName="width" value="-1" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="2" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+        <RunCode code="FlexGlobals.topLevelApplication.restore()" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test2_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="Zero" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="minWidth" value="-10"/>
+        <SetProperty target="" propertyName="width" value="0" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="2" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+        <RunCode code="FlexGlobals.topLevelApplication.restore()" />
+    </body>
+</TestCase>
+
+
+<!-- Removed due to OS dependency -->
+<!--
+<TestCase testID="width_test2_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,width]" description="Zero" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="minWidth" value="-10"/>
+        <SetProperty target="" propertyName="width" value="0" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="140" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+        <RunCode code="FlexGlobals.topLevelApplication.restore()" />
+    </body>
+</TestCase>
+-->
+
+
+<!-- Removed due to OS dependency -->
+<!--
+<TestCase testID="width_test2_windowedApplicationSkin" keywords="[WindowedApplication,width]" description="Zero" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="minWidth" value="-10"/>
+        <SetProperty target="" propertyName="width" value="0" waitEvent="resize" />
+        <AssertMethodValue method="value = FlexGlobals.topLevelApplication.assertValueBasedOnOS(FlexGlobals.topLevelApplication.width, 140, 2, 2)" value="pass" />
+</body>
+</TestCase>
+-->
+
+<TestCase testID="width_test3_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="One" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="minWidth" value="-10"/>
+        <SetProperty target="" propertyName="width" value="1" waitEvent="resize" />
+        <AssertMethodValue method="value = FlexGlobals.topLevelApplication.assertValueBasedOnOS(FlexGlobals.topLevelApplication.width, 140, 2, 2)" value="pass" />
+</body>
+</TestCase>
+
+
+<TestCase testID="width_test4_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="30" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="30" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+
+<TestCase testID="width_test4_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="30" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="140" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test4_windowedApplicationSkin" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="33" waitEvent="resize" />
+        <AssertMethodValue method="value = FlexGlobals.topLevelApplication.assertValueBasedOnOS(FlexGlobals.topLevelApplication.width, 140, 33, 2)" value="pass" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test5_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="253" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="253" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test5_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="253" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="253" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test5_windowedApplicationSkin" keywords="[WindowedApplication,width]" description="Set width to a positive, reasonable value." >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="183" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="183" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test6_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="Less than minWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="minWidth" value="150" />
+        <SetProperty target="" propertyName="width" value="130" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="150" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test6_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,width]" description="Less than minWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="minWidth" value="150" />
+        <SetProperty target="" propertyName="width" value="130" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="150" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test6_windowedApplicationSkin" keywords="[WindowedApplication,width]" description="Less than minWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="minWidth" value="150" />
+        <SetProperty target="" propertyName="width" value="130" waitEvent="resize" />
+        <AssertPropertyValue target="" propertyName="width" value="150" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test7_SparkChromeWindowedApplicationSkin_mac" keywords="[WindowedApplication,width]" description="Increase to more than maxWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="150" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="maxWidth" value="160" />
+        <SetProperty target="" propertyName="width" value="170" waitEvent="updateComplete" />
+        <AssertPropertyValue target="" propertyName="width" value="160" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test7_SparkChromeWindowedApplicationSkin_win" keywords="[WindowedApplication,width]" description="Increase to more than maxWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetStyle target="" styleName="skinClass" valueExpression="value = SparkChromeWindowedApplicationSkin" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="width" value="150" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="maxWidth" value="160" />
+        <SetProperty target="" propertyName="width" value="170" waitEvent="updateComplete" />
+        <AssertPropertyValue target="" propertyName="width" value="160" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test7_windowedApplicationSkin" keywords="[WindowedApplication,width]" description="More than maxWidth" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="150" waitEvent="updateComplete" />
+        <SetProperty target="" propertyName="maxWidth" value="160" />
+        <SetProperty target="" propertyName="width" value="170" waitEvent="updateComplete" />
+        <AssertPropertyValue target="" propertyName="width" value="160" />
+        <CompareBitmap target="" url="../properties/baselines/$testID.png" />
+    </body>
+</TestCase>
+
+<TestCase testID="width_test8_binding" keywords="[WindowedApplication,width]" description="Bind to the width" >
+    <setup>
+        <RunCode code="FlexGlobals.topLevelApplication.doReset()" waitTarget="" waitEvent="resetComplete" />
+    </setup>
+    <body>
+        <SetProperty target="" propertyName="width" value="130" waitEvent="resize" />
+        <AssertPropertyValue target="bindingTarget" propertyName="theWidth" value="140" />
+    </body>
+</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test10_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test10_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_test10_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test10_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test10_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_test10_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test1_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test1_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_test1_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test1_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test1_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_test1_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test2_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test2_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_test2_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test2_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test2_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_test2_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test3_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test3_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_test3_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test3_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test3_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_test3_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test4_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test4_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_test4_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test4_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test4_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_test4_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test5_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test5_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_test5_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test5_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test5_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_test5_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test6_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test6_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_test6_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test6_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test6_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_test6_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test7_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test7_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_test7_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test7_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test7_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_test7_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test8_SparkChromeWindowedApplicationSkin_mac.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test8_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_test8_SparkChromeWindowedApplicationSkin_mac.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test8_SparkChromeWindowedApplicationSkin_win.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/spark/components/WindowedApplication/skin/baselines/titleBar_test8_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_test8_SparkChromeWindowedApplicationSkin_win.png
------------------------------------------------------------------------------
    svn:executable = *

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



Mime
View raw message