flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r1370238 [1/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
Author: pent
Date: Tue Aug  7 13:13:15 2012
New Revision: 1370238

URL: http://svn.apache.org/viewvc?rev=1370238&view=rev
Log:
Mustella submission

Added:
    incubator/flex/trunk/mustella/tests/browser/
    incubator/flex/trunk/mustella/tests/browser/Application/
    incubator/flex/trunk/mustella/tests/browser/Application/Properties/
    incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_Default.mxml
    incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_historyManagementEnabled.mxml
    incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_parameters.mxml
    incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_url.mxml
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.compile
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.mxml
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.compile
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.mxml
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.compile
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.htmlvars
    incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.mxml
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/BrowserManager/
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/BrowserManager/BrowserManagerTester.mxml
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/URLUtil/
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/URLUtil/URLUtilTester.mxml
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.compile
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.mxml
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.compile
    incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app1.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app2.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app3.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle1.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle2.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle1.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle2.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/core.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle1.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle2.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/core.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/SharedResources.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/collections.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/containers.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/controls.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/core.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/effects.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/formatters.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/logging.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/skins.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/states.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/styles.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/validators.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/SharedResources.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/collections.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/containers.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/controls.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/core.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/effects.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/formatters.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/logging.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/skins.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/states.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/styles.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/fr_FR/validators.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/SharedResources.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/collections.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/containers.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/controls.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/core.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/effects.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/formatters.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/logging.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/skins.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/states.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/styles.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/ja_JP/validators.properties
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.compile
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp1.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.compile
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.htmlvars
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp2.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.compile
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.htmlvars
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp3.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.compile
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.htmlvars
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp4.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.compile
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.htmlvars
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/PreloaderApp5.mxml
    incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/pre_compile.sh   (with props)
    incubator/flex/trunk/mustella/tests/browser/spark/
    incubator/flex/trunk/mustella/tests/browser/spark/components/
    incubator/flex/trunk/mustella/tests/browser/spark/components/Application/
    incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/
    incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.htmlvars
    incubator/flex/trunk/mustella/tests/browser/spark/components/Application/SWFs/BrowserApplicationApp1.mxml
    incubator/flex/trunk/mustella/tests/browser/spark/components/Application/properties/
    incubator/flex/trunk/mustella/tests/browser/spark/components/Application/properties/Application_Properties.mxml

Added: incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_Default.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_Default.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_Default.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_Default.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,68 @@
+<?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="BrowserApplicationApp2.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.controls.Button;
+        
+        public var theHeaderButton:Button;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+	
+
+		<TestCase testID="property_historyManagementEnabled_true" keywords="[application, historyManagementEnabled]"
+		    description="Be sure that historyManagementEnabled set to true works.">
+
+			<body>
+			    <RunCode code="script:theHeaderButton = application.acc1.getHeaderAt(1)" />
+
+				<DispatchMouseClickEvent target="script:theHeaderButton" localX="2" localY="2" />
+				<WaitForEffectsToEnd />
+				<Pause timeout="1000" />
+				<AssertPropertyValue target="acc1" propertyName="selectedIndex" value="1" />
+				<SetURL url="BACK" />
+				<WaitForEffectsToEnd />
+				<Pause timeout="1000" />
+				<AssertPropertyValue target="acc1" propertyName="selectedIndex" value="0" />
+
+			</body>
+
+		</TestCase>
+
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_historyManagementEnabled.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_historyManagementEnabled.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_historyManagementEnabled.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_historyManagementEnabled.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,69 @@
+<?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.controls.Button;
+        
+        public var theHeaderButton:Button;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+
+	
+		<TestCase testID="property_historyManagementEnabled_default" keywords="[application, historyManagementEnabled]"
+		    description="Be sure that historyManagementEnabled set to false works.">
+
+			<body>
+			    <RunCode code="script:theHeaderButton = application.acc1.getHeaderAt(1)" />
+
+				<DispatchMouseClickEvent target="script:theHeaderButton" localX="2" localY="2" />
+				<WaitForEffectsToEnd />
+				<Pause timeout="1000" />
+
+				<AssertPropertyValue target="acc1" propertyName="selectedIndex" value="1" />
+				<SetURL url="BACK" />
+				<WaitForEffectsToEnd />
+				<Pause timeout="1000" />
+				<AssertPropertyValue target="acc1" propertyName="selectedIndex" value="1" />
+
+			</body>
+
+		</TestCase>
+
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_parameters.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_parameters.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_parameters.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_parameters.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,54 @@
+<?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="BrowserApplicationApp3.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.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+		<TestCase testID="property_parameters" keywords="[application, parameters]"
+		    description="Do a basic test to get the parameters.">
+
+			<body>
+				<AssertMethodValue method="value=Application.application.parameters['var1']" value="ValueOne" />
+				<AssertMethodValue method="value=Application.application.parameters['var2']" value="ValueTwo" />
+
+			</body>
+
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_url.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_url.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_url.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/Properties/Application_Properties_url.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,53 @@
+<?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.Application;
+    ]]>
+    </mx:Script>
+
+	<testCases>
+		<TestCase testID="property_url" keywords="[application, url]"
+		    description="Do a basic test to get the url.">
+
+			<body>
+				<AssertMethodValue method="value=Application.application.url" value="http://localhost:{portNumber}/browser/Application/SWFs/BrowserApplicationApp1.swf" />
+
+			</body>
+
+		</TestCase>
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.compile Tue Aug  7 13:13:15 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp1.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,40 @@
+<?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="" width="800" height="600" 
+xmlns:mx="http://www.adobe.com/2006/mxml"
+pageTitle="Test Title"
+historyManagementEnabled="false" >
+
+<mx:Script>
+<![CDATA[
+
+]]>
+</mx:Script>
+
+<mx:Accordion id="acc1" width="600">
+    <mx:VBox label="View 1">
+        <mx:TextInput text="View 1" />
+    </mx:VBox>
+    <mx:VBox label="View 2">
+        <mx:TextInput text="View 2" />
+    </mx:VBox>
+</mx:Accordion>
+
+</mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.compile Tue Aug  7 13:13:15 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp2.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,42 @@
+<?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="" width="800" height="600" 
+xmlns:mx="http://www.adobe.com/2006/mxml" >
+
+<!--
+    This app. is for default testing.  Don't set any more properties in mxml.
+-->
+
+<mx:Script>
+<![CDATA[
+
+]]>
+</mx:Script>
+
+<mx:Accordion id="acc1" width="600">
+    <mx:VBox label="View 1">
+        <mx:TextInput text="View 1" />
+    </mx:VBox>
+    <mx:VBox label="View 2">
+        <mx:TextInput text="View 2" />
+    </mx:VBox>
+</mx:Accordion>
+
+</mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.compile Tue Aug  7 13:13:15 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.htmlvars
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.htmlvars?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.htmlvars (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.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/Application/SWFs/BrowserApplicationApp3.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/Application/SWFs/BrowserApplicationApp3.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,29 @@
+<?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="" width="800" height="600" 
+xmlns:mx="http://www.adobe.com/2006/mxml" >
+
+<mx:Script>
+<![CDATA[
+
+]]>
+</mx:Script>
+
+</mx:Application>
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/browser/DeepLinking/BrowserManager/BrowserManagerTester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/DeepLinking/BrowserManager/BrowserManagerTester.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/DeepLinking/BrowserManager/BrowserManagerTester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/DeepLinking/BrowserManager/BrowserManagerTester.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,118 @@
+<?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/DeepLinking/BrowserManager/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="BrowserManagerTest.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[
+
+	
+
+	]]>
+
+	</mx:Script>
+
+
+
+	<testCases>
+
+		<TestCase testID="verify startup">
+
+			<body>
+
+				<AssertURL url="BrowserManagerTest.html#" />
+
+				<AssertTitle title="Shipping" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="switch to tab2">
+
+			<body>
+
+				<DispatchMouseClickEvent target="tn" localX="80" localY="10" waitEvent="urlChange" waitTarget="browserManager" />
+
+				<Pause timeout="1000"/>
+
+				<AssertURL url="BrowserManagerTest.html#view=1;" />
+
+				<AssertTitle title="Receiving" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="switch back">
+
+			<body>
+
+				<SetURL url="BACK" waitEvent="urlChange" waitTarget="browserManager" />
+
+				<Pause timeout="1000"/>
+
+				<AssertURL url="BrowserManagerTest.html#" />
+
+				<AssertTitle title="Shipping" />
+
+			</body>
+
+		</TestCase>
+
+
+
+	</testCases>
+
+</UnitTester>
+

