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 [8/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/ FileComboB...
Date Mon, 06 Aug 2012 20:51:43 GMT
Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusBarBackgroundColor_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusBarBackgroundColor_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusBarBackgroundColor_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusTextStyleName.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusTextStyleName.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusTextStyleName.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusTextStyleName_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusTextStyleName_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_statusTextStyleName_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_center.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_center.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_center.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_center_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_center_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_center_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_left.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_left.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_left.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_left_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_left_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleAlignment_left_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarBackgroundSkin.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarBackgroundSkin.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarBackgroundSkin.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarBackgroundSkin_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarBackgroundSkin_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarBackgroundSkin_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarColors.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarColors.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarColors.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarColors_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarColors_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleBarColors_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleTextStyleName.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleTextStyleName.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleTextStyleName.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleTextStyleName_Spark.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleTextStyleName_Spark.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/Window_styles_titleTextStyleName_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/showFlexChrome_false.png
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/showFlexChrome_false.png?rev=1370009&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/baselines/showFlexChrome_false.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Events/AIR_WindowedApplication_Events.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Events/AIR_WindowedApplication_Events.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Events/AIR_WindowedApplication_Events.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Events/AIR_WindowedApplication_Events.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,132 @@
+<?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/WindowedApplication/Events/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="AIR_WindowedApplication_Basic.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.WindowedApplication;
+
+      	public function displayState():void
+      	{
+      		application.restore();
+
+      		
+      	}
+      	]]>
+	</mx:Script>
+
+	<testCases>
+	<TestCase testID="Window_Event_displayStateChange_1" keywords="[Window,Event, displayStateChange]">
+			<body>
+				<RunCode code="application.maximize()" />
+				<AssertEvent target="" eventName="displayStateChange" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+								
+			</body> 
+		</TestCase> 
+		<TestCase testID="Window_Event_displayStateChange_2" keywords="[Window,Event, displayStateChange]">
+			<body>
+				<RunCode code="application.restore()"  waitEvent="displayStateChange" waitTarget=""/>
+				<AssertEvent target="" eventName="displayStateChange" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+								
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Event_displayStateChange_3" keywords="[Window,Event, displayStateChange]">
+			<body>
+				<RunCode code="application.minimize()"  waitEvent="displayStateChange" waitTarget=""/>
+				<AssertEvent target="" eventName="displayStateChange" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+								
+			</body> 
+		</TestCase>		
+		<TestCase testID="Window_Event_displayStateChanging_1" keywords="[Window,Event, displayStateChanging]">
+			<body>
+				<RunCode code="application.maximize()" />
+				<AssertEvent target="" eventName="displayStateChanging" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+								
+			</body> 
+		</TestCase> 
+		<TestCase testID="Window_Event_displayStateChanging_2" keywords="[Window,Event, displayStateChanging]">
+			<body>
+				<RunCode code="application.restore()"  waitEvent="displayStateChanging" waitTarget=""/>
+				<AssertEvent target="" eventName="displayStateChanging" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+								
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Event_displayStateChanging_3" keywords="[Window,Event, displayStateChanging]">
+			<body>
+				<RunCode code="application.minimize()"  waitEvent="displayStateChanging" waitTarget=""/>
+				<AssertEvent target="" eventName="displayStateChanging" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+				
+				
+			</body> 
+		</TestCase>  
+		<TestCase testID="Window_Event_displayStateChanging_4" keywords="[Window,Event, displayStateChanging]">
+			<body>
+				<RunCode code="displayState()"  waitEvent="displayStateChanging" waitTarget=""/>
+				<RunCode code="displayState()"  waitEvent="displayStateChanging" waitTarget=""/>
+			</body> 
+		</TestCase> 
+	<!--	<TestCase testID="Window_Event_Move" keywords="[Window,Event, Move]">
+			<body>
+				<WaitForEffectsToEnd/>
+				<DispatchKeyEvent keys="['ALTERNATE','SPACE','DOWN','ENTER','RIGHT','RIGHT','RIGHT','ENTER']"/> 
+				
+				<AssertEvent target="" eventName="move" eventClass="flash.events::NativeWindowBoundsEvent" /> 
+				<DispatchMouseEvent target="" type="mouseDown" stageX="-1" stageY="-1" />
+				<WaitForEffectsToEnd/>
+				<DispatchMouseEvent target="" type="mouseMove" stageX="100" stageY="150" />
+				<WaitForEffectsToEnd/>
+				<DispatchMouseEvent target="" type="mouseUp" stageX="-1" stageY="-1" />
+				<WaitForEffectsToEnd/>
+				<AssertEvent target="" eventName="move" eventClass="flash.events::NativeWindowBoundsEvent" />  
+			</body> 
+		</TestCase>	-->
+		
+ 		<TestCase testID="Window_Event_displayStateChange_maximize" keywords="[Window,Event, displayStateChange]">
+ 			<body>
+ 				<RunCode code="application.maximize()" />
+ 				<AssertEvent target="" eventName="displayStateChange" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 
+ 								
+ 			</body> 
+ 		</TestCase> 
+ 		<TestCase testID="Window_Event_displayStateChange_restore" keywords="[Window,Event, displayStateChange]">
+ 			<body>
+ 				<RunCode code="application.restore()"  waitEvent="displayStateChange" waitTarget=""/>
+ 				<AssertEvent target="" eventName="displayStateChange" eventClass="flash.events::NativeWindowDisplayStateEvent" /> 					
+ 			</body> 
+ 		</TestCase>
+	</testCases>
+
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,235 @@
+<?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/WindowedApplication/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="AIR_WindowedApplication_Basic.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.WindowedApplication;
+	import flash.geom.Rectangle;
+	
+      	public var ht:Number;
+      	public var maxHt:Number;
+      	public var wd:Number;
+      	public var maxWd:Number;
+      	public var ssb: Boolean;
+      	public var tit: String;
+      	public var sta: String;
+      	public var titIcon: Class;
+      	/*public function set():void
+      	{
+      		ht=application.height;
+      		wd=application.width;
+      		ssb=application.showStatusBar;
+      		tit=application.title;
+      		sta=application.status;
+		
+      	}
+      	public function reset():void
+      	{
+      		application.height=ht;
+      		application.width=wd;
+      		application.showStatusBar=ssb;
+      		application.status=sta;
+      		application.title=tit;
+		
+	}*/     
+      	
+      	[Bindable]
+	[Embed(source="../../../../Assets/Images/smallredrect.jpg")]
+	public var kb:Class;
+      	
+      	]]>
+	</mx:Script>
+	<testCases>
+		<TestCase testID="Window_Property_height_positive" keywords="[Window,height, Property]">
+			<setup>
+				<SetProperty target="" propertyName="height" value="800" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="" propertyName="height" value="800" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="Window_Property_height_negative" keywords="[Window,property, height]">
+			<setup>
+				<SetProperty target="" propertyName="height" value="-800" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="" propertyName="height" value="34" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="Window_Property_maxHeight_positive" keywords="[Window,property, maximumHeight]">
+			<setup>
+				<SetProperty target="" propertyName="maxHeight" value="375"/> 
+				<SetProperty target="" propertyName="height" value="700" waitTarget="" waitEvent="updateComplete"/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="maxHeight" value="375" /> 
+				<AssertPropertyValue target="" propertyName="height" value="375" />
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Property_maxHeight_negative" keywords="[Window,property, maximumHeight]">
+			<setup>
+				<SetProperty target="" propertyName="maxHeight" value="-300"/> 
+				<SetProperty target="" propertyName="height" value="375" waitTarget="" waitEvent="updateComplete"/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="maxHeight" value="34" /> 
+				<AssertPropertyValue target="" propertyName="height" value="34" />
+			</body> 
+		</TestCase>		
+		<TestCase testID="Window_Property_width_positive" keywords="[Window,width, Property]">
+			<setup>
+				<SetProperty target="" propertyName="width" value="800" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="" propertyName="width" value="800" />
+			</body>
+		</TestCase>
+		
+		
+		
+		<TestCase testID="Window_Property_maxWidth_positive" keywords="[Window,property, maximumWidth]">
+			<setup>
+				<SetProperty target="" propertyName="maxWidth" value="300"/> 
+				<SetProperty target="" propertyName="width" value="700" waitEvent="updateComplete" waitTarget=""/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="maxWidth" value="300" /> 
+				<AssertPropertyValue target="" propertyName="width" value="300" />
+			</body> 
+		</TestCase>
+	
+				<TestCase testID="Window_Property_showStatusBar_true" keywords="[Window,property, showStatusBar]">
+			<setup>
+				<SetProperty target="" propertyName="status" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="status" value="Hello World!" /> 
+				<AssertPropertyValue target="" propertyName="showStatusBar" value="true" />
+				<CompareBitmap target="" url="../Properties/baselines/showStatusBarTrue.png" timeout="5000" />
+			</body> 
+		</TestCase>
+		
+		<TestCase testID="Window_Property_showStatusBar_false" keywords="[Window,property, showStatusBar]">
+			<setup>
+				<SetProperty target="" propertyName="status" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<SetProperty target="" propertyName="showStatusBar" value="false" waitEvent="updateComplete" waitTarget=""/> 
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="status" value="Hello World!" /> 
+				<AssertPropertyValue target="" propertyName="showStatusBar" value="false" />
+				<CompareBitmap target="" url="../Properties/baselines/showStatusBarFalse.png" timeout="5000" />
+			</body> 
+		</TestCase>		
+		<TestCase testID="Window_Property_title" keywords="[Window,property, title]">
+			<setup>
+				<SetProperty target="" propertyName="title" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="title" value="Hello World!" /> 
+				<CompareBitmap target="" url="../Properties/baselines/title1.png" timeout="5000" />
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Property_title_null" keywords="[Window,property, title]">
+			<setup>
+				<SetProperty target="" propertyName="title" value="" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/title2.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="title" value="" /> 
+			</body> 
+		</TestCase>		
+        	<TestCase testID="Window_Property_title_doubleByte" keywords="[Window,property, title]">
+			<setup>
+				<SetProperty target="" propertyName="title" value="???" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/title3.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="title" value="???" /> 
+			</body> 
+		</TestCase>	
+		<TestCase testID="Window_Property_status" keywords="[Window,property, status]">
+			<setup>
+				<SetProperty target="" propertyName="status" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<SetProperty target="" propertyName="showStatusBar" value="true" waitEvent="updateComplete" waitTarget=""/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="status" value="Hello World!" /> 
+				<CompareBitmap target="" url="../Properties/baselines/status1.png" timeout="5000" />
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Property_statu_null" keywords="[Window,property, status]">
+			<setup>
+				<SetProperty target="" propertyName="showStatusBar" value="true" />
+				<SetProperty target="" propertyName="status" value="" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/status2.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="status" value="" /> 
+			</body> 
+		</TestCase>		
+        	<TestCase testID="Window_Property_status_doubleByte" keywords="[Window,property, status]">
+			<setup>
+				<SetProperty target="" propertyName="showStatusBar" value="true" />
+				<SetProperty target="" propertyName="status" value="???" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/status3.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="status" value="???" /> 
+			</body> 
+		</TestCase>	
+		
+		<TestCase testID="Window_Property_titleIcon" keywords="[Window,property, titleIcon]">
+			<setup>
+				<SetProperty target="" propertyName="titleIcon" valueExpression="value=kb" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/titleIcon.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="titleIcon" valueExpression="value=kb" /> 
+			</body> 
+		</TestCase>
+		
+	</testCases>
+</UnitTester>
+	
+

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/AIR_WindowedApplication_Properties_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,234 @@
+<?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/WindowedApplication/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="AIR_WindowedApplication_Basic_Spark.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.WindowedApplication;
+	import flash.geom.Rectangle;
+	
+      	public var ht:Number;
+      	public var maxHt:Number;
+      	public var wd:Number;
+      	public var maxWd:Number;
+      	public var ssb: Boolean;
+      	public var tit: String;
+      	public var sta: String;
+      	public var titIcon: Class;
+      	/*public function set():void
+      	{
+      		ht=application.height;
+      		wd=application.width;
+      		ssb=application.showStatusBar;
+      		tit=application.title;
+      		sta=application.status;
+		
+      	}
+      	public function reset():void
+      	{
+      		application.height=ht;
+      		application.width=wd;
+      		application.showStatusBar=ssb;
+      		application.status=sta;
+      		application.title=tit;
+		
+	}*/     
+      	
+      	[Bindable]
+	[Embed(source="../../../../Assets/Images/smallredrect.jpg")]
+	public var kb:Class;
+      	
+      	]]>
+	</mx:Script>
+	<testCases>
+		<TestCase testID="Window_Property_height_positive" keywords="[Window,height, Property]">
+			<setup>
+				<SetProperty target="" propertyName="height" value="800" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="" propertyName="height" value="800" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="Window_Property_height_negative" keywords="[Window,property, height]">
+			<setup>
+				<SetProperty target="" propertyName="height" value="-800" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="" propertyName="height" value="34" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="Window_Property_maxHeight_positive" keywords="[Window,property, maximumHeight]">
+			<setup>
+				<SetProperty target="" propertyName="maxHeight" value="375"/> 
+				<SetProperty target="" propertyName="height" value="700" waitTarget="" waitEvent="updateComplete"/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="maxHeight" value="375" /> 
+				<AssertPropertyValue target="" propertyName="height" value="375" />
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Property_maxHeight_negative" keywords="[Window,property, maximumHeight]">
+			<setup>
+				<SetProperty target="" propertyName="maxHeight" value="-300"/> 
+				<SetProperty target="" propertyName="height" value="375" waitTarget="" waitEvent="updateComplete"/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="maxHeight" value="34" /> 
+				<AssertPropertyValue target="" propertyName="height" value="34" />
+			</body> 
+		</TestCase>		
+		<TestCase testID="Window_Property_width_positive" keywords="[Window,width, Property]">
+			<setup>
+				<SetProperty target="" propertyName="width" value="800" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="" propertyName="width" value="800" />
+			</body>
+		</TestCase>
+		
+	
+		<TestCase testID="Window_Property_maxWidth_positive" keywords="[Window,property, maximumWidth]">
+			<setup>
+				<SetProperty target="" propertyName="maxWidth" value="300"/> 
+				<SetProperty target="" propertyName="width" value="700" waitEvent="updateComplete" waitTarget=""/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="maxWidth" value="300" /> 
+				<AssertPropertyValue target="" propertyName="width" value="300" />
+			</body> 
+		</TestCase>
+		
+				<TestCase testID="Window_Property_showStatusBar_true" keywords="[Window,property, showStatusBar]">
+			<setup>
+				<SetProperty target="" propertyName="status" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="status" value="Hello World!" /> 
+				<AssertPropertyValue target="" propertyName="showStatusBar" value="true" />
+				<CompareBitmap target="" url="../Properties/baselines/showStatusBarTrue_Spark.png" timeout="5000" />
+			</body> 
+		</TestCase>
+		
+		<TestCase testID="Window_Property_showStatusBar_false" keywords="[Window,property, showStatusBar]">
+			<setup>
+				<SetProperty target="" propertyName="status" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<SetProperty target="" propertyName="showStatusBar" value="false" waitEvent="updateComplete" waitTarget=""/> 
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="status" value="Hello World!" /> 
+				<AssertPropertyValue target="" propertyName="showStatusBar" value="false" />
+				<CompareBitmap target="" url="../Properties/baselines/showStatusBarFalse_Spark.png" timeout="5000" />
+			</body> 
+		</TestCase>		
+		<TestCase testID="Window_Property_title" keywords="[Window,property, title]">
+			<setup>
+				<SetProperty target="" propertyName="title" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="title" value="Hello World!" /> 
+				<CompareBitmap target="" url="../Properties/baselines/title1_Spark.png" timeout="5000" />
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Property_title_null" keywords="[Window,property, title]">
+			<setup>
+				<SetProperty target="" propertyName="title" value="" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/title2_Spark.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="title" value="" /> 
+			</body> 
+		</TestCase>		
+        	<TestCase testID="Window_Property_title_doubleByte" keywords="[Window,property, title]">
+			<setup>
+				<SetProperty target="" propertyName="title" value="???" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/title3_Spark.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="title" value="???" /> 
+			</body> 
+		</TestCase>	
+		<TestCase testID="Window_Property_status" keywords="[Window,property, status]">
+			<setup>
+				<SetProperty target="" propertyName="status" value="Hello World!" waitEvent="updateComplete" waitTarget=""/> 
+				<SetProperty target="" propertyName="showStatusBar" value="true" waitEvent="updateComplete" waitTarget=""/>
+				<WaitForEffectsToEnd/>
+			</setup>  
+			<body>  
+				<AssertPropertyValue target="" propertyName="status" value="Hello World!" /> 
+				<CompareBitmap target="" url="../Properties/baselines/status1_Spark.png" timeout="5000" />
+			</body> 
+		</TestCase>
+		<TestCase testID="Window_Property_statu_null" keywords="[Window,property, status]">
+			<setup>
+				<SetProperty target="" propertyName="showStatusBar" value="true" />
+				<SetProperty target="" propertyName="status" value="" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/status2_Spark.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="status" value="" /> 
+			</body> 
+		</TestCase>		
+        	<TestCase testID="Window_Property_status_doubleByte" keywords="[Window,property, status]">
+			<setup>
+				<SetProperty target="" propertyName="showStatusBar" value="true" />
+				<SetProperty target="" propertyName="status" value="???" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/status3_Spark.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="status" value="???" /> 
+			</body> 
+		</TestCase>	
+		
+		<TestCase testID="Window_Property_titleIcon" keywords="[Window,property, titleIcon]">
+			<setup>
+				<SetProperty target="" propertyName="titleIcon" valueExpression="value=kb" waitEvent="updateComplete" waitTarget=""/> 
+			</setup>  
+			<body>  
+				<CompareBitmap target="" url="../Properties/baselines/titleIcon_Spark.png" timeout="5000" />
+				<AssertPropertyValue target="" propertyName="titleIcon" valueExpression="value=kb" /> 
+			</body> 
+		</TestCase>
+		
+	</testCases>
+</UnitTester>
+	
+

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_BindableTester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_BindableTester.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_BindableTester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_BindableTester.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,107 @@
+<?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/WindowedApplication/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="WindowedApplication_Bindable.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 -->
+
+	<testCases>
+		<TestCase testID="WindowedApplication_height_property_bindable" description="Verifies that height is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.height=100;" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="taHeight" propertyName="text" value="100"/>
+			</body>
+		</TestCase>
+		<TestCase testID="WindowedApplication_width_property_bindable" description="Verifies that width is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.width=200;" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="taWidth" propertyName="text" value="200"/>
+			</body>
+		</TestCase>
+		<TestCase testID="WindowedApplication_maxWidth_property_bindable" description="Verifies that maxWidth is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.maxWidth=500;" />
+				<RunCode code="this.application.width=600;" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="taMaxWidth" propertyName="text" value="500"/>
+				<AssertPropertyValue target="taWidth" propertyName="text" value="500"/>
+			</body>
+		</TestCase>
+		<TestCase testID="WindowedApplication_maxHeight_property_bindable" description="Verifies that maxHeight is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.maxHeight=500;" />
+				<RunCode code="this.application.height=600;" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="taMaxHeight" propertyName="text" value="500"/>
+				<AssertPropertyValue target="taHeight" propertyName="text" value="500"/>
+			</body>
+		</TestCase>
+	
+		<TestCase testID="WindowedApplication_minWidth_property_bindable" description="Verifies that minWidth is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.minWidth=200;" />
+				<RunCode code="this.application.width=100;" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="taMinWidth" propertyName="text" value="200"/>
+				<AssertPropertyValue target="taWidth" propertyName="text" value="200"/>
+			</body>
+		</TestCase>
+		<TestCase testID="WindowedApplication_minHeight_property_bindable" description="Verifies that minHeight is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.minHeight=200;" />
+				<RunCode code="this.application.height=100;" waitEvent="updateComplete" waitTarget=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue target="taMinHeight" propertyName="text" value="200"/>
+				<AssertPropertyValue target="taHeight" propertyName="text" value="200"/>
+			</body>
+		</TestCase>
+		<TestCase testID="WindowedApplication_visible_property_bindable" description="Verifies that visible is bindable for WindowedApplication" keywords="[WindowedApplication, height, property]">
+			<setup>
+				<RunCode code="this.application.visible=false;" />
+			</setup>
+			<body>
+				<AssertPropertyValue target="taVisible" propertyName="text" value="false"/>
+			</body>
+		</TestCase>
+	</testCases>
+
+</UnitTester>
+

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_properties_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_properties_tester.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_properties_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_properties_tester.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,56 @@
+<?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/WindowedApplication/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="WindowedApplication_main.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.Button;
+		]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="Checking_showStatusBar_property_of_WindowedApplication" description="Checks that the status bar does not appear when showStatusBar=false" keywords="[WindowedApplication, showStatusBar, property]">
+			<setup>
+				<SetProperty propertyName="showStatusBar" value="false" target=""/>
+			</setup>
+			<body>
+				<AssertPropertyValue propertyName="showStatusBar" value="false"/>
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,54 @@
+<?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/WindowedApplication/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="AIR_WindowedApplication_showFlexChrome.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.Button;
+		]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="Checking_showFlexChrome_false" description="Check when showFlexChrome is set to false" keywords="[WindowedApplication, showFlexChrome, property]">
+			<body>
+				<!-- <AssertPropertyValue target="" propertyName="showFlexChrome" value="false"/>  -->
+				<CompareBitmap target="" url="../Properties/baselines/showFlexChrome_false.png" timeout="5000" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/WindowedApplication_property_showFlexChrome_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,54 @@
+<?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/WindowedApplication/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="AIR_WindowedApplication_showFlexChrome_Spark.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.Button;
+		]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="Checking_showFlexChrome_false" description="Check when showFlexChrome is set to false" keywords="[WindowedApplication, showFlexChrome, property]">
+			<body>
+				<!-- <AssertPropertyValue target="" propertyName="showFlexChrome" value="false"/>  -->
+				<CompareBitmap target="" url="../Properties/baselines/showFlexChrome_false_Spark.png" timeout="5000" />
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/showFlexChrome_false.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/showFlexChrome_false_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/showStatusBarFalse.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/showStatusBarFalse_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/showStatusBarTrue.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/showStatusBarTrue_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/status1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/status1_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/status2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/status2_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/status3.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/status3_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/title1.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/title1_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/title2.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/title2_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/title3.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/title3_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/titleIcon.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

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

