You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/01/25 01:11:47 UTC

svn commit: r1438274 - /flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/globalization/DS_zh_CN_tester.mxml

Author: aharui
Date: Fri Jan 25 00:11:47 2013
New Revision: 1438274

URL: http://svn.apache.org/viewvc?rev=1438274&view=rev
Log:
fix a few more tests.

Modified:
    flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/globalization/DS_zh_CN_tester.mxml

Modified: flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/globalization/DS_zh_CN_tester.mxml
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/globalization/DS_zh_CN_tester.mxml?rev=1438274&r1=1438273&r2=1438274&view=diff
==============================================================================
--- flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/globalization/DS_zh_CN_tester.mxml (original)
+++ flex/sdk/branches/develop/mustella/tests/mobile/components/DateSpinner/globalization/DS_zh_CN_tester.mxml Fri Jan 25 00:11:47 2013
@@ -270,12 +270,13 @@
 				<RunCode code="application.navigator.pushView(views.zh_CNView)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="18000" />
 						 
-				<SetProperty target="navigator.activeView.ds_zh_CN.mx_internal:dateTimeFormatterEx"
-                             propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
-               <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
-                <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::refreshDateTimeFormatter = true" />
-                
 				<SetStyle target="navigator.activeView.ds_main" styleName="locale" value="ja_JP"/>
+				
+				<SetProperty target="navigator.activeView.ds_main.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::refreshDateTimeFormatter = true" />
+				
 				<SetProperty target="navigator.activeView.ds_main" propertyName="displayMode" 
 							 valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"
 							 waitEvent="updateComplete"
@@ -359,10 +360,10 @@
 				<RunCode code="application.navigator.pushView(views.zh_CNView)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="18000" />
 						 
-				<SetProperty target="navigator.activeView.ds_zh_CN.mx_internal:dateTimeFormatterEx"
-                             propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
-               <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
-                <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::refreshDateTimeFormatter = true" />
+				<SetProperty target="navigator.activeView.ds_main.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::refreshDateTimeFormatter = true" />
 				
 				<SetProperty target="navigator.activeView.ds_main" propertyName="displayMode" 
 							 valueExpression="value=DateSelectorDisplayMode.TIME"
@@ -398,10 +399,10 @@
 				<RunCode code="application.navigator.pushView(views.zh_CNView)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="18000" />
 						 
-				<SetProperty target="navigator.activeView.ds_zh_CN.mx_internal:dateTimeFormatterEx"
-                             propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
-               <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
-                <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::refreshDateTimeFormatter = true" />
+				<SetProperty target="navigator.activeView.ds_main.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::refreshDateTimeFormatter = true" />
                 
 				<SetStyle target="navigator.activeView.ds_main" styleName="locale" value="ja_JP"/>
 				
@@ -497,10 +498,10 @@
 				<RunCode code="application.navigator.pushView(views.zh_CNView)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="18000" />
 						 
-				<SetProperty target="navigator.activeView.ds_zh_CN.mx_internal:dateTimeFormatterEx"
-                             propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
-               <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
-                <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::refreshDateTimeFormatter = true" />
+				<SetProperty target="navigator.activeView.ds_main.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::refreshDateTimeFormatter = true" />
 				
 				<SetProperty target="navigator.activeView.ds_main" propertyName="displayMode" 
 							 valueExpression="value=DateSelectorDisplayMode.TIME"
@@ -545,10 +546,10 @@
 				<RunCode code="application.navigator.pushView(views.zh_CNView)" 
 						 waitTarget="navigator" waitEvent="viewChangeComplete" timeout="18000" />
 						 
-				<SetProperty target="navigator.activeView.ds_zh_CN.mx_internal:dateTimeFormatterEx"
-                             propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
-               <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
-                <RunCode code="application.navigator.activeView.ds_zh_CN.mx_internal::refreshDateTimeFormatter = true" />
+				<SetProperty target="navigator.activeView.ds_main.mx_internal:dateTimeFormatterEx"
+							 propertyName="dateTimePattern" value="y年M月d日 ah时mm分ss秒z" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::dateTimeFormatterEx.styleChanged(null)" />
+				<RunCode code="application.navigator.activeView.ds_main.mx_internal::refreshDateTimeFormatter = true" />
 				
 				<SetProperty target="navigator.activeView.ds_main" propertyName="displayMode" 
 							 valueExpression="value=DateSelectorDisplayMode.DATE_AND_TIME"