Added: incubator/flex/trunk/mustella/tests/browser/DeepLinking/URLUtil/URLUtilTester.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/DeepLinking/URLUtil/URLUtilTester.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/DeepLinking/URLUtil/URLUtilTester.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/DeepLinking/URLUtil/URLUtilTester.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,336 @@
+<?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/DeepLinking/URLUtil/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="URLUtilMain.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.utils.URLUtil;
+
+
+
+		public var obj1:Object = { firstName: "Donna", lastName: "PersonB",
+
+							children: [ { firstName: "Sam", lastName: "PersonC" },
+
+										{ firstName: "Leah", lastName: "PersonC" }
+
+									  ] 
+
+							};
+
+
+
+		public var string1:String = "firstName=Donna;lastName=PersonB;children.0.firstName=Sam;children.0.lastName=PersonC;children.1.firstName=Leah;children.1.lastName=PersonC";
+
+
+
+		public var obj2:Object = { firstName: "Gordon", year: 2000, flex: true, flash: false };
+
+
+
+		public var string2:String = "flash=false;year=2000;flex=true;firstName=Gordon";
+
+
+
+		public var obj3:Object = { firstName: "Deepa", numbers: [ 10, 20, 30.5 ] };
+
+
+
+		public var string3:String = "numbers.0=10;numbers.1=20;numbers.2=30.5;firstName=Deepa"
+
+
+
+		public var obj4:Object = { firstName: "Ely", lastName: "PersonA",
+
+							friends: { tracy: true, matt: false } };
+
+
+
+		public var string4:String = "friends.matt=false;friends.tracy=true;firstName=Ely;lastName=PersonA"
+
+
+
+		public var obj5:Object = { firstName: "Deepa", notnumbers: [ "10a", "20b", "30.5c" ] };
+
+
+
+		public var string5:String = "notnumbers.0=10a;notnumbers.1=20b;notnumbers.2=30.5c;firstName=Deepa";
+
+
+
+		public var temp:String;
+
+		
+
+		/* ObjectToString will not return the same order every time so you have to test it in pieces */
+
+	]]>
+
+	</mx:Script>
+
+
+
+	<testCases>
+
+		<TestCase testID="obj1 objectToString">
+
+			<body>
+
+				<RunCode code="temp=URLUtil.objectToString(obj1)" />
+
+				<AssertMethodValue method="value=(temp.indexOf('firstName=Donna') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('lastName=PersonB') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('children.0.firstName=Sam') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('children.1.firstName=Leah') >= 0)" value="true" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="string1 stringToObject">
+
+			<body>
+
+				<RunCode code="value = URLUtil.stringToObject(string1)" />
+
+				<AssertPropertyValue target="script:value" propertyName="firstName" value="Donna" />
+
+				<AssertPropertyValue target="script:value.children" propertyName="length" value="2" />
+
+				<AssertPropertyValue target="script:value.children.0" propertyName="lastName" value="PersonC" />
+
+				<AssertPropertyValue target="script:value.children.0" propertyName="firstName" value="Sam" />
+
+				<AssertPropertyValue target="script:value.children.1" propertyName="lastName" value="PersonC" />
+
+				<AssertPropertyValue target="script:value.children.1" propertyName="firstName" value="Leah" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="obj2 objectToString">
+
+			<body>
+
+				<RunCode code="temp=URLUtil.objectToString(obj2)" />
+
+				<AssertMethodValue method="value=(temp.indexOf('firstName=Gordon') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('year=2000') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('flex=true') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('flash=false') >= 0)" value="true" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="string2 stringToObject">
+
+			<body>
+
+				<RunCode code="value = URLUtil.stringToObject(string2)" />
+
+				<AssertPropertyValue target="script:value" propertyName="firstName" value="Gordon" />
+
+				<AssertPropertyValue target="script:value" propertyName="year" value="2000" />
+
+				<AssertType target="script:value" propertyName="year" value="int" />
+
+				<AssertPropertyValue target="script:value" propertyName="flex" value="true" />
+
+				<AssertType target="script:value" propertyName="flex" value="Boolean" />
+
+				<AssertPropertyValue target="script:value" propertyName="flash" value="false" />
+
+				<AssertType target="script:value" propertyName="flash" value="Boolean" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="obj3 objectToString">
+
+			<body>
+
+				<RunCode code="temp=URLUtil.objectToString(obj3)" />
+
+				<AssertMethodValue method="value=(temp.indexOf('firstName=Deepa') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('numbers.0=10') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('numbers.1=20') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('numbers.2=30.5') >= 0)" value="true" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="string3 stringToObject">
+
+			<body>
+
+				<RunCode code="value = URLUtil.stringToObject(string3)" />
+
+				<AssertPropertyValue target="script:value" propertyName="firstName" value="Deepa" />
+
+				<AssertPropertyValue target="script:value.numbers" propertyName="0" value="10" />
+
+				<AssertType target="script:value.numbers" propertyName="0" value="int" />
+
+				<AssertPropertyValue target="script:value.numbers" propertyName="1" value="20" />
+
+				<AssertType target="script:value.numbers" propertyName="1" value="int" />
+
+				<AssertPropertyValue target="script:value.numbers" propertyName="2" value="30.5" />
+
+				<AssertType target="script:value.numbers" propertyName="2" value="Number" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="obj4 objectToString">
+
+			<body>
+
+				<RunCode code="temp=URLUtil.objectToString(obj4)" />
+
+				<AssertMethodValue method="value=(temp.indexOf('firstName=Ely') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('friends.matt=false') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('friends.tracy=true') >= 0)" value="true" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="string4 stringToObject">
+
+			<body>
+
+				<RunCode code="value = URLUtil.stringToObject(string4)" />
+
+				<AssertPropertyValue target="script:value" propertyName="firstName" value="Ely" />
+
+				<AssertPropertyValue target="script:value.friends" propertyName="matt" value="false" />
+
+				<AssertType target="script:value.friends" propertyName="matt" value="Boolean" />
+
+				<AssertPropertyValue target="script:value.friends" propertyName="tracy" value="true" />
+
+				<AssertType target="script:value.friends" propertyName="tracy" value="Boolean" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="obj5 objectToString">
+
+			<body>
+
+				<RunCode code="temp=URLUtil.objectToString(obj5)" />
+
+				<AssertMethodValue method="value=(temp.indexOf('firstName=Deepa') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('notnumbers.0=10a') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('notnumbers.1=20b') >= 0)" value="true" />
+
+				<AssertMethodValue method="value=(temp.indexOf('notnumbers.2=30.5c') >= 0)" value="true" />
+
+			</body>
+
+		</TestCase>
+
+		<TestCase testID="string5 stringToObject">
+
+			<body>
+
+				<RunCode code="value = URLUtil.stringToObject(string5)" />
+
+				<AssertPropertyValue target="script:value" propertyName="firstName" value="Deepa" />
+
+				<AssertType target="script:value" propertyName="notnumbers" value="Array" />
+
+				<AssertPropertyValue target="script:value.notnumbers" propertyName="0" value="10a" />
+
+				<AssertType target="script:value.notnumbers" propertyName="0" value="String" />
+
+				<AssertPropertyValue target="script:value.notnumbers" propertyName="1" value="20b" />
+
+				<AssertType target="script:value.notnumbers" propertyName="1" value="String" />
+
+				<AssertPropertyValue target="script:value.notnumbers" propertyName="2" value="30.5c" />
+
+				<AssertType target="script:value.notnumbers" propertyName="1" value="String" />
+
+			</body>
+
+		</TestCase>
+
+
+
+	</testCases>
+
+</UnitTester>
+

