flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1379135 [1/2] - in /incubator/flex/sdk/branches/develop/mustella/tests/components/Menu: Halo/Properties/baselines/ Halo/Styles/ Halo/Styles/baselines/ Spark/Properties/ Spark/Properties/baselines/ Spark/SWFs/ Spark/Styles/ Spark/Styles/bas...
Date Thu, 30 Aug 2012 20:46:37 GMT
Author: cframpton
Date: Thu Aug 30 20:46:35 2012
New Revision: 1379135

URL: http://svn.apache.org/viewvc?rev=1379135&view=rev
Log:
Change included css file so MyVeraSpark/MyVeraHalo fonts are found, fix timing issues, and fix it so tests can be run independently without null ptr exceptions.

Modified:
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Properties/baselines/IconField_Basic.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Properties/baselines/Icon_Basic.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/Menu_Styles.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_runtime.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_static.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkDisabledIcon_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkDisabledIcon_static.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkIcon_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkIcon_static.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontFamily_flashtype.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontStyle_italic_MenuItem.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontStyle_normal_MenuItem.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontWeight_bold_MenuItem.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontWeight_normal_MenuItem.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/leading_15.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_pound.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_red.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_x.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingBottom_0.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingBottom_20.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingLeft_0.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingLeft_20.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingRight_0.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingRight_20.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingTop_0.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingTop_20.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioDisabledIcon_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioDisabledIcon_static.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioIcon_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioIcon_static.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/separatorSkin_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/separatorSkin_test.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_center.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_left.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_right.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textDecoration_underline.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textIndent_0.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textIndent_20.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor _red.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_0x.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_pound.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_0x.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_pound.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_red.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/Menu_Properties_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/baselines/Menu_layoutDirection_RTL_visual.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/SWFs/Menu_Basic_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/Menu_Styles_ScrollControlBase_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/Menu_Styles_spark.mxml
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/baselines/branchIcon_css.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/baselines/branchIcon_static.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/baselines/branchdisabledIcon_runtime.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/baselines/fontFamily_flashtype.png
    incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Styles/baselines/separatorSkin_test.png

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Properties/baselines/IconField_Basic.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Properties/baselines/IconField_Basic.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Properties/baselines/Icon_Basic.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Properties/baselines/Icon_Basic.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/Menu_Styles.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/Menu_Styles.mxml?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/Menu_Styles.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/Menu_Styles.mxml Thu Aug 30 20:46:35 2012
@@ -154,7 +154,7 @@
         </TestCase>
         <TestCase testID="OpenDuration_Zero_secondOpen" keywords="[Menu, openDuration]" description="Ensure that you can open a Menu and make a selection when the openDuration is set a second time.">
                 <setup>
-                    <RunCode code="application.menu1.hide()" />
+                    <RunCode code="if (application.menu1) application.menu1.hide()" />
                     <RunCode code="createAMenu()" />
                     <DispatchKeyEvent keys="['DOWN', 'RIGHT', 'RIGHT']"  />
                     <DispatchKeyEvent key="SPACE" waitTarget="menu1" waitEvent="itemClick" />
@@ -170,7 +170,7 @@
 <!--***********  alternatingItemColors *********** -->
         <TestCase testID="AlternatingItemColors_css" keywords="[Menu, alternatingItemColors]" description="alternatingItemColors is set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu3()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -182,7 +182,7 @@
         </TestCase>
         <TestCase testID="AlternatingItemColors_0x" keywords="[Menu, alternatingItemColors]" description="alternatingItemColors is set with 0x format.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu3()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -195,7 +195,7 @@
         </TestCase>
         <TestCase testID="AlternatingItemColors_pound" keywords="[Menu, alternatingItemColors]" description="alternatingItemColors is set in # format for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu3()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -220,7 +220,7 @@
 <!--***********  rollOverColor *********** -->
         <TestCase testID="RollOverColor_css" keywords="[Menu, rollOverColor]" description="rollOverColor is set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu3()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -233,7 +233,7 @@
         </TestCase>
         <TestCase testID="RollOverColor_0x" keywords="[Menu, rollOverColor]" description="rollOverColor is set in 0x format for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu3()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -247,7 +247,7 @@
         </TestCase>
         <TestCase testID="RollOverColor_pound" keywords="[Menu, rollOverColor]" description="rollOverColor is set in # format for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu3()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -261,7 +261,7 @@
 <!--***********  selectionColor *********** -->
         <TestCase testID="SelectionColor_css" keywords="[Menu, selectionColor]" description="selectionColor is set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <WaitForEffectsToEnd />
                 <RunCode code="createAMenu();"  />
                 <WaitForEffectsToEnd />
