incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject 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...
Date Tue, 07 Aug 2012 13:13:18 GMT
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>



Mime
View raw message