Added: incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.compile Tue Aug  7 13:13:15 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/BrowserManagerTest.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,116 @@
+<?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" xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initApp()" historyManagementEnabled="false">
+    <mx:Script>
+	<![CDATA[
+		import flash.utils.describeType;
+		import flash.utils.getDefinitionByName;
+		import mx.events.BrowserChangeEvent;
+		import mx.managers.IBrowserManager;
+        import mx.managers.BrowserManager;
+        import mx.controls.Alert;
+        public var browserManager:IBrowserManager;
+       
+        private function initApp():void
+        {
+            browserManager = BrowserManager.getInstance();
+			browserManager.addEventListener(BrowserChangeEvent.BROWSER_URL_CHANGE, parseURL);
+			browserManager.init("", "Shipping");
+        }
+		private var parsing:Boolean = false;
+        private function parseURL(event:Event):void
+        {
+			parsing = true;
+
+			var idx:int = 0;
+			var arr:Array = browserManager.fragment.split(';');
+			if (arr[idx].indexOf("view=") > -1)
+			{
+				tn.selectedIndex = parseInt(arr[0].substring(5));
+				idx = 1;
+				browserManager.setTitle((tn.selectedIndex == 0) ? "Shipping" : "Receiving");
+			}
+			else 
+			{
+				tn.selectedIndex = 0;
+				browserManager.setTitle("Shipping");
+			}
+			tn.validateNow();
+
+			var details:Boolean = false;
+			if (idx < arr.length && arr[idx].indexOf("details=") > -1)
+			{
+				var value:String = arr[idx].substring(8);
+				details = (value == "true");
+			}
+
+			if (tn.selectedIndex == 0)
+				shipDetails.selected = details;
+			else
+				recvDetails.selected = details;	
+
+			parsing = false;		
+			trace("<<parseurl");
+        }
+
+        private function updateURL():void
+        {
+			if (!parsing)
+				callLater(actuallyUpdateURL);
+		}
+
+		private function actuallyUpdateURL():void
+		{
+			trace(">>updateurl");
+			var s:String = "";
+			var t:String = "";
+
+			if (tn.selectedIndex == 1)
+			{
+				t = "Receiving";
+				s += "view=" + tn.selectedIndex.toString() + ';'
+				if (recvDetails.selected)
+					s += "details=true";
+			}
+			else
+			{
+				t = "Shipping";
+                //ADR: set the correct state for the url
+                s += "view=" + tn.selectedIndex.toString() + ';'
+				if (shipDetails.selected)
+					s += "details=true";
+			}
+			trace("actuallyUpdateURL: " + s + "|");
+            browserManager.setFragment(s);
+			browserManager.setTitle(t);
+			trace("<<updateurl", s, t);
+        }
+
+    ]]>
+	</mx:Script>
+    <mx:TabNavigator id="tn" change="updateURL()" width="300" >
+        <mx:Panel label="Shipping">
+            <mx:CheckBox id="shipDetails" label="Show Details" change="updateURL()" />
+        </mx:Panel>
+        <mx:Panel label="Receiving">
+            <mx:CheckBox id="recvDetails" label="Show Details" change="updateURL()" />
+        </mx:Panel>
+    </mx:TabNavigator>
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.compile
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.compile?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.compile (added)
+++ incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.compile Tue Aug  7 13:13:15 2012
@@ -0,0 +1 @@
+ -theme=${flexlib}/themes/Halo/halo.swc

