flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject svn commit: r1438756 - in /flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration: DS_layout_size_tester.mxml DS_nestedScroll_tester.mxml
Date Fri, 25 Jan 2013 23:12:52 GMT
Author: aharui
Date: Fri Jan 25 23:12:52 2013
New Revision: 1438756

URL: http://svn.apache.org/viewvc?rev=1438756&view=rev
Log:
fix more tests on win

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_layout_size_tester.mxml
    flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_nestedScroll_tester.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_layout_size_tester.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_layout_size_tester.mxml?rev=1438756&r1=1438755&r2=1438756&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_layout_size_tester.mxml
(original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_layout_size_tester.mxml
Fri Jan 25 23:12:52 2013
@@ -92,11 +92,6 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
-				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
-							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
-				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"/>
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

@@ -194,10 +189,15 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
+				<!-- set to some other display mode so when set to final it resets everything -->
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.TIME"/>
 				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
 							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE"/>
 				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="width" value="250"  />
@@ -294,10 +294,15 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
+				<!-- set to some other display mode so when set to final it resets everything -->
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.TIME"/>
 				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
 							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE"/>
 				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="width" value="500"  />
@@ -330,11 +335,6 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
-				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
-							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
-				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"/>
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

@@ -400,10 +400,15 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
+				<!-- set to some other display mode so when set to final it resets everything -->
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.TIME"/>
 				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
 							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE"/>
 				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="width" value="200"  />
@@ -435,11 +440,6 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
-				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
-							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
-				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"/>
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

@@ -501,10 +501,15 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
+				<!-- set to some other display mode so when set to final it resets everything -->
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.TIME"/>
 				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
 							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
 				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE"/>
 				
 				<SetProperty  target="navigator.activeView.ds_layout_size" 
 							 propertyName="percentWidth" valueExpression="value=100"  />
@@ -536,11 +541,6 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
-				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
-							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
-				
 				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds_layout_size"

 							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"/>
 				<SetProperty  target="navigator.activeView.ds_layout_size" 
@@ -637,11 +637,6 @@
 				<RunCode code="application.navigator.pushView(views.Layout_size)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="6000" />
 				
-				<SetProperty target="navigator.activeView.ds_layout_size.mx_internal:dateTimeFormatterEx"
-							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
-				<RunCode code="application.navigator.activeView.ds_layout_size.mx_internal::refreshDateTimeFormatter
= true" />
-				
 				<SetProperty  target="navigator.activeView.ds_layout_size" 
 							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"/>
 				<SetProperty  target="navigator.activeView.ds_layout_size" 

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_nestedScroll_tester.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_nestedScroll_tester.mxml?rev=1438756&r1=1438755&r2=1438756&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_nestedScroll_tester.mxml
(original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/integration/DS_nestedScroll_tester.mxml
Fri Jan 25 23:12:52 2013
@@ -55,6 +55,16 @@
 			<body>
 				<RunCode code="application.navigator.pushView(views.NestedScrollingView)" waitTarget="navigator"
waitEvent="viewChangeComplete" timeout="6000" />
 				
+				<!-- set to some other display mode so when set to final it resets everything -->
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds" 
+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.TIME"/>
+				<SetProperty target="navigator.activeView.ds.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="MMMM d, yyyy h:mm:ss a z" />
+				<RunCode code="application.navigator.activeView.ds.mx_internal::dateTimeFormatterEx.styleChanged(null)"
/>
+				<RunCode code="application.navigator.activeView.ds.mx_internal::refreshDateTimeFormatter
= true" />
+				<SetProperty waitEvent="updateComplete" target="navigator.activeView.ds" 
+							 propertyName="displayMode" valueExpression="value=DateSelectorDisplayMode.DATE"/>
+				
 				<SimulateMouseGesture target="navigator.activeView.ds" dragXFrom="170" dragXTo="170"
dragYFrom="240" dragYTo="190" recordedDPI="240" waitEvent="change" />
 				<WaitForEvent target="navigator.activeView.ds" eventName="enterFrame" />
 				



Mime
View raw message