You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pe...@apache.org on 2013/01/09 22:15:28 UTC

svn commit: r1431084 - /flex/sdk/branches/develop/mustella/tests/mobile/TabbedViewNavigatorApplication/styles/tabbedViewNavApp_defaultSkin_tester.mxml

Author: pent
Date: Wed Jan  9 21:15:28 2013
New Revision: 1431084

URL: http://svn.apache.org/viewvc?rev=1431084&view=rev
Log:
navigators property was not being found (it is null and should be). changed tests to use AssertMethodValue and tested for null result.

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/TabbedViewNavigatorApplication/styles/tabbedViewNavApp_defaultSkin_tester.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/TabbedViewNavigatorApplication/styles/tabbedViewNavApp_defaultSkin_tester.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/TabbedViewNavigatorApplication/styles/tabbedViewNavApp_defaultSkin_tester.mxml?rev=1431084&r1=1431083&r2=1431084&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/TabbedViewNavigatorApplication/styles/tabbedViewNavApp_defaultSkin_tester.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/TabbedViewNavigatorApplication/styles/tabbedViewNavApp_defaultSkin_tester.mxml Wed Jan  9 21:15:28 2013
@@ -44,14 +44,14 @@
 			<body>
 				<AssertMethodValue method="value = FlexGlobals.topLevelApplication.tabbedNavigator != null" value="true" />
 				<AssertMethodValue method="value = FlexGlobals.topLevelApplication.tabbedNavigator.activeView == null" value="true" />
-				<AssertPropertyValue target="navigators" propertyName="length" value="0"/>				
+				<AssertMethodValue method="value = FlexGlobals.topLevelApplication.navigators" value="null" />			
 			</body>
 		</TestCase>
 
 		<TestCase testID="tabbedViewNavigatorApp_change_skinClass_toCustom" keywords="[TabbedViewNavigatorApplication, TabbedViewNavigator]" description="Test changing skinClass at runtime">
 			<body>
 				<AssertMethodValue method="value = FlexGlobals.topLevelApplication.tabbedNavigator != null" value="true" />
-				<AssertPropertyValue target="navigators" propertyName="length" value="0"/>
+				<AssertMethodValue method="value = FlexGlobals.topLevelApplication.navigators" value="null" />
 				<AssertMethodValue method="value = getQualifiedClassName(FlexGlobals.topLevelApplication.getStyle('skinClass'))" value="spark.skins.mobile::TabbedViewNavigatorApplicationSkin"/> 
 				<RunCode code="FlexGlobals.topLevelApplication.setStyle('skinClass', skins.CustomTabbedViewNavigatorApplicationSkin)"/>
 				<Pause timeout="200"/>