Propchange: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Properties/baselines/titleIcon_Spark.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.compile?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.compile (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.compile Mon Aug  6 20:51:08 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc  -compatibility-version=3.0.0

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="140" minHeight="34">
+<mx:Script>
+	<![CDATA[
+
+
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="140" minHeight="34">
+<mx:Script>
+	<![CDATA[
+
+
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.compile?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.compile (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.compile Mon Aug  6 20:51:08 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc  -compatibility-version=3.0.0

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+<mx:Script>
+	<![CDATA[
+
+
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_Basic_Styles_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+<mx:Script>
+	<![CDATA[
+
+
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.compile?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.compile (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.compile Mon Aug  6 20:51:08 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc  -compatibility-version=3.0.0

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" showFlexChrome="false">
+<mx:Script>
+	<![CDATA[
+
+
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/AIR_WindowedApplication_showFlexChrome_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" showFlexChrome="false">
+<mx:Script>
+	<![CDATA[
+
+
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApp_backgroundStyles_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApp_backgroundStyles_main.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApp_backgroundStyles_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApp_backgroundStyles_main.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,83 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
+					   xmlns:s="library://ns.adobe.com/flex/spark" 
+					   xmlns:mx="library://ns.adobe.com/flex/mx" height="500" width="500" backgroundAlpha="0.5" backgroundColor="blue">
+	
+	<fx:Style>
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+	    @font-face {
+	        src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Regular.ttf");
+	        fontFamily: EmbeddedVera;
+	        embedAsCFF: false;
+	    }
+	
+	    @font-face {
+	        src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Bold.ttf");
+	        fontWeight: bold;
+	        fontFamily: EmbeddedVera;
+	        embedAsCFF: false;
+	    }
+	
+	    @font-face {
+	        src: url("../../../../Assets/Fonts/Open_Sans/OpenSans-Italic.ttf");
+	        fontStyle: italic;
+	        fontFamily: EmbeddedVera;
+	        embedAsCFF: false;
+	    }
+	
+	    mx|WindowedApplication{
+	        fontFamily: EmbeddedVera;
+	        fontLookup: embeddedCFF;
+	        fontAntiAliasType: normal;
+	    }
+	    
+	</fx:Style>
+
+	<fx:Script>
+		<![CDATA[
+			import mx.core.Window;
+			import flash.display.NativeWindow;
+			import mx.core.FlexGlobals;
+			import flash.system.Capabilities;
+			import mx.events.FlexEvent;
+			
+			public var myWin:Window;
+			
+			public function createAWindow():void
+			{
+				myWin=new Window();
+				myWin.title="window test";
+				myWin.width=300;
+				myWin.height=350;
+				myWin.minimizable=true;
+				myWin.maximizable=true;
+				myWin.resizable=true;
+				myWin.systemChrome="none";
+				myWin.transparent=true;
+				myWin.setStyle('backgroundColor', 'red');
+				myWin.setStyle('backgroundAlpha', 0.2);
+				myWin.open(true);
+			}	
+		]]>
+	</fx:Script>
+	<mx:Panel width="100" height="100"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_Bindable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_Bindable.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_Bindable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_Bindable.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" maxHeight="600" maxWidth="600" minHeight="100" minWidth="100" height="500" width="600" layout="vertical">
+	<mx:TextArea id="taHeight" text="{height}"/>
+	<mx:TextArea id="taWidth" text="{width}"/>
+	<mx:TextArea id="taMaxHeight" text="{maxHeight}"/>
+	<mx:TextArea id="taMaxWidth" text="{maxWidth}"/>
+	<mx:TextArea id="taMinHeight" text="{minHeight}"/>
+	<mx:TextArea id="taMinWidth" text="{minWidth}"/>
+	<mx:TextArea id="taVisible" text="{visible}"/>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" height="500" width="600" closeButtonSkin="{myStyle}" maximizeButtonSkin="{myStyle}" minimizeButtonSkin="{myStyle}" restoreButtonSkin="{myStyle}">
+	<mx:Script>
+		<![CDATA[
+			[Bindable]
+			[Embed(source="../../../../Assets/Images/smallredrect.jpg")]
+			public var myStyle:Class;
+		]]>
+	</mx:Script>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/SWFs/WindowedApplication_main_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" height="500" width="600" closeButtonSkin="{myStyle}" maximizeButtonSkin="{myStyle}" minimizeButtonSkin="{myStyle}" restoreButtonSkin="{myStyle}">
+	<mx:Script>
+		<![CDATA[
+			[Bindable]
+			[Embed(source="../../../../Assets/Images/smallredrect.jpg")]
+			public var myStyle:Class;
+		]]>
+	</mx:Script>
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Styles/AIR_WindowedApplication_ButtonStyles.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Styles/AIR_WindowedApplication_ButtonStyles.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Styles/AIR_WindowedApplication_ButtonStyles.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/WindowedApplication/Styles/AIR_WindowedApplication_ButtonStyles.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,163 @@
+<?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/WindowedApplication/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="WindowedApplication_main.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.WindowedApplication;
+	import mx.core.windowClasses.TitleBar;
+	import mx.controls.Button;
+
+	public var cbms:String;
+	public var cbs:String;
+	public var hh:Number;
+	public var mbms:String;
+	public var mbs:String;
+	public var mbmsn:String;
+	public var mbsn:String;
+	public var rbsn:String;
+	public var sfc:String;
+	public var sbgs:Class;
+	public var sbbc:uint;
+	public var stsn:String;
+	public var ta:String;
+	public var tbbs:Class;
+	public var tbbp:Number;
+	public var tbc:Array;
+	public var ttsn:String;
+	public var ba:String;
+     	public var bp:Number;
+	
+	public var minBtn:Button;
+	public var maxBtn:Button;
+	public var closeBtn:Button;
+
+	[Bindable]
+	[Embed(source="../../../../Assets/Images/redrect.jpg")]
+	public var extraButtonSkin:Class;
+
+	public function setButtons():void
+	{
+		minBtn = mx.core.windowClasses.TitleBar(application.titleBar).minimizeButton;
+		maxBtn = mx.core.windowClasses.TitleBar(application.titleBar).maximizeButton;
+		closeBtn = mx.core.windowClasses.TitleBar(application.titleBar).closeButton;
+	}
+
+      /*	public function set():void
+      	{
+      		ba=application.getStyle('buttonAlignment');
+      		bp=application.getStyle('buttonPadding');
+      		cbms=application.getStyle('closeButtonSkin');
+      		cbs=application.getStyle('closeButtonSkin');
+      		hh=application.getStyle('headerHeight');
+      		mbms=application.getStyle('maximizeButtonSkin');
+      		mbs=application.getStyle('maximizeButtonSkin');
+      		mbmsn=application.getStyle('minimizeButtonSkin');
+      		mbsn=application.getStyle('minimizeButtonSkin');
+      		rbsn=application.getStyle('restoreButtonSkin');
+      		sfc=application.getStyle('showFlexChrome');
+      		sbgs=application.getStyle('statusBackgroundSkin');
+      		sbbc=application.getStyle('statusBarBackgroundColor');
+      		stsn=application.getStyle('statusTextStyleName');
+      		ta=application.getStyle('titleAlignment');
+      		tbbs=application.getStyle('titleBarBackgroundSkin');
+      		tbbp=application.getStyle('titleBarButtonPadding');
+      		tbc=application.getStyle('titleBarColors');
+      		ttsn=application.getStyle('titleTextStyleName');
+      		trace(hh);
+      	}
+      	public function reset():void
+      	{
+		application.setStyle('buttonAlignment',ba);
+		application.setStyle('buttonPadding',bp);
+		application.setStyle('closeButtonSkin', extraButtonSkin);
+		application.setStyle('closeButtonSkin', extraButtonSkin);
+		application.setStyle('headerHeight',22);
+		application.setStyle('maximizeButtonSkin',mbms);
+		application.setStyle('maximizeButtonSkin',mbs);
+		application.setStyle('minimizeButtonSkin',mbmsn);
+		application.setStyle('minimizeButtonSkin',mbsn);
+		application.setStyle('restoreButtonSkin',rbsn);
+		application.setStyle('showFlexChrome',sfc);
+		application.setStyle('statusBackgroundSkin',sbgs);
+		application.setStyle('statusBarBackgroundColor',sbbc);
+		application.setStyle('statusTextStyleName',stsn);
+		application.setStyle('titleAlignment',ta);
+		application.setStyle('titleBarBackgroundSkin',tbbs);
+		application.setStyle('titleBarButtonPadding',tbbp);
+		application.setStyle('titleBarColors',tbc);
+		application.setStyle('titleTextStyleName',ttsn);
+		
+	}     */
+      	
+      	]]>
+	</mx:Script>
+
+	<testCases>
+
+		<TestCase testID="Window_Style_maximizeButtonStyleName" keywords="[Window,Style, maximizeButtonStyleName]">
+			<body>
+				<RunCode code="setButtons()"/>
+				<SetStyle styleName="maximizeButtonSkin" value="{extraButtonSkin}" target="" waitEvent="updateComplete" waitTarget=""/>
+				<CompareBitmap target="script:maxBtn" url="../Styles/baselines/maximizeButtonStyleName.png" timeout="5000" />
+			</body>
+		</TestCase>
+		
+		<TestCase testID="Window_Style_closeButtonStyleName" keywords="[Window,Style, closeButtonStyleName]">
+			<body>
+				<SetStyle styleName="closeButtonSkin" value="{extraButtonSkin}" target="" waitEvent="updateComplete" waitTarget=""/>
+				<CompareBitmap target="script:closeBtn" url="../Styles/baselines/closeButtonStyleName.png" timeout="5000" />
+			</body>
+		</TestCase>
+		<TestCase testID="Window_Style_restoreButtonStyleName" keywords="[Window,Style, restoreButtonStyleName]">
+			<body>
+				<SetStyle styleName="restoreButtonSkin" value="{extraButtonSkin}" target="" waitEvent="updateComplete" waitTarget=""/>
+				<RunCode code="application.maximize()"  waitEvent="displayStateChange" waitTarget=""/>
+				<WaitForEffectsToEnd/>
+				<CompareBitmap target="script:maxBtn" url="../Styles/baselines/restoreButtonStyleName.png" timeout="5000" />
+				<RunCode code="application.restore()"  waitEvent="displayStateChanging" waitTarget=""/>
+			</body>
+		</TestCase>
+		<TestCase testID="Window_Style_minimizeButtonStyleName" keywords="[Window,Style, minimizeButtonStyleName]">
+			<body>
+				<SetStyle styleName="minimizeButtonSkin" value="{extraButtonSkin}" target="" waitEvent="updateComplete" waitTarget=""/>
+				<WaitForEffectsToEnd/>
+				<CompareBitmap target="script:minBtn" url="../Styles/baselines/minimizeButtonStyleName.png" timeout="5000" />
+			</body>
+		</TestCase>		
+	</testCases>
+
+</UnitTester>
+	
+



Mime
View raw message