flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370009 [6/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/Properties/Window_properties_tester_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Properties/Window_properties_tester_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/Properties/Window_properties_tester_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/Properties/Window_properties_tester_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,408 @@
+<?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/Window/Properties/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Window_main_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[
+
+    [Bindable]
+    [Embed(source="../../../../Assets/Images/smallredrect.jpg")]
+    public var kb:Class;
+
+    ]]>
+    </mx:Script>
+
+    <testCases>
+        <TestCase testID="Window_properties_default_alwaysInFront" keywords="[Window, properties, alwaysInFront]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="alwaysInFront" value="false" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_default_height" keywords="[Window, properties, height]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="100" target="aw"/>
+                <CompareBitmap url="../Properties/baselines/Window_default_height_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_height_500" keywords="[Window, properties, height]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="height" value="500" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_height_500_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_height_250_postOpen" keywords="[Window, properties, height]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="height" value="250" target="aw" waitTarget="aw" waitEvent="updateComplete"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_height_250_postOpen_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+      <TestCase testID="Window_properties_width_500" keywords="[Window, properties, width]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="width" value="500" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_width_500_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_width_250_postOpen" keywords="[Window, properties, width]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="width" value="250" target="aw" waitTarget="aw" waitEvent="updateComplete"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_width_250_postOpen_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxHeight_default" keywords="[Window, properties, maxHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="maxHeight" value="107374182" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxHeight_500_height_600" keywords="[Window, properties, maxHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="maxHeight" value="500" target="aw"/>
+                <SetProperty propertyName="height" value="600" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="500" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxHeight_500_height_600_postOpen" keywords="[Window, properties, maxHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="maxHeight" value="500" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="height" value="600" target="aw" waitEvent="updateComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="500" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxHeight_500_height_300" keywords="[Window, properties, maxHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="maxHeight" value="600" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="height" value="300" target="aw" waitEvent="updateComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="300" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxWidth_default" keywords="[Window, properties, maxHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="maxWidth" value="107374182" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxWidth_500_width_600" keywords="[Window, properties, maxHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="maxWidth" value="500" target="aw"/>
+                <SetProperty propertyName="width" value="600" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="width" value="500" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxWidth_500_width_600_postOpen" keywords="[Window, properties, maxWidth]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="maxWidth" value="500" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="width" value="600" target="aw" waitEvent="updateComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="width" value="500" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_maxWidth_500_width_300" keywords="[Window, properties, maxWidth]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="maxWidth" value="600" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="width" value="300" target="aw" waitEvent="updateComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="width" value="300" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minWidth_300_width_200" keywords="[Window, properties, minWidth]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="minWidth" value="300" target="aw"/>
+                <SetProperty propertyName="width" value="200" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="width" value="300" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minWidth_300_width_200_postOpen" keywords="[Window, properties, minWidth]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="minWidth" value="300" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="width" value="200" target="aw" waitEvent="updateComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="width" value="300" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minWidth_200_width_400" keywords="[Window, properties, minWidth]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="minWidth" value="200" target="aw"/>
+                <SetProperty propertyName="width" value="400" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="width" value="400" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minHeight_default" keywords="[Window, properties, minHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="minHeight" value="34" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minHeight_300_height_200" keywords="[Window, properties, minHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="minHeight" value="300" target="aw"/>
+                <SetProperty propertyName="height" value="200" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="300" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minHeight_300_height_200_postOpen" keywords="[Window, properties, minHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="minHeight" value="300" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+                <SetProperty propertyName="height" value="200" target="aw" waitEvent="updateComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="300" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_minHeight_200_height_400" keywords="[Window, properties, minHeight]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="minHeight" value="200" target="aw"/>
+                <SetProperty propertyName="height" value="400" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="height" value="400" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_showStatusBar_default" keywords="[Window, properties, showStatusBar]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="showStatusBar" value="true" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_showStatusBar_false" keywords="[Window, properties, showStatusBar]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="showStatusBar" value="false" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_showStatusBar_false_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_showStatusBar_true" keywords="[Window, properties, showStatusBar]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="showStatusBar" value="true" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_showStatusBar_true_Spark.png" target="aw.statusBar"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_title_default" keywords="[Window, properties, title]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue value="" propertyName="title" target="aw"/>
+            </body>
+        </TestCase>
+
+        <TestCase testID="Window_properties_title" keywords="[Window, properties, title]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="title" value="Hello World!" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_title_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_title_long" keywords="[Window, properties, title]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="title" value="0123456789012345678901234567890123456789012345678901234567890123456789" target="aw"/>
+                <SetProperty propertyName="width" value="400" target="aw"/>
+                <SetProperty propertyName="height" value="400" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_title_long_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_status_default" keywords="[Window, properties, status]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="status" value="" target="aw.statusBar"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_status" keywords="[Window, properties, status]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="status" value="Hello Status!" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_status_Spark.png" target="aw.statusBar"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_status_long" keywords="[Window, properties, status]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="status" value="0123456789012345678901234567890123456789012345678901234567890123456789!" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_status_long_Spark.png" target="aw.statusBar"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_titleIcon" keywords="[Window,properties, titleIcon]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty target="aw" propertyName="titleIcon" valueExpression="value=kb" />
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <CompareBitmap url="../Properties/baselines/Window_properties_titleIcon_Spark.png" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_visible_default" keywords="[Window, properties, visible]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="visible" value="true" target="aw"/>
+            </body>
+        </TestCase>
+        <TestCase testID="Window_properties_visible_false" keywords="[Window, properties, visible]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="visible" value="false" target="aw"/>
+                <RunCode code="application.aw.open()" />
+            </setup>
+            <body>
+                <AssertPropertyValue propertyName="visible" value="false" target="aw"/>
+            </body>
+        </TestCase>
+                <TestCase testID="Window_properties_new_window_focus_systemChrome_none" keywords="[Window, properties, newWindow, focus, systemChrome, none]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="title" value="Hello World!" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertMethodValue value="true" method="value=String(application.aw.nativeWindow.active)" />
+            </body>
+        </TestCase>
+                <TestCase testID="Window_properties_new_window_focus" keywords="[Window, properties, newWindow, focus]">
+            <setup>
+                <RunCode code="application.resetWindow()"/>
+                <SetProperty propertyName="title" value="Hello World!" target="aw"/>
+                <SetProperty propertyName="systemChrome" value="standard" target="aw"/>
+                <RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+            </setup>
+            <body>
+                <AssertMethodValue value="true" method="value=String(application.aw.nativeWindow.active)" />
+            </body>
+        </TestCase>
+    </testCases>
+</UnitTester>
+

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,21 @@
+<?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:Window  xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" systemChrome="none">
+</mx:Window>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,40 @@
+<?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[
+	
+		public var aw:AIR_Window;
+			
+		public function resetWindow():void
+			{
+				if (aw && !aw.closed)
+				{
+					aw.close();
+				}
+				aw = new AIR_Window();
+				aw.width = 140;
+				aw.minWidth = 140;
+			}
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic_FC.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic_FC.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic_FC.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_Basic_FC.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,30 @@
+<?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[
+	
+		public var aw:AIR_Window_FC = new AIR_Window_FC();
+	
+	]]>
+</mx:Script>
+<mx:TextInput id="ti"/>
+
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_FC.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_FC.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_FC.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/AIR_Window_FC.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,21 @@
+<?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:Window  xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" systemChrome="none" width="140" showFlexChrome="false">
+</mx:Window>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/MyWindow.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/MyWindow.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/MyWindow.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/MyWindow.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,31 @@
+<?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:Window  xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" systemChrome="none" height="300" width="300">
+
+
+	<mx:TextArea id="taHeight" text="{this.height}"/>
+	<mx:TextArea id="taWidth" text="{this.width}"/>
+	<mx:TextArea id="taMaxHeight" text="{this.maxHeight}"/>
+	<mx:TextArea id="taMaxWidth" text="{this.maxWidth}"/>
+	<mx:TextArea id="taMinHeight" text="{this.minHeight}"/>
+	<mx:TextArea id="taMinWidth" text="{this.minWidth}"/>
+	<mx:TextArea id="taVisible" text="{this.visible}"/>
+</mx:Window>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,50 @@
+<?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[
+
+	
+		public var aw:New_Window;
+			
+			public function resetWindow():void
+			{
+				if (aw && !aw.closed)
+				{
+					aw.close();
+				}
+				aw = new New_Window();
+				aw.minWidth = 140;
+				aw.width = 140;
+			}
+	
+	]]>
+
+	</mx:Script>
+
+
+
+
+
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_Main_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,50 @@
+<?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[
+
+	
+		public var aw:New_Window;
+			
+			public function resetWindow():void
+			{
+				if (aw && !aw.closed)
+				{
+					aw.close();
+				}
+				aw = new New_Window();
+				aw.width = 140;
+				aw.minWidth = 140;
+			}
+	
+	]]>
+
+	</mx:Script>
+
+
+
+
+
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_main.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_main.compile?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_main.compile (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/NewWindow_main.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/Window/SWFs/New_Window.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/New_Window.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/New_Window.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/New_Window.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,21 @@
+<?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:Window  xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="0xFFFFFF" transparent="true" width="200" height="200" layout="vertical" systemChrome="none">
+</mx:Window>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_bindable.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_bindable.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_bindable.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_bindable.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,40 @@
+<?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" applicationComplete="aw.open()">
+<mx:Script>
+	<![CDATA[
+		[Bindable]
+		public var aw:MyWindow = new MyWindow();
+		
+			
+		public function resetWindow():void
+		{
+			if (aw && !aw.closed)
+			{
+				aw.close();
+			}
+			aw = new MyWindow();
+			aw.width = 140;
+			aw.minWidth = 140;
+		}
+	]]>
+</mx:Script>
+	
+</mx:WindowedApplication>

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

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,51 @@
+<?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[
+
+	
+		public var aw:AIR_Window;
+			
+			public function resetWindow():void
+			{
+				if (aw && !aw.closed)
+				{
+					aw.close();
+				}
+				aw = new AIR_Window();
+				aw.width = 140;
+				aw.minWidth = 140;
+				aw.minHeight= 34;
+			}
+	
+	]]>
+
+	</mx:Script>
+
+
+
+
+
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main_Spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main_Spark.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main_Spark.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/SWFs/Window_main_Spark.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,51 @@
+<?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[
+
+	
+		public var aw:AIR_Window;
+			
+			public function resetWindow():void
+			{
+				if (aw && !aw.closed)
+				{
+					aw.close();
+				}
+				aw = new AIR_Window();
+				aw.width = 140;
+				aw.minWidth = 140;
+				aw.minHeight = 34;
+			}
+	
+	]]>
+
+	</mx:Script>
+
+
+
+
+
+</mx:WindowedApplication>

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/AIR_Window_Styles_FC.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/AIR_Window_Styles_FC.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/Styles/AIR_Window_Styles_FC.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/Styles/AIR_Window_Styles_FC.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/Window/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="AIR_Window_Basic_FC.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.Window;
+
+      	]]>
+	</mx:Script>
+
+	<testCases>
+		<TestCase testID="Window_Style_showFlexChrome_false" keywords="[Window,Style, showFlexChorme]">
+			<setup>
+			 	<RunCode code="application.aw.open();" waitEvent="updateComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<WaitForEffectsToEnd/>
+				<SetProperty propertyName="width" value="140" target="aw"/>
+				<AssertStyleValue target="aw" styleName="buttonAlignment" value="auto"/>
+				<CompareBitmap target="aw" url="../Styles/baselines/showFlexChrome_false.png" timeout="5000" />
+			</body>
+		</TestCase>		  
+	</testCases>
+
+</UnitTester>
+	

Added: incubator/flex/trunk/mustella/tests/apollo/Window/Styles/NewWindow_styles_tester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/apollo/Window/Styles/NewWindow_styles_tester.mxml?rev=1370009&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/apollo/Window/Styles/NewWindow_styles_tester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/apollo/Window/Styles/NewWindow_styles_tester.mxml Mon Aug  6 20:51:08 2012
@@ -0,0 +1,329 @@
+<?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/Window/Styles/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="NewWindow_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[
+
+		[Bindable]
+		[Embed(source="../../../../Assets/Images/smallredrect.jpg")]
+		public var kb:Class;
+
+		[Bindable]
+		[Embed(source="../../../../Assets/Images/redrect.jpg")]
+		public var buttonStyle:Class;
+
+	]]>
+	</mx:Script>
+
+	<mx:Style>
+		.myStyle{
+			color: red;
+			fontSize: 14;
+			fontWeight: bold;
+		}
+
+	</mx:Style>
+
+	<testCases>
+		<TestCase testID="NewWindow_styles_buttonAlignment_auto" keywords="[Window, buttonAlignment, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<AssertStyleValue styleName="buttonAlignment" target="aw" value="auto"/>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_buttonAlignment_auto.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_buttonAlignment_left" keywords="[NewWindow, buttonAlignment, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" value="left" styleName="buttonAlignment"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_buttonAlignment_left.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_buttonAlignment_right" keywords="[Window, buttonAlignment, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" value="right" styleName="buttonAlignment"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_buttonAlignment_right.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_closeButtonStyleName" keywords="[Window, closeButtonStyleName, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="closeButtonSkin" value="{buttonStyle}"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_closeButtonStyleName.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_minimizeButtonStyleName" keywords="[Window, minimizeButtonStyleName, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="minimizeButtonSkin" value="{buttonStyle}"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_minimizeButtonStyleName.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_maximizeButtonStyleName" keywords="[Window, maximizeButtonStyleName, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="maximizeButtonSkin" value="{buttonStyle}"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_maximizeButtonStyleName.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_restoreButtonStyleName" keywords="[Window, restoreButtonStyleName, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="restoreButtonSkin" value="{buttonStyle}"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+				<DispatchMouseClickEvent target="aw.titleBar.maximizeButton" localX="5" localY="5" waitEvent="updateComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_restoreButtonStyleName.png" target="aw.titleBar.maximizeButton"/>
+			</body>
+		</TestCase>
+		
+		<TestCase testID="NewWindow_Styles_headerHeight_large" keywords="[Window, Style, headerHeight]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="headerHeight" value="30"/>
+				<SetProperty target="aw" propertyName="title" value="Header height 30"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_headerHeight_large.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_Styles_headerHeight_small" keywords="[Window, Style, headerHeight]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="headerHeight" value="0.5"/>
+				<SetProperty target="aw" propertyName="title" value="Header height 0.5"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_headerHeight_small.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_showFlexChrome_default" keywords="[Window, styles, showFlexChrome]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<AssertStyleValue styleName="showFlexChrome" value="true" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_showFlexChrome_false" keywords="[Window, styles, showFlexChrome]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle styleName="showFlexChrome" value="false" target="aw"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_showFlexChrome_false.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_statusBarBackgroundSkin" keywords="[Window, styles, statusBarBackgroundSkin]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+				<SetStyle target="aw" styleName="statusBarBackgroundSkin" value="{kb}" waitEvent="updateComplete" waitTarget="aw" />
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_statusBackgroundSkin.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_statusBarBackgroundColor" keywords="[Window, styles, statusBackgroundColor]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="statusBarBackgroundColor" value="red" />
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_statusBarBackgroundColor.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_statusTextStyleName" keywords="[Window, styles, statusTextStyleName]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetStyle target="aw" styleName="statusTextStyleName" value="myStyle"/>
+				<SetProperty target="aw" propertyName="status" value="Status bar text"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_statusTextStyleName.png" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_titleAlignment_default" keywords="[Window, titleAlignment, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+				<DispatchMouseClickEvent target="aw.titleBar.maximizeButton" localX="5" localY="5" waitEvent="updateComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<AssertStyleValue styleName="titleAlignment" value="auto" target="aw"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_titleAlignment_left" keywords="[Window, titleAlignment, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty propertyName="title" value="Left title alignment" target="aw"/>
+				<SetProperty propertyName="width" value="600" target="aw"/>
+				<SetProperty propertyName="height" value="500" target="aw"/>
+				<SetStyle styleName="titleAlignment" value="left" target="aw"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_titleAlignment_left.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_titleAlignment_center" keywords="[Window, titleAlignment, styles]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty propertyName="title" value="Center title alignment" target="aw"/>
+				<SetProperty propertyName="width" value="600" target="aw"/>
+				<SetProperty propertyName="height" value="500" target="aw"/>
+				<SetStyle styleName="titleAlignment" value="center" target="aw"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_titleAlignment_center.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_titleBarBackgroundSkin" keywords="[Window, styles, titleBarBackgroundSkin]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetProperty propertyName="title" value="Center title alignment" target="aw"/>
+				<SetStyle styleName="titleBarBackgroundSkin" valueExpression="value=kb" target="aw"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_titleBarBackgroundSkin.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_titleBarColors" keywords="[Window, styles, titleBarBackgroundColors]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetProperty propertyName="title" value="Colors" target="aw"/>
+				<SetStyle styleName="titleBarColors" value="[red,green]" target="aw"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_titleBarColors.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+
+		<TestCase testID="NewWindow_styles_titleTextStyleName" keywords="[Window, styles, titleBarBackgroundColors]">
+			<setup>
+				<RunCode code="application.resetWindow()"/>
+				<SetProperty target="aw" value="300" propertyName="height"/>
+				<SetProperty target="aw" value="300" propertyName="width"/>
+				<SetProperty propertyName="title" value="Title style" target="aw"/>
+				<SetStyle styleName="titleTextStyleName" value="myStyle" target="aw"/>
+				<RunCode code="application.aw.open()" waitEvent="windowComplete" waitTarget="aw"/>
+			</setup>
+			<body>
+				<CompareBitmap url="../Styles/baselines/NewWindow_styles_titleTextStyleName.png" target="aw.titleBar"/>
+			</body>
+		</TestCase>
+	</testCases>
+</UnitTester>
\ No newline at end of file



Mime
View raw message