@@ -273,12 +273,12 @@
                 <AssertPixelValue target="menu1" x="10" y="38" value="0x0000FF" />
             </body>
             <!--cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup-->
         </TestCase>
         <TestCase testID="SelectionColor_0x" keywords="[Menu, selectionColor]" description="selectionColor is set in 0x format for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu()"  />
                 <WaitForEffectsToEnd />
             </setup>
@@ -289,12 +289,12 @@
                 <AssertPixelValue target="menu1" x="10" y="38" value="0x00FF00" />
             </body>
             <!--cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup-->
         </TestCase>
         <TestCase testID="SelectionColor_pound" keywords="[Menu, selectionColor]" description="selectionColor is set in # for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu()"  />
                 <WaitForEffectsToEnd />
             </setup>
@@ -308,7 +308,7 @@
 <!-- ******* branchDisabledIcon ****** -->
         <TestCase testID="branchDisabledIcon_static" keywords="[Menu, branchDisabledIcon]" description="branchDisabledIcon where data was disabled at startup for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -322,13 +322,13 @@
         <!-- This test will fail because of bug #190399 -->
         <TestCase testID="branchDisabledIcon_runtimeChange" keywords="[Menu, branchDisabledIcon]" description="branchDisabledIcon where data was disabled through the dataDescriptor for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <WaitForEffectsToEnd />
             </setup>
             <body>
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
-                <RunCode code="application.menu1.hide()" waitTarget="menu1" waitEvent="menuHide" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" waitTarget="menu1" waitEvent="menuHide" />
                 <SetStyle target="menu1" styleName="branchDisabledIcon" valueExpression="value=application.orangerect" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <WaitForEffectsToEnd />
@@ -337,7 +337,7 @@
         </TestCase>
         <TestCase testID="branchDisabledIcon_css" keywords="[Menu, branchDisabledIcon]" description="branchDisabledIcon set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -350,7 +350,7 @@
 <!-- ******* branchIcon ****** -->
         <TestCase testID="branchIcon_static" keywords="[Menu, branchIcon]" description="branchIcon where data was disabled at startup for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -363,7 +363,7 @@
         </TestCase>
         <TestCase testID="branchIcon_css" keywords="[Menu, branchIcon]" description="branchIcon set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -377,7 +377,7 @@
 <!-- ******* checkIcon ****** -->
         <TestCase testID="checkIcon_static" keywords="[Menu, checkIcon]" description="checkIcon where data was disabled at startup for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -386,12 +386,13 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, RIGHT]"  />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.0" url="../Styles/baselines/checkIcon_static.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="checkIcon_css" keywords="[Menu, checkIcon]" description="checkIcon in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -400,13 +401,14 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, RIGHT]" />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.0" url="../Styles/baselines/checkIcon_css.png" timeout="2500" />
             </body>
         </TestCase>
  <!-- ******* checkDisabledIcon ****** -->
         <TestCase testID="checkDisabledIcon_static" keywords="[Menu, checkDisabledIcon]" description="checkDisabledIcon where data was disabled at startup for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -416,12 +418,13 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, RIGHT]"   />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.0" url="../Styles/baselines/checkDisabledIcon_static.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="checkDisabledIcon_css" keywords="[Menu, checkDisabledIcon]" description="checkDisabledIcon set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -431,13 +434,14 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, RIGHT]"  />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.0" url="../Styles/baselines/checkDisabledIcon_css.png" timeout="2500" />
             </body>
         </TestCase>
  <!-- ******* radioIcon ****** -->
         <TestCase testID="radioIcon_static" keywords="[Menu, radioIcon]" description="radioIcon set in AS for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -447,12 +451,13 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, DOWN, RIGHT]" />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.1" url="../Styles/baselines/radioIcon_static.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="radioIcon_css" keywords="[Menu, radioIcon]" description="radioIcon set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -462,13 +467,14 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, DOWN, RIGHT]" />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.1" url="../Styles/baselines/radioIcon_css.png" timeout="2500" />
             </body>
         </TestCase>
  <!-- ******* radioDisabledIcon ****** -->
         <TestCase testID="radioDisabledIcon_static" keywords="[Menu, radioDisabledIcon]" description="radioDisabledIcon where data was disabled at startup for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -478,12 +484,13 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, DOWN, RIGHT]" />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.1" url="../Styles/baselines/radioDisabledIcon_static.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="radioDisabledIcon_css" keywords="[Menu, radioDisabledIcon]" description="radioDisabledIcon in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -493,13 +500,14 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, DOWN, RIGHT]" />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.1" url="../Styles/baselines/radioDisabledIcon_css.png" timeout="2500" />
             </body>
         </TestCase>
  <!-- ******* separatorSkin ****** -->
         <TestCase testID="separatorSkin_test" keywords="[Menu, separatorSkin]" description="separatorSkin where data was disabled at startup for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <RunCode code="addSeparator()" />
             </setup>
