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 2012/08/07 15:13:18 UTC
svn commit: r1370238 [3/3] - in
/incubator/flex/trunk/mustella/tests/browser: ./ Application/
Application/Properties/ Application/SWFs/ DeepLinking/
DeepLinking/BrowserManager/ DeepLinking/URLUtil/ DeepLinking/swfs/
resources/ resources/Preloader/ reso...
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/logging.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/logging.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/logging.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/logging.properties Tue Aug 7 13:13:15 2012
@@ -0,0 +1,37 @@
+################################################################################
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+################################################################################
+# Developer RTE Section
+
+# AbstractTarget
+
+errFilter = ãã£ã«ã¿ã®ã¨ã©ã¼ \\u0027'{0}'
+charsInvalid = '. æ¬¡ã®æåã¯æå¹ã§ã¯ããã¾ãã \: []~$^&\/(){}<>+\=_-`!@#%?,\:;'\\".
+charPlacement = '. '*' ã¯å³ç«¯ã®æåã§ããå¿
è¦ãããã¾ãã
+
+#Log
+
+invalidTarget = ç¡å¹ãªã¿ã¼ã²ãããæå®ããã¾ããã
+invalidLen = ã«ãã´ãªã¯é·ããæä½ 1 æåã§ããå¿
è¦ãããã¾ãã
+invalidChars = ã«ãã´ãªã«ã¯æ¬¡ã®æåã¯ä½¿ç¨ã§ãã¾ãã \: []`~,!@#$%*^&()]{}+\=\|'\;?><./\\".
+
+#LogLogger
+
+levelLimit = ã¬ãã«ã¯ LogEventLevel.ALL æªæºã§ããå¿
è¦ãããã¾ã
+
+
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/skins.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/skins.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/skins.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/skins.properties Tue Aug 7 13:13:15 2012
@@ -0,0 +1,23 @@
+################################################################################
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+################################################################################
+# Developer RTE Section
+
+RectanglarBorder
+
+notLoaded = ãã¼ãã§ãã¾ãã '{0}'
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/states.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/states.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/states.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/states.properties Tue Aug 7 13:13:15 2012
@@ -0,0 +1,23 @@
+################################################################################
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+################################################################################
+# Developer RTE Section
+
+# AddChild
+
+alreadyParented = æ¢ã«è¦ªã§ããåã追å ãããã¨ã¯ã§ãã¾ããã
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/styles.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/styles.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/styles.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/styles.properties Tue Aug 7 13:13:15 2012
@@ -0,0 +1,20 @@
+################################################################################
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+################################################################################
+# StyleManagerImpl
+unableToLoad = Unable to load style({0}): {1}.
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/validators.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/validators.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/validators.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/validators.properties Tue Aug 7 13:13:15 2012
@@ -0,0 +1,165 @@
+################################################################################
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+################################################################################
+# Symbols
+
+# CreditCardValidator
+creditCardValidatorAllowedFormatChars = \ -
+
+# Currency/Number Validator
+allowNegative = true
+decimalSeparator = .
+maxValue = NaN
+minValue = NaN
+thousandsSeparator = ,
+
+# CurrencyValidator
+currencyValidatorPrecision = 2
+
+# DateValidator
+dateValidatorAllowedFormatChars = /- \u005C\u005C.
+validateAsString = true
+
+# NumberValidator
+numberValidatorDomain = real
+numberValidatorPrecision = -1
+
+# PhoneNumberValidator
+phoneNumberValidatorAllowedFormatChars = -()+ .
+
+# SocialSecurityValidator
+socialSecurityValidatorAllowedFormatChars = \ -
+
+# ZipCodeValidator
+zipCodeValidatorAllowedFormatChars = \ -
+zipCodeValidatorDomain = US Only
+
+
+# Tooltip errors
+
+# CurrencyValidator, NumberValidator
+
+decimalPointCountError = å°æ°ç¹ã¯ 1 åã ã使ç¨ã§ãã¾ãã
+invalidCharError = å
¥åå¤ã«ç¡å¹ãªæåãå«ã¾ãã¦ãã¾ãã
+invalidFormatCharsError = ãã©ã¼ãããç¨ãã©ã¡ã¼ã¿ã®ãããããç¡å¹ã§ãã
+lowerThanMinError = å
¥åããå¤ãå°ãããã¾ãã
+negativeError = è² ã®å¤ã«ãããã¨ã¯ã§ãã¾ããã
+precisionError = å
¥åããå¤ã®æ´æ°é¨ã®æ¡æ°ãå¤ããã¾ãã
+separationError = æ¡åºåãè¨å·ã¯ 3 æ¡ãã¨ã«æ¿å
¥ããå¿
è¦ãããã¾ãã
+
+# CreditCardValidator
+
+invalidCharErrorCCV = ã¯ã¬ã¸ããã«ã¼ãçªå·ã®æåãç¡å¹ã§ã(æ°å¤ã®ã¿ãå
¥åãã¦ãã ãã)ã
+invalidNumberError = ã¯ã¬ã¸ããã«ã¼ãçªå·ãç¡å¹ã§ãã
+noNumError = ã¯ã¬ã¸ããã«ã¼ãçªå·ãæå®ããã¦ãã¾ããã
+noTypeError = ã¯ã¬ã¸ããã«ã¼ãã®ç¨®é¡ãæå®ããã¦ããªãããæå¹ã§ã¯ããã¾ããã
+wrongLengthErrorCCV = ã¯ã¬ã¸ããã«ã¼ãçªå·ã®æ¡æ°ãæ£ããããã¾ããã
+wrongTypeError = æå®ãããã«ã¼ãã®ç¨®é¡ãæ£ããããã¾ããã
+
+# CurrencyValidator
+
+currencySymbolError = é貨è¨å·ãç¡å¹ãªä½ç½®ã«ããã¾ãã
+exceedsMaxErrorCV = å
¥åããéé¡ã大ãããã¾ãã
+
+# DateValidator
+
+wrongLengthErrorDV = å½¢å¼ã«åºã¥ãæ¥ä»ãå
¥åãã¦ãã ããã
+invalidCharErrorDV = æ¥ä»ã«ç¡å¹ãªæåãå«ã¾ãã¦ãã¾ãã
+wrongMonthError = 1 ï½ 12 ã®ç¯å²ã§æãå
¥åãã¦ãã ããã
+wrongDayError = æã®æå¹ãªæ¥ä»ãå
¥åãã¦ãã ããã
+wrongYearError = 0 ï½ 9999 ã®ç¯å²ã§å¹´ãå
¥åãã¦ãã ããã
+formatError = è¨å®ã¨ã©ã¼ :ã¹ããªã³ã°ã®ãã©ã¼ããããæ£ããããã¾ãã
+
+# EmailValidator
+
+invalidCharErrorEV = é»åã¡ã¼ã«ã¢ãã¬ã¹ã«ç¡å¹ãªæåãå«ã¾ãã¦ãã¾ãã
+invalidDomainErrorEV = é»åã¡ã¼ã«ã¢ãã¬ã¹ã®ãã¡ã¤ã³ã®å½¢å¼ãæ£ããããã¾ããã
+invalidIPDomainError = é»åã¡ã¼ã«ã¢ãã¬ã¹ã® IP ãã¡ã¤ã³ã®å½¢å¼ãæ£ããããã¾ããã
+invalidPeriodsInDomainError = é»åã¡ã¼ã«ã¢ãã¬ã¹ã®ãã¡ã¤ã³ã«é£ç¶ããããªãªããå«ã¾ãã¦ãã¾ãã
+missingAtSignError = é»åã¡ã¼ã«ã¢ãã¬ã¹ã«ã¢ãããã¼ã¯ (@) ãããã¾ããã
+missingPeriodInDomainError = é»åã¡ã¼ã«ã¢ãã¬ã¹ã®ãã¡ã¤ã³ã«ããªãªããããã¾ããã
+missingUsernameError = é»åã¡ã¼ã«ã¢ãã¬ã¹ã«ã¦ã¼ã¶ã¼åãããã¾ããã
+tooManyAtSignsError = é»åã¡ã¼ã«ã¢ãã¬ã¹ã«å«ã¾ãã¦ããã¢ãããã¼ã¯ (@) ãå¤ããã¾ãã
+
+# NumberValidator
+
+exceedsMaxErrorNV = å
¥åããæ°å¤ã大ãããã¾ãã
+integerError = æ°å¤ã¯æ´æ°ã§ããå¿
è¦ãããã¾ãã
+
+# PhoneNumberValidator
+
+invalidCharErrorPNV = é»è©±çªå·ã«ç¡å¹ãªæåãå«ã¾ãã¦ãã¾ãã
+wrongLengthErrorPNV = é»è©±çªå·ã¯æä½ 10 æ¡ã§ããå¿
è¦ãããã¾ãã
+
+# RegExValidator
+
+noMatchError = ãã£ã¼ã«ããç¡å¹ã§ãã
+noExpressionError = å¼ãããã¾ããã
+
+# SocialSecurityValidator
+
+invalidCharErrorSSV = 社ä¼ä¿éçªå·ã«ç¡å¹ãªæåãå
¥åãã¾ããã
+wrongFormatError = 社ä¼ä¿éçªå·ã¯ 9 æ¡ã¾ã㯠NNN-NN-NNNN ã®å½¢å¼ã§ããå¿
è¦ãããã¾ãã
+zeroStartError = ç¡å¹ãªç¤¾ä¼ä¿éçªå·ã§ããçªå·ã®å
é ã 000 ã«ãããã¨ã¯ã§ãã¾ããã
+
+# StringValidator
+
+tooLongError = ãã®ã¹ããªã³ã°ã¯æå¤§å¤ãããé·ãã¹ããªã³ã°ã§ãããã®ã¹ããªã³ã°ã¯ {0} æåæªæºã§ããå¿
è¦ãããã¾ãã
+tooShortError = ãã®ã¹ããªã³ã°ã¯æå°å¤ãããçãã¹ããªã³ã°ã§ãããã®ã¹ããªã³ã°ã¯æä½ {0} æåã§ããå¿
è¦ãããã¾ãã
+minLength = NaN
+maxLength = NaN
+
+# Validator
+
+requiredFieldError = ãã®ãã£ã¼ã«ãã¯å¿
é ã§ãã
+
+# ZipCodeValidator
+
+invalidCharErrorZCV = ZIP ã³ã¼ãã«ç¡å¹ãªæåãå«ã¾ãã¦ãã¾ãã
+invalidDomainErrorZCV = domain ãã©ã¡ã¼ã¿ãç¡å¹ã§ãã'US Only' ã¾ã㯠'US or Canada' ã®ããããã§ããå¿
è¦ãããã¾ãã
+wrongCAFormatError = ã«ããã®éµä¾¿çªå·ã¯ 'A1B 2C3' ã®å½¢å¼ã§ããå¿
è¦ãããã¾ãã
+wrongLengthErrorZCV = ZIP ã³ã¼ã㯠5 æ¡ã¾ã㯠5+4 æ¡ã§ããå¿
è¦ãããã¾ãã
+wrongUSFormatError = ZIP+4 ã³ã¼ã㯠'12345-6789' ã®å½¢å¼ã§ããå¿
è¦ãããã¾ãã
+invalidFormatCharsZCV = allowedFormatChars ãã©ã¡ã¼ã¿ãç¡å¹ã§ããè±æ°å (a-z A-Z 0-9) ã¯ä½¿ç¨ã§ãã¾ããã
+
+
+# Developer RTE Section
+
+# Shared
+
+invalidFormatChars = allowedFormatChars ãã©ã¡ã¼ã¿ãç¡å¹ã§ããæ°åã¯ä½¿ç¨ã§ãã¾ããã
+
+# CreditCardValidator
+
+missingCardType = æ¤è¨¼ããå¤ã«ã¯ cardType ããããã£ãå«ã¾ãã¦ãã¾ããã
+missingCardNumber = æ¤è¨¼ããå¤ã«ã¯ cardNumber ããããã£ãå«ã¾ãã¦ãã¾ããã
+CNSAttribute = cardNumberSource 屿§ ('{0}') ã¯ãString åã«ã¯ã§ãã¾ããã
+CTSAttribute = cardTypeSource 屿§ ('{0}') ã¯ãString åã«ã¯ã§ãã¾ããã
+
+# DateValidator
+
+DSAttribute = daySource 屿§ ('{0}') ã¯ãString åã«ã¯ã§ãã¾ããã
+MSAttribute = monthSource 屿§ ('{0}') ã¯ãString åã«ã¯ã§ãã¾ããã
+YSAttribute = yearSource 屿§ ('{0}') ã¯ãString åã«ã¯ã§ãã¾ããã
+
+# Validator
+
+fieldNotFound = '{0}' ãã£ã¼ã«ããè¦ã¤ããã¾ãã
+SAttribute = source 屿§ ('{0}') ã¯ãString åã«ã¯ã§ãã¾ããã
+SAttributeMissing = property 屿§ãæå®ããå ´åã¯ãsource 屿§ãæå®ããå¿
è¦ãããã¾ãã
+PAttributeMissing = source 屿§ãæå®ããå ´åã¯ãproperty 屿§ãæå®ããå¿
è¦ãããã¾ãã
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.compile Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+-theme=${flexlib}/themes/Halo/halo.swc
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" preinitialize="doPreinitialize()">
+
+<!--
+ There is a different SWF file for each HTML wrapper.
+ The wrappers have different values for their flashvars.
+ Verification is done by:
+ localeChain: By the time preinitialize has occurred, the locale chain should be
+ in application.parameters. So get it and put it in a variable. When Mustella
+ runs, check that variable. Make sure the ResourceManager's localeChain
+ matches. Also, have one sanity check that makes sure a label really ends
+ up using a resource from a loaded SWF and uses the correct entry from the
+ localeChain.
+ resourceModuleURLs: Verify that the parameter gets set the same way as with
+ localeChain. Also, use the ResourceModule API to verify that the resources
+ from the loaded SWFs are available. Also, have one sanity check that makes
+ sure a label really ends up using a resource from a loaded SWF and uses the
+ correct entry from the localeChain.
+
+ PreloaderApp1:
+ localeChain: no params
+ resourceModuleURLs: no params
+ PreloaderApp2:
+ localeChain: fr_FR
+ resourceModuleURLs: Assets/resources/framework/frFrameworkResources.swf
+ PreloaderApp3:
+ localeChain: fr_FR,de_DE,ja_JP,en_US
+ resourceModuleURLs: Assets/resources/framework/frFrameworkResources.swf,
+ Assets/resources/framework/deFrameworkResources.swf,
+ Assets/resources/framework/jaFrameworkResources.swf
+ PreloaderApp4:
+ localeChain: en_US
+ resourceModuleURLs: http://localhost/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle1_001.swf,
+ http://localhost/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle2_001.swf
+ PreloaderApp5:
+ localeChain: fr_FR,en_US
+ resourceModuleURLs: Assets/resources/custom/enCustomResources_bundle1_001.swf,
+ http://localhost/resources/Preloader/SWFs/Assets/resources/framework/frCustomResources_bundle1_001.swf,
+ Assets/resources/custom/enCustomResources_bundle2_001.swf,
+ http://localhost/resources/Preloader/SWFs/Assets/resources/custom/en_fr_jaCustomResources_bundles1_2_001.swf
+-->
+
+ <mx:Script><![CDATA[
+
+ public var appParamLocaleChain:String;
+ public var appParamURLs:String;
+ public var rmLocaleChain:String;
+ public var preinitializeError:String;
+
+ private function doPreinitialize():void{
+ try{
+ appParamLocaleChain = application.parameters.localeChain.toString();
+ appParamURLs = application.parameters.resourceModuleURLs.toString();
+ rmLocaleChain = resourceManager.localeChain.toString();
+ }catch(e:Error){
+ preinitializeError = e.message;
+ trace("doPreinitialize() error: " + e.message);
+ }
+ }
+
+ ]]></mx:Script>
+
+ <mx:Label id="lbl1" text="@Resource(bundle='core', key='viewSource')" />
+
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.compile Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+-theme=${flexlib}/themes/Halo/halo.swc -locale=
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.htmlvars
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.htmlvars?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.htmlvars (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.htmlvars Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+flashvars=localeChain=fr_FR&resourceModuleURLs=Assets/resources/framework/frFrameworkResources.swf
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" preinitialize="doPreinitialize()">
+
+<!--
+ For more information, see PreloaderApp1.mxml.
+-->
+
+ <mx:Script><![CDATA[
+
+ public var appParamLocaleChain:String;
+ public var appParamURLs:String;
+ public var rmLocaleChain:String;
+ public var preinitializeError:String;
+
+ private function doPreinitialize():void{
+ try{
+ appParamLocaleChain = application.parameters.localeChain.toString();
+ appParamURLs = application.parameters.resourceModuleURLs.toString();
+ rmLocaleChain = resourceManager.localeChain.toString();
+ }catch(e:Error){
+ preinitializeError = e.message;
+ trace("doPreinitialize() error: " + e.message);
+ }
+ }
+
+ ]]></mx:Script>
+
+ <mx:Label id="lbl1" text="@Resource(bundle='core', key='viewSource')" />
+
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.compile Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+-theme=${flexlib}/themes/Halo/halo.swc -locale=
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.htmlvars
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.htmlvars?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.htmlvars (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.htmlvars Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+flashvars=localeChain=fr_FR,de_DE,ja_JP,en_US&resourceModuleURLs=Assets/resources/framework/frFrameworkResources.swf,Assets/resources/framework/deFrameworkResources.swf,Assets/resources/framework/jaFrameworkResources.swf
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" preinitialize="doPreinitialize()">
+
+<!--
+ For more information, see PreloaderApp1.mxml.
+-->
+
+ <mx:Script><![CDATA[
+
+ public var appParamLocaleChain:String;
+ public var appParamURLs:String;
+ public var rmLocaleChain:String;
+ public var preinitializeError:String;
+
+ private function doPreinitialize():void{
+ try{
+ appParamLocaleChain = application.parameters.localeChain.toString();
+ appParamURLs = application.parameters.resourceModuleURLs.toString();
+ rmLocaleChain = resourceManager.localeChain.toString();
+ }catch(e:Error){
+ preinitializeError = e.message;
+ trace("doPreinitialize() error: " + e.message);
+ }
+ }
+
+ ]]></mx:Script>
+
+ <mx:Label id="lbl1" text="@Resource(bundle='core', key='viewSource')" />
+
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.compile Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+-theme=${flexlib}/themes/Halo/halo.swc -locale=
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.htmlvars
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.htmlvars?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.htmlvars (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.htmlvars Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+flashvars=localeChain=en_US&resourceModuleURLs=http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle1_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/enCustomResources_bundle2_001.swf
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" preinitialize="doPreinitialize()">
+
+<!--
+ For more information, see PreloaderApp1.mxml.
+-->
+
+ <mx:Script><![CDATA[
+
+ public var appParamLocaleChain:String;
+ public var appParamURLs:String;
+ public var rmLocaleChain:String;
+ public var preinitializeError:String;
+
+ private function doPreinitialize():void{
+ try{
+ appParamLocaleChain = application.parameters.localeChain.toString();
+ appParamURLs = application.parameters.resourceModuleURLs.toString();
+ rmLocaleChain = resourceManager.localeChain.toString();
+ }catch(e:Error){
+ preinitializeError = e.message;
+ trace("doPreinitialize() error: " + e.message);
+ }
+ }
+
+ ]]></mx:Script>
+
+ <!--mx:Label id="lbl1" text="@Resource(bundle='bundle1', key='SHUTDOWN')" /-->
+ <mx:Label id="lbl1" text="{resourceManager.getString('bundle1', 'SHUTDOWN')}" />
+
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.compile Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+-theme=${flexlib}/themes/Halo/halo.swc -locale=
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.htmlvars
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.htmlvars?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.htmlvars (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.htmlvars Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+flashvars=localeChain=fr_FR,en_US&resourceModuleURLs=Assets/resources/custom/enCustomResources_bundle1_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/frCustomResources_bundle1_001.swf,Assets/resources/custom/enCustomResources_bundle2_001.swf,http://localhost/browser/resources/Preloader/SWFs/Assets/resources/custom/en_fr_jaCustomResources_bundles1_2_001.swf
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application backgroundColor="0xFFFFFF" backgroundImage="" xmlns:mx="http://www.adobe.com/2006/mxml" preinitialize="doPreinitialize()">
+
+<!--
+ For more information, see PreloaderApp1.mxml.
+-->
+
+ <mx:Script><![CDATA[
+
+ public var appParamLocaleChain:String;
+ public var appParamURLs:String;
+ public var rmLocaleChain:String;
+ public var preinitializeError:String;
+
+ private function doPreinitialize():void{
+ try{
+ appParamLocaleChain = application.parameters.localeChain.toString();
+ appParamURLs = application.parameters.resourceModuleURLs.toString();
+ rmLocaleChain = resourceManager.localeChain.toString();
+ }catch(e:Error){
+ preinitializeError = e.message;
+ trace("doPreinitialize() error: " + e.message);
+ }
+ }
+
+ ]]></mx:Script>
+
+ <!--mx:Label id="lbl1" text="@Resource(bundle='bundle1', key='SHUTDOWN')" /-->
+ <mx:Label id="lbl1" text="{resourceManager.getString('bundle1', 'SHUTDOWN')}" />
+
+</mx:Application>
Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/pre_compile.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/pre_compile.sh?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/pre_compile.sh (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/pre_compile.sh Tue Aug 7 13:13:15 2012
@@ -0,0 +1,39 @@
+#!/bin/sh
+################################################################################
+##
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##
+################################################################################
+cd Assets
+
+echo ""
+echo "Removing previously compiled files..."
+rm -f `find . -name "*.swf"`
+
+LIBRARY_PATH="$SDK_DIR/frameworks/libs"
+
+echo ""
+echo "Compiling new custom resource module SWFs..."
+$SDK_DIR/bin/mxmlc -locale=en_US -source-path=resources/custom/{locale} -include-resource-bundles bundle1 -o resources/custom/enCustomResources_bundle1_001.swf
+$SDK_DIR/bin/mxmlc -locale=en_US -source-path=resources/custom/{locale} -include-resource-bundles bundle2 -o resources/custom/enCustomResources_bundle2_001.swf
+$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale=fr_FR -source-path=resources/custom/{locale} -include-resource-bundles bundle1 -o resources/custom/frCustomResources_bundle1_001.swf
+$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale=en_US,fr_FR,ja_JP -source-path=resources/custom/{locale} -include-resource-bundles bundle1 bundle2 -o resources/custom/en_fr_jaCustomResources_bundles1_2_001.swf
+
+echo ""
+echo "Compiling new framework resource module SWFs..."
+$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale fr_FR -source-path=resources/framework/{locale} -include-resource-bundles collections containers controls core effects formatters logging SharedResources skins states styles validators -o resources/framework/frFrameworkResources.swf
+$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale de_DE -source-path=resources/framework/{locale} -include-resource-bundles collections containers controls core effects formatters logging SharedResources skins states styles validators -o resources/framework/deFrameworkResources.swf
+$SDK_DIR/bin/mxmlc -library-path=$LIBRARY_PATH -locale ja_JP -source-path=resources/framework/{locale} -include-resource-bundles collections containers controls core effects formatters logging SharedResources skins states styles validators -o resources/framework/jaFrameworkResources.swf
Propchange: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/pre_compile.sh
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.htmlvars
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.htmlvars?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.htmlvars (added)
+++ incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.htmlvars Tue Aug 7 13:13:15 2012
@@ -0,0 +1 @@
+flashvars=var1=ValueOne&var2=ValueTwo
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<s:Application
+ xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ width="800" height="600" />
\ No newline at end of file
Added: incubator/flex/trunk/mustella/tests/browser/spark/components/Application/properties/Application_Properties.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/spark/components/Application/properties/Application_Properties.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/spark/components/Application/properties/Application_Properties.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/spark/components/Application/properties/Application_Properties.mxml Tue Aug 7 13:13:15 2012
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<UnitTester testDir="browser/Application/Properties/" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="BrowserApplicationApp1.mxml">
+ <!-- this set of lines form a template that must be in each unit test -->
+ <mx:Script>
+ <![CDATA[
+ public static function init(o:DisplayObject):void
+ {
+ }
+ ]]>
+ </mx:Script>
+ <mx:Metadata>
+ <![CDATA[
+ [Mixin]
+ ]]>
+ </mx:Metadata>
+ <!-- end of set of lines that must be in each unit test -->
+
+ <mx:Script>
+ <![CDATA[
+ import mx.core.FlexGlobals;
+ ]]>
+ </mx:Script>
+
+ <testCases>
+ <TestCase testID="Application_Properties_url_test3" keywords="[Application,url]" description="Get the url property of a SWF loaded into a browser.">
+ <body>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.url" value="http://localhost:{portNumber}/browser/spark/components/Application/SWFs/BrowserApplicationApp1.swf" />
+ </body>
+ </TestCase>
+
+ <TestCase testID="Application_Properties_parameters_test1" keywords="[Application,parameters]" description="Do a basic test to get the parameters.">
+ <body>
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.parameters['var1']" value="ValueOne" />
+ <AssertMethodValue method="value=FlexGlobals.topLevelApplication.parameters['var2']" value="ValueTwo" />
+ </body>
+ </TestCase>
+ </testCases>
+</UnitTester>