Added: incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/DeepLinking/swfs/URLUtilMain.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,28 @@
+<?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" xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" >
+
+	<mx:Script>
+	<![CDATA[
+		
+	]]>
+	</mx:Script>
+	
+</mx:Application>

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app1.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app1.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app1.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app1.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,130 @@
+<?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/resources/Preloader/Integration/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="PreloaderApp1.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.resources.ResourceManager;
+
+	]]></mx:Script>
+
+
+
+
+
+<!-- 
+
+    For more information, see PreloaderApp1.mxml.
+
+-->
+
+	
+
+	<testCases>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params1_resourceManagerLocaleChain" description="Confirm that the localeChain was correctly set by the time preinitialize occurred." keywords="[resources,Preloader,localeChain]">
+
+			<body>
+
+                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain" value="en_US" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params1_appParameterLocaleChain" description="Confirm that application.parameters.localeChain was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.localeChain]">
+
+			<body>
+
+                <AssertMethodValue method="value=application.appParamLocaleChain" value="null" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params1_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
+
+			<body>
+
+                <AssertMethodValue method="value=application.appParamURLs" value="null" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params1_accessResources" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+
+			<body>
+
+                <AssertPropertyValue target="lbl1" propertyName="text" value="View Source" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+	</testCases>
+
+</UnitTester>
+

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app2.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app2.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app2.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app2.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,128 @@
+<?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/resources/Preloader/Integration/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="PreloaderApp2.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.resources.ResourceManager;
+
+	]]></mx:Script>
+
+
+
+<!-- 
+
+    For more information, see PreloaderApp1.mxml.
+
+-->
+
+
+
+	<testCases>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params2_resourceManagerLocaleChain" description="Confirm that the localeChain was correctly set by the time preinitialize occurred." keywords="[resources,Preloader,localeChain]">
+
+			<body>
+
+                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain" value="fr_FR" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params2_appParameterLocaleChain" description="Confirm that application.parameters.localeChain was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.localeChain]">
+
+			<body>
+
+                <AssertMethodValue method="value=application.appParamLocaleChain" value="fr_FR" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params2_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
+
+			<body>
+
+                <AssertMethodValue method="value=application.appParamURLs" value="Assets/resources/framework/frFrameworkResources.swf" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params2_accessResources" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+
+			<body>
+
+                <AssertPropertyValue target="lbl1" propertyName="text" value="French View Source" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+	</testCases>
+
+</UnitTester>
+

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app3.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app3.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app3.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app3.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,128 @@
+<?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/resources/Preloader/Integration/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="PreloaderApp3.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.resources.ResourceManager;
+
+	]]></mx:Script>
+
+
+
+<!-- 
+
+    For more information, see PreloaderApp1.mxml.
+
+-->
+
+		
+
+	<testCases>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params3_resourceManagerLocaleChain" description="Confirm that the localeChain was correctly set by the time preinitialize occurred." keywords="[resources,Preloader,localeChain]">
+
+			<body>
+
+                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain" value="fr_FR,de_DE,ja_JP,en_US" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params3_appParameterLocaleChain" description="Confirm that application.parameters.localeChain was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.localeChain]">
+
+			<body>
+
+                <AssertMethodValue method="value=application.appParamLocaleChain" value="fr_FR,de_DE,ja_JP,en_US" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params3_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
+
+			<body>
+
+                <AssertMethodValue method="value=application.appParamURLs" value="Assets/resources/framework/frFrameworkResources.swf,Assets/resources/framework/deFrameworkResources.swf,Assets/resources/framework/jaFrameworkResources.swf" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+		<TestCase frequency="all" testID="Preloader_params3_accessResources" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+
+			<body>
+
+                <AssertPropertyValue target="lbl1" propertyName="text" value="French View Source" />
+
+				<Pause timeout="1"/>
+
+			</body>
+
+		</TestCase>
+
+
+
+	</testCases>
+
+</UnitTester>
+

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app4.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,81 @@
+<?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/resources/Preloader/Integration/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="PreloaderApp4.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.resources.ResourceManager;
+	]]></mx:Script>
+
+<!-- 
+    For more information, see PreloaderApp1.mxml.
+-->
+		
+	<testCases>
+
+		<TestCase frequency="all" testID="Preloader_params4_resourceManagerLocaleChain" description="Confirm that the localeChain was correctly set by the time preinitialize occurred." keywords="[resources,Preloader,localeChain]">
+			<body>
+                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain" value="en_US" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params4_appParameterLocaleChain" description="Confirm that application.parameters.localeChain was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.localeChain]">
+			<body>
+                <AssertMethodValue method="value=application.appParamLocaleChain" value="en_US" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params4_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
+			<body>
+                <AssertMethodValue method="value=application.appParamURLs" value="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" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params4_accessResources_bundle1" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+			<body>
+                <AssertPropertyValue target="lbl1" propertyName="text" value="Shut down" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params4_accessResources_bundle2" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+			<body>
+                <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle2','BUNDLETWOSTRING')" value="BundleTwoString, en_US" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/Integration/Preloader_Integration_app5.mxml Tue Aug  7 13:13:15 2012
@@ -0,0 +1,80 @@
+<?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/resources/Preloader/Integration/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="PreloaderApp5.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.resources.ResourceManager;
+	]]></mx:Script>
+
+<!-- 
+    For more information, see PreloaderApp1.mxml.
+-->
+		
+	<testCases>
+
+		<TestCase frequency="all" testID="Preloader_params5_resourceManagerLocaleChain" description="Confirm that the localeChain was correctly set by the time preinitialize occurred." keywords="[resources,Preloader,localeChain]">
+			<body>
+                <AssertMethodValue method="value=ResourceManager.getInstance().localeChain" value="fr_FR,en_US" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params5_appParameterLocaleChain" description="Confirm that application.parameters.localeChain was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.localeChain]">
+			<body>
+                <AssertMethodValue method="value=application.appParamLocaleChain" value="fr_FR,en_US" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params5_appParameterURLs" description="Confirm that application.parameters.resourceModuleURLs was available when preinitialize occurred." keywords="[resources,Preloader,application.parameters.resourceModuleURLs]">
+			<body>
+                <AssertMethodValue method="value=application.appParamURLs" value="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" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params5_accessResource_bundle1" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+			<body>
+                <AssertPropertyValue target="lbl1" propertyName="text" value="Arrêté" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+		<TestCase frequency="all" testID="Preloader_params5_accessResource_bundle2" description="Confirm that resources can really be accessed after specifying parameters in flashvars." keywords="[resources,Preloader,application.parameters.localeChain,application.parameters.resourceModuleURLs]">
+			<body>
+                <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle2','BUNDLETWOSTRING')" value="BundleTwoString, fr_FR" />
+				<Pause timeout="1"/>
+			</body>
+		</TestCase>
+
+	</testCases>
+</UnitTester>

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle1.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle1.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle1.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle1.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.
+##
+################################################################################
+# Strings
+SHUTDOWN=Shut down
\ No newline at end of file

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle2.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle2.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle2.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/en_US/bundle2.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.
+##
+################################################################################
+# Strings
+BUNDLETWOSTRING=BundleTwoString, en_US

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle1.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle1.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle1.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle1.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.
+##
+################################################################################
+# Strings
+SHUTDOWN=Arrêté

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle2.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle2.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle2.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/bundle2.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.
+##
+################################################################################
+# Strings
+BUNDLETWOSTRING=BundleTwoString, fr_FR

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/core.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/core.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/core.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/fr_FR/core.properties Tue Aug  7 13:13:15 2012
@@ -0,0 +1,45 @@
+################################################################################
+##
+##  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
+
+# UITextField
+
+truncationIndicator=f..
+
+# Developer RTE Section
+
+# Core
+
+multipleChildSets_ClassAndInstance=French Multiple sets of visual children have been specified for this component (component definition and component instance).
+multipleChildSets_ClassAndSubclass=French Multiple sets of visual children have been specified for this component (base component definition and derived component definition).
+
+# Repeater
+
+notExecuting=French Repeater is not executing.
+
+# UIComponent
+
+stateUndefined=French Undefined state '{0}'.
+
+viewSource=French View Source
+
+# Version (FlexVersion)
+
+versionAlreadySet=French Compatibility version has already been set.
+versionAlreadyRead=French Compatibility version has already been read.

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle1.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle1.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle1.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle1.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.
+##
+################################################################################
+# Strings
+SHUTDOWN=シャットダウンされています

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle2.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle2.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle2.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/bundle2.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.
+##
+################################################################################
+# Strings
+BUNDLETWOSTRING=BundleTwoString, ja_JP

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/core.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/core.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/core.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/custom/ja_JP/core.properties Tue Aug  7 13:13:15 2012
@@ -0,0 +1,41 @@
+################################################################################
+##
+##  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
+
+# UITextField
+
+truncationIndicator = !!!
+
+# Developer RTE Section
+
+# Core
+
+multipleChildSets_ClassAndInstance  =  このコンポーネント (コンポーネント定義とコンポーネントインスタンス) に対して、可視の子のセットが複数指定されています。
+multipleChildSets_ClassAndSubclass  =  このコンポーネント (基本の core.properties) に対して、可視の子のセットが複数指定されています。
+
+
+# Repeater
+
+notExecuting = Repeater は実行されていません。
+
+# UIComponent
+
+stateUndefined  = 未定義のステート '{0}'
+
+viewSource = ソースの表示

Added: incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/SharedResources.properties
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/SharedResources.properties?rev=1370238&view=auto
==============================================================================
--- incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/SharedResources.properties (added)
+++ incubator/flex/trunk/mustella/tests/browser/resources/Preloader/SWFs/Assets/resources/framework/de_DE/SharedResources.properties Tue Aug  7 13:13:15 2012
@@ -0,0 +1,38 @@
+################################################################################
+##
+##  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.
+##
+################################################################################
+# DayNames Long (DateBase, DateChooser, DateField, CalendarLayout)
+dayNames=Gunday,Gonday,Guesday,Gednesday,Ghursday,Griday,Gaturday
+
+# MonthNames Long (DateBase, DateChooser, DateField, CalendarLayout)
+# appended with monthSymbol
+monthNames=GJanuary,GFebruary,GMarch,GApril,GMay,GJune,GJuly,GAugust,GSeptember,GOctober,GNovember,GDecember
+
+# Common symbols (DateFormatter/DateValidator/DateField)
+dateFormat=MM/DD/YYYY
+monthSymbol=
+
+# Currency/Number Formatter/Slider
+decimalSeparatorFrom=,
+decimalSeparatorTo=,
+thousandsSeparatorFrom=.
+thousandsSeparatorTo=.
+
+# Currency Formatter/Validator
+alignSymbol=left
+currencySymbol=€



Mime
View raw message