@@ -511,7 +519,7 @@
         </TestCase>
         <TestCase testID="separatorSkin_css" keywords="[Menu, separatorSkin]" description="separatorSkin set in css for Menu.">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <RunCode code="addSeparator()" />
             </setup>
@@ -524,7 +532,7 @@
 <!-- textSelectedColor  tests -->
         <TestCase testID="textSelectedColor_0x" description="Menu style textSelectedColor =0xff0000." keywords="[styles, textSelectedColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -539,11 +547,11 @@
         </TestCase>
         <TestCase testID="textSelectedColor_pound" description="Menu style textSelectedColor =#0000ff." keywords="[styles, textSelectedColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <SetStyle styleName="textSelectedColor" target="menu1" value="#0000FF" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchKeyEvent keys="[DOWN, RIGHT]" />
@@ -555,7 +563,7 @@
         </TestCase>
         <TestCase testID="textSelectedColor_red" description="Menu style textSelectedColor ='red'." keywords="[styles, textSelectedColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -565,12 +573,13 @@
                 <WaitForEffectsToEnd />
                 <DispatchMouseEvent type="mouseDown" localX="55" localY="30" target="menu1.mx_internal:subMenus.0" waitTarget="menu1.mx_internal:subMenus.0" waitEvent="mouseDown"   />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.0" url="../Styles/baselines/textSelectedColor_red.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="textSelectedColor_css" description="Menu style textSelectedColor set in css to purple." keywords="[styles, textSelectedColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -580,49 +589,53 @@
                 <WaitForEffectsToEnd />
                 <DispatchMouseEvent type="mouseDown" localX="55" localY="30" target="menu1.mx_internal:subMenus.0" waitTarget="menu1.mx_internal:subMenus.0" waitEvent="mouseDown"   />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1.mx_internal:subMenus.0" url="../Styles/baselines/textSelectedColor_css.png" timeout="2500" />
             </body>
         </TestCase>
 <!--textRollOverColor tests -->
         <TestCase testID="textRollOverColor_0x" description="Menu style textRollOverColor =0xff0000." keywords="[styles, textRollOverColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
                 <SetStyle styleName="textRollOverColor" target="menu1" value="0xFF0000" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchMouseEvent type="mouseOver" localX="55" localY="30" target="menu1" waitTarget="menu1" waitEvent="mouseOver"/>
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1" url="../Styles/baselines/textRollOverColor_0x.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="textRollOverColor_pound" description="Menu style textRollOverColor =#0000ff." keywords="[styles, textRollOverColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
                 <SetStyle styleName="textRollOverColor" target="menu1" value="#0000FF" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchMouseEvent type="mouseOver" localX="55" localY="30" target="menu1"  waitTarget="menu1" waitEvent="mouseOver" />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1" url="../Styles/baselines/textRollOverColor_pound.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="textRollOverColor_red" description="Menu style textRollOverColor ='red'." keywords="[styles, textRollOverColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
                 <SetStyle styleName="textRollOverColor" target="menu1" value="red" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchMouseEvent type="mouseOver" localX="55" localY="30" target="menu1" waitTarget="menu1" waitEvent="mouseOver"   />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1" url="../Styles/baselines/textRollOverColor _red.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="textRollOverColor_css" description="Menu style textRollOverColor in css to green." keywords="[styles, textRollOverColor , Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -630,12 +643,13 @@
                 <RunCode code="application.menu1.show()" waitTarget="menu1.mx_internal:popupTween" waitEvent="tweenEnd" />
                 <DispatchMouseEvent type="mouseOver" localX="55" localY="30" target="menu1" waitTarget="menu1" waitEvent="menuShow"   />
                 <WaitForEffectsToEnd />
+                <WaitForEvent target="stage" eventName="enterFrame" numExpectedEvents="2"/>
                 <CompareBitmap target="menu1" url="../Styles/baselines/textRollOverColor_css.png" timeout="2500" />
             </body>
         </TestCase>
         <TestCase testID="backgroundAlpha_0" description="Menu style backGroundAlpha=0 and backgroundColor=0xff0000." keywords="[styles, backGroundAlpha, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle target="menu1" value="0xFF0000" styleName="backgroundColor" />
                 <SetStyle styleName="backgroundAlpha" target="menu1" value="0" />
@@ -647,7 +661,7 @@
         </TestCase>
         <TestCase testID="backgroundAlpha_1" description="Menu style backGroundAlpha=1 and backgroundColor=0xff0000." keywords="[styles, backGroundAlpha, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle target="menu1" value="0xFF0000" styleName="backgroundColor" />
                 <SetStyle styleName="backgroundAlpha" target="menu1" value="1" />
@@ -659,7 +673,7 @@
         </TestCase>
     <TestCase testID="backgroundColor_0x" description="Menu style backgroundColor=0xff0000." keywords="[styles, backgroundColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="backgroundColor" target="menu1" value="0xFF0000" />
             </setup>
@@ -670,7 +684,7 @@
         </TestCase>
         <TestCase testID="backgroundColor_pound" description="Menu style backgroundColor=#0000ff." keywords="[styles, backgroundColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="backgroundColor" target="menu1" value="#0000FF" />
             </setup>
@@ -681,7 +695,7 @@
         </TestCase>
         <TestCase testID="backgroundColor_red" description="Menu style backGroundColor='red'" keywords="[styles, backgroundColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="backgroundColor" target="menu1" value="red" />
             </setup>
@@ -692,7 +706,7 @@
         </TestCase>
     <TestCase testID="color_0x" description="Menu style color=0xff0000." keywords="[styles, color, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="color" target="menu1" value="0xFF0000" />
             </setup>
@@ -704,7 +718,7 @@
        </TestCase>
         <TestCase testID="color_pound" description="Menu style color=#0000ff." keywords="[styles, color, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="color" target="menu1" value="#0000FF" />
             </setup>
@@ -716,7 +730,7 @@
         </TestCase>
         <TestCase testID="color_red" description="Menu style color='red'." keywords="[styles, color, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="color" target="menu1" value="red" />
             </setup>
@@ -728,7 +742,7 @@
         </TestCase>
         <TestCase testID="themeColor_0x" description="Menu style themeColor=0xff0000." keywords="[styles, themeColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="themeColor" target="menu1" value="0xFF0000" />
             </setup>
@@ -741,7 +755,7 @@
         </TestCase>
         <TestCase testID="themeColor_pound" description="Menu style themeColor=#0000ff." keywords="[styles, themeColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="themeColor" target="menu1" value="#0000FF" />
             </setup>
@@ -754,7 +768,7 @@
        </TestCase>
         <TestCase testID="disabledColor_default" description="Menu style disabledColor=0xff0000." keywords="[styles, disabledColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
             </setup>
             <body>
@@ -766,7 +780,7 @@
         </TestCase>
         <TestCase testID="disabledColor_0x" description="Menu style disabledColor=0xff0000." keywords="[styles, disabledColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="disabledColor" target="menu1" value="0xFF0000" />
             </setup>
@@ -779,7 +793,7 @@
        </TestCase>
         <TestCase testID="disabledColor_pound" description="Menu style disabledColor=#0000ff." keywords="[styles, disabledColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="disabledColor" target="menu1" value="#0000FF" />
             </setup>
@@ -792,7 +806,7 @@
        </TestCase>
         <TestCase testID="disabledColor_red" description="Menu style disabledColor='red'." keywords="[styles, disabledColor, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu2()" />
                 <SetStyle styleName="disabledColor" target="menu1" value="red" />
             </setup>
@@ -805,7 +819,7 @@
         </TestCase>
         <TestCase testID="leftIconGap_rightIconGap_default" keywords="[icon, Menu, styles,leftIconGap]" description="Ensure that an icon and radio icon look correct together." >
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <WaitForEffectsToEnd />
             </setup>
@@ -822,7 +836,7 @@
         </TestCase>
         <TestCase testID="leftIconGap_0" keywords="[icon, Menu, styles,leftIconGap]" description="Ensure that an icon and radio icon look correct together." >
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <WaitForEffectsToEnd />
                 <RunCode code="addObjData()" />
             </setup>
@@ -837,7 +851,7 @@
         </TestCase>
         <TestCase testID="leftIconGap_30" keywords="[icon, Menu, styles,leftIconGap]" description="Ensure that an icon and radio icon look correct together." >
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <WaitForEffectsToEnd />
                 <RunCode code="addObjData()" />
             </setup>
@@ -852,7 +866,7 @@
         </TestCase>
         <TestCase testID="rightIconGap_0" keywords="[icon, Menu, styles,leftIconGap]" description="Ensure that an icon and radio icon look correct together." >
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <WaitForEffectsToEnd />
                 <RunCode code="addObjData()" />
             </setup>
@@ -868,7 +882,7 @@
         </TestCase>
         <TestCase testID="rightIconGap_25" keywords="[icon, Menu, styles,leftIconGap]" description="Ensure that an icon and radio icon look correct together." >
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <WaitForEffectsToEnd />
                 <RunCode code="addObjData()" />
             </setup>

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_runtime.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_runtime.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_static.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/branchdisabledIcon_static.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkDisabledIcon_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkDisabledIcon_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkDisabledIcon_static.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkDisabledIcon_static.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkIcon_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkIcon_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkIcon_static.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/checkIcon_static.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontFamily_flashtype.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontFamily_flashtype.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontStyle_italic_MenuItem.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontStyle_italic_MenuItem.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontStyle_normal_MenuItem.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontStyle_normal_MenuItem.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontWeight_bold_MenuItem.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontWeight_bold_MenuItem.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontWeight_normal_MenuItem.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/fontWeight_normal_MenuItem.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/leading_15.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/leading_15.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_pound.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_pound.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_red.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_red.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_x.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/menu_color_x.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingBottom_0.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingBottom_0.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingBottom_20.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingBottom_20.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingLeft_0.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingLeft_0.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingLeft_20.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingLeft_20.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingRight_0.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingRight_0.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingRight_20.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingRight_20.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingTop_0.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingTop_0.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingTop_20.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/paddingTop_20.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioDisabledIcon_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioDisabledIcon_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioDisabledIcon_static.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioDisabledIcon_static.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioIcon_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioIcon_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioIcon_static.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/radioIcon_static.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/separatorSkin_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/separatorSkin_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/separatorSkin_test.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/separatorSkin_test.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_center.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_center.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_left.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_left.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_right.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textAlign_right.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textDecoration_underline.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textDecoration_underline.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textIndent_0.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textIndent_0.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textIndent_20.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textIndent_20.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor _red.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor%20_red.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_0x.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_0x.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_pound.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textRollOverColor_pound.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_0x.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_0x.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_css.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_css.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_pound.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_pound.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_red.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Halo/Styles/baselines/textSelectedColor_red.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/Menu_Properties_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/Menu_Properties_spark.mxml?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/Menu_Properties_spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/Menu_Properties_spark.mxml Thu Aug 30 20:46:35 2012
@@ -74,6 +74,11 @@
 
         private function changeDP(node:int, bool:String):void
         {
+            // If we're running an individual test we need to ensure myDP has been
+            // created before attempting to modify it.
+            if (!myDP)
+                createAMenu(0);
+                
             myDP.node[node].@enabled = bool;
         }
 
@@ -155,12 +160,12 @@
                 <AssertPropertyValue target="menu1" propertyName="selectedIndex" value="1" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
         <TestCase testID="Enabled_falseToTrue" description="Menu dataProvider item is set to false and changed to true test." keywords="[enabled, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                <RunCode code="createAMenu(0);" />
                <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                <RunCode code="changeDP(0,'true');" />
@@ -170,13 +175,13 @@
                 <AssertPropertyValue target="menu1" propertyName="selectedIndex" value="0" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
         <!-- This test is failing because of bug #190107 -->
         <TestCase testID="Enabled_trueToFalse"  description="Menu dataProvider item is set to true and changed to false test." keywords="[enabled, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                 <RunCode code="changeDP(1, 'false');" />
@@ -186,13 +191,13 @@
                 <AssertPropertyValue target="menu1" propertyName="selectedIndex" value="2" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
 <!-- property: labelField -->
         <TestCase testID="LabelField_Menu"  description="Menu labelField is set to 'data'." keywords="[labelField, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="changeDP(1, 'true');" />
                 <RunCode code="createAMenu(1)" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
@@ -207,7 +212,7 @@
 <!-- property: icon -->
         <TestCase testID="Icon_Basic"  description="Menu item icon is set at top level. bitmap test." keywords="[icon, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData();" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -215,14 +220,14 @@
                 <CompareBitmap target="menu1" url="../Properties/baselines/Icon_Basic.png" timeout="2500" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
 <!-- property: iconField -->
         <TestCase testID="IconField_Basic"  description="Menu iconField is set. bitmap test." keywords="[iconField, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
-                <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData();" />
             </setup>
             <body>
@@ -231,13 +236,13 @@
                 <CompareBitmap target="menu1" url="../Properties/baselines/IconField_Basic.png" timeout="2500" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
 <!-- property: selectedIndex -->
         <TestCase testID="selectedIndex_Zero_Keys"  description="Menu selectedIndex=0 test with keyboard interaction." keywords="[selectedIndex, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <DispatchMouseEvent type="mouseDown" localX="50" localY="50" target="" />
                 <RunCode code="addObjData();" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
@@ -247,7 +252,7 @@
                 <AssertPropertyValue target="menu1" propertyName="selectedIndex" value="0" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
         <TestCase testID="selectedIndex_Num_Keys" description="Menu selectedIndex=1 test with keyboard interaction." keywords="[selectedIndex, Menu]">
@@ -261,13 +266,13 @@
                 <AssertPropertyValue target="menu1" propertyName="selectedIndex" value="1" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
 <!-- property: hasRoot -->
         <TestCase testID="hasRoot_True" description="Menu hasRoot set to true for Object dataProvider." keywords="[hasRoot, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addRootData()" />
                 <RunCode code="application.menu1= Menu.createMenu(null,rootDP, true);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
@@ -276,12 +281,12 @@
                 <AssertPropertyValue target="menu1" propertyName="hasRoot" value="true" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
         <TestCase testID="hasRoot_False" description="Menu hasRoot set to false for Object dataProvider." keywords="[hasRoot, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addObjData()" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -289,13 +294,13 @@
                 <AssertPropertyValue target="menu1" propertyName="hasRoot" value="false" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
 <!-- property: showRoot -->
         <TestCase testID="showRoot_TrueAS" description="Menu showRoot set to true for Object dataProvider." keywords="[showRoot, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addRootData()" />
                 <RunCode code="application.menu1= Menu.createMenu(null,rootDP, true);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
@@ -308,7 +313,7 @@
         </TestCase>
         <TestCase testID="showRoot_FalseAS" description="Menu showRoot set to false for Object dataProvider" keywords="[showRoot, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="addRootData()" />
                 <RunCode code="application.menu1=Menu.createMenu(null, rootDP, false);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
@@ -321,7 +326,7 @@
         </TestCase>
         <TestCase testID="showRoot_FalseXML" description="Menu showRoot set to false for XML dataProvider" keywords="[showRoot, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);"  />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -334,7 +339,7 @@
         <!-- property: dataDescriptor methods -->
         <TestCase testID="dataDescriptor_addChildAt" description="Menu dataDescriptor method test: addChildAt" keywords="[addChildAt, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                 <RunCode code="testAddChildAt()" waitTarget="menu1" waitEvent="updateComplete" />
@@ -347,7 +352,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_getChildren" description="Menu dataDescriptor method test: getChildren" keywords="[getChildren, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                 <RunCode code="testGetChildren()" />
@@ -358,7 +363,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_getType" description="Menu dataDescriptor method test: getType" keywords="[getType, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -368,7 +373,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_hasChildren_false" description="Menu dataDescriptor method test: hasChildren (return false)" keywords="[hasChildren, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -378,7 +383,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_hasChildren_true" description="Menu dataDescriptor method test: hasChildren (return true)" keywords="[hasChildren, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -388,7 +393,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_isBranch_false" description="Menu dataDescriptor method test: isBranch (return false)" keywords="[isBranch, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -398,7 +403,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_isBranch_true" description="Menu dataDescriptor method test: isBranch (return true)" keywords="[isBranch, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -408,7 +413,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_isEnabled_false" description="Menu dataDescriptor method test: isEnabled (return false)" keywords="[isEnabled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                 <RunCode code="changeDP(2,'false');" />
@@ -422,7 +427,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_isEnabled_true" description="Menu dataDescriptor method test: isEnabled (return true)" keywords="[isEnabled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="createAMenu(0);" />
                 <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
 
@@ -433,7 +438,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_isToggled_false"  description="Menu dataDescriptor method test: isToggled (return false)" keywords="[isToggled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                  <RunCode code="myDP.node[0].nodeitem[2].@toggled=false" waitTarget="menu1" waitEvent="updateComplete" />
@@ -445,7 +450,7 @@
 
         <TestCase testID="dataDescriptor_isToggled_true"  description="Menu dataDescriptor method test: isToggled (return true)" keywords="[isToggled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -455,7 +460,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_isToggled_afterSelection"  description="Menu dataDescriptor method test: isToggled (after a selection)" keywords="[isToggled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
             </setup>
@@ -466,7 +471,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_removeChildAt"  description="Menu dataDescriptor method test: removeChildAt" keywords="[removeChildAt, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                  <RunCode code="testRemoveChildAt()" waitTarget="menu1" waitEvent="updateComplete" />
@@ -479,7 +484,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_setEnabled_false" description="Menu dataDescriptor method test: setEnabled to false" keywords="[setEnabled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                  <RunCode code="testSetEnabled(0)" waitTarget="menu1" waitEvent="updateComplete" />
@@ -492,7 +497,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_setEnabled_true" description="Menu dataDescriptor method test: setEnabled to true" keywords="[setEnabled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                  <RunCode code="testSetEnabled(0)"  />
@@ -506,7 +511,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_setToggled_false" description="Menu dataDescriptor method test: setToggled to false" keywords="[setToggled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                  <RunCode code="testSetToggled(0)" waitTarget="menu1" waitEvent="updateComplete" />
@@ -517,7 +522,7 @@
         </TestCase>
         <TestCase testID="dataDescriptor_setToggled_true" description="Menu dataDescriptor method test: setToggled to true" keywords="[setToggled, dataDescriptor, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                  <RunCode code="createAMenu(0);" />
                  <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                  <RunCode code="testSetToggled(1)" waitTarget="menu1" waitEvent="updateComplete" />
@@ -529,7 +534,7 @@
         <TestCase testID="reference_typeIcon_fromItemRenderer"  description="Ensure that in bc mode, you can access icon from a subclass of MenuItemRenderer."
            keywords="[typeIcon, itemRenderer, Menu]">
             <setup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <WaitForEffectsToEnd />
                 <RunCode code="createASimpleMenu();" />
                 <SetProperty propertyName="labelField" target="menu1" value="@label" />
@@ -546,12 +551,12 @@
                 <CompareBitmap target="menu1" url="../Properties/baselines/typeIconReference_itemRenderer.png" timeout="2500" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase>
         <!--TestCase testID="Menu_dataProvider_null" description="Show a menu with a null dataprovider." keywords="[dataProvider, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                <RunCode code="createAMenu(0);" />
                <RunCode code="application.menu1.show()" waitTarget="menu1" waitEvent="menuShow" />
                <RunCode code="application.menu1.dataProvider.removeAll()"/>
@@ -561,12 +566,12 @@
                <AssertPropertyValue target="menu1.dataProvider" propertyName="length" value="0" />
             </body>
             <cleanup>
-                <RunCode code="application.menu1.hide()" />
+                <RunCode code="if (application.menu1) application.menu1.hide()" />
             </cleanup>
         </TestCase-->
         <TestCase testID="Menu_layoutDirection_RTL_keyboard"  description="Menu layoutDirection set to RTL." keywords="[layoutDirection, Mirroring, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="changeDP(1, 'true');" />
                 <RunCode code="createAMenu(1)" />
                 <SetStyle styleName="layoutDirection" value="rtl" target="menu1" />
@@ -583,7 +588,7 @@
         </TestCase>
         <TestCase testID="Menu_layoutDirection_RTL_visual"  description="Menu layoutDirection set to RTL." keywords="[layoutDirection, Mirroring, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="changeDP(1, 'true');" />
                 <RunCode code="createAMenu(1)" />
                 <SetStyle styleName="layoutDirection" value="rtl" target="menu1" />
@@ -601,7 +606,7 @@
         </TestCase>
         <TestCase testID="Menu_layoutDirection_RTL_onParent"  description="Menu layoutDirection set to RTL." keywords="[layoutDirection, Mirroring, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="changeDP(1, 'true');" />
                 <RunCode code="createAMenu(1)" />
                 <SetStyle styleName="layoutDirection" value="rtl" target="menu1" />
@@ -621,7 +626,7 @@
         </TestCase>
         <TestCase testID="Menu_layoutDirection_RTL_mouseDownOutside"  description="Menu layoutDirection set to RTL. Be sure mousing down outside closes a Menu." keywords="[layoutDirection, Mirroring, Menu]">
             <setup>
-               <RunCode code="application.menu1.hide()" />
+               <RunCode code="if (application.menu1) application.menu1.hide()" />
                 <RunCode code="changeDP(1, 'true');" />
                 <RunCode code="createAMenu(1)" />
                 <SetStyle styleName="layoutDirection" value="rtl" target="menu1" />

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/baselines/Menu_layoutDirection_RTL_visual.png
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/Properties/baselines/Menu_layoutDirection_RTL_visual.png?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/SWFs/Menu_Basic_spark.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/SWFs/Menu_Basic_spark.mxml?rev=1379135&r1=1379134&r2=1379135&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/SWFs/Menu_Basic_spark.mxml (original)
+++ incubator/flex/sdk/branches/develop/mustella/tests/components/Menu/Spark/SWFs/Menu_Basic_spark.mxml Thu Aug 30 20:46:35 2012
@@ -81,7 +81,7 @@
     ]]>
     </fx:Script>
     
-    <fx:Style source="../../../../../Assets/Fonts/myStyles.css" /> 
+    <fx:Style source="../../../../../Assets/Fonts/VeraFontStyles.css" /> 
     <fx:Style>
 
         @font-face {
@@ -89,10 +89,12 @@
             fontFamily: ComicSansMS;
             embedAsCFF: false;
         }
+        /* FIXME: need embedded font swf file
         @font-face {
-            src: url("../../../../../Assets/Fonts/Lobster_Two/LobsterTwo-Regular.ttf");
+            src: url("../../../../../Assets/Fonts/Lobster_Two/LobsterTwo-Regular.swf");
             fontFamily: Hancock;
         }
+        */
         
         .sparkEmbedStyle {
             fontFamily: MyVeraSpark;



Mime
View raw message