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

[7/8] git commit: [flex-sdk] [refs/heads/develop] - remove Mustella tests that had no chance of running (required a Flex 2.0 SWC or used incorrect compiler params

remove Mustella tests that had no chance of running (required a Flex 2.0 SWC or used incorrect compiler params


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ee75c353
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ee75c353
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ee75c353

Branch: refs/heads/develop
Commit: ee75c3530f6505bfd990475047360ae0775510ce
Parents: 6b77769
Author: Alex Harui <ah...@apache.org>
Authored: Tue Nov 5 12:11:29 2013 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Nov 5 12:57:11 2013 -0800

----------------------------------------------------------------------
 .../Integration/RTL_Integration_Flex20SWC.mxml  | 50 ------------
 .../RTL_SparkSkin/SWFs/RTL_Flex20SWCTest.mxml   | 24 ------
 .../Compiler/Compc_Params_Spaces.mxml           | 85 --------------------
 .../SWFs/Compc_Params_Spaces_App.compile        |  2 -
 .../SWFs/Compc_Params_Spaces_App.mxml           | 28 -------
 5 files changed, 189 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ee75c353/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_Flex20SWC.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_Flex20SWC.mxml b/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_Flex20SWC.mxml
deleted file mode 100644
index 9005313..0000000
--- a/mustella/tests/RuntimeLocalization/RTL_SparkSkin/Integration/RTL_Integration_Flex20SWC.mxml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?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="RuntimeLocalization/RTL_SparkSkin/Integration/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="RTL_Flex20SWCTest.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> 
-         
-<!-- 
-======================================================== 
-The associated swf launches in the en_US locale. 
-======================================================== 
---> 
-     
-        <TestCase frequency="all" testID="RTL_Flex20SWC_VerifyLabel" description="Be sure that a label can be populated with a value that comes from a SWC compiled with Flex 2.0." keywords="[Runtime Localization,Flex20,SWC,backwards compatibility]" > 
-            <body> 
-                <AssertPropertyValue target="lbl1" propertyName="text" value="BundleTwoString, en_US" /> 
-            </body> 
-        </TestCase> 
-
-   </testCases> 
-</UnitTester> 

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ee75c353/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_Flex20SWCTest.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_Flex20SWCTest.mxml b/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_Flex20SWCTest.mxml
deleted file mode 100644
index 859fb7c..0000000
--- a/mustella/tests/RuntimeLocalization/RTL_SparkSkin/SWFs/RTL_Flex20SWCTest.mxml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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 backgroundColor="0xFFFFFF" height="375" width="500" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark" >
-
-    <mx:Label id="lbl1" width="100%" text="@Resource(bundle='bundle2', key='BUNDLETWOSTRING')" />
-
-</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ee75c353/mustella/tests/resources/Integration/Compiler/Compc_Params_Spaces.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/resources/Integration/Compiler/Compc_Params_Spaces.mxml b/mustella/tests/resources/Integration/Compiler/Compc_Params_Spaces.mxml
deleted file mode 100644
index 59e7067..0000000
--- a/mustella/tests/resources/Integration/Compiler/Compc_Params_Spaces.mxml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?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="resources/Integration/Compiler/"  xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" testSWF="Compc_Params_Spaces_App.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.*;
-    ]]></mx:Script>
-
-<!-- 
-    Confirm that locales were included in the SWC which was used to compmile this.
-    The SWC locales and bundles were specified on the command line as -locale x y z.
--->    
-
-<testCases>
-
-<TestCase frequency="all" testID="Compc_Params_Locale_IncludeResourceBundles_Spaces_VerifyLocales" description="Confirm that -locale can be given a comma-delimited list of locales.  Confirm that the locales are present." keywords="[Localization,Compiler,locale]" >
-    <body>
-        <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().length" value="3" />
-        <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('en_US') != -1" value="true" />
-        <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('ja_JP') != -1" value="true" />
-        <AssertMethodValue method="value=ResourceManager.getInstance().getLocales().indexOf('fr_FR') != -1" value="true" />
-        <Pause timeout="1" />
-    </body>
-</TestCase>
-
-<TestCase frequency="all" testID="Compc_Params_Locale_IncludeResourceBundles_Space_enUSResource" description="Confirm that -locale can be given a comma-delimited list of locales.  Check en_US." keywords="[Localization,Compiler,include-resource-bundles]" >
-    <setup>
-        <RunCode code="ResourceManager.getInstance().localeChain=['en_US']" />
-    </setup>
-    <body>
-        <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle1', 'GREETING')" value="Bundle 1 in en_US says howdy!" />
-        <Pause timeout="1" />
-    </body>
-</TestCase>
-
-<TestCase frequency="all" testID="Compc_Params_Locale_IncludeResourceBundles_Space_jaJPResource" description="Confirm that -locale can be given a comma-delimited list of locales.  Check ja_JP." keywords="[Localization,Compiler,include-resource-bundles]" >
-    <setup>
-        <RunCode code="ResourceManager.getInstance().localeChain=['ja_JP']" />
-    </setup>
-    <body>
-        <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle1', 'GREETING')" value="Bundle 1 in ja_JP says Japanese Hello!" />
-        <Pause timeout="1" />
-    </body>
-</TestCase>
-
-<TestCase frequency="all" testID="Compc_Params_Locale_IncludeResourceBundles_Space_frFRResource" description="Confirm that -locale can be given a comma-delimited list of locales.  Check fr_FR." keywords="[Localization,Compiler,include-resource-bundles]" >
-    <setup>
-        <RunCode code="ResourceManager.getInstance().localeChain=['fr_FR']" />
-    </setup>
-    <body>
-        <AssertMethodValue method="value=ResourceManager.getInstance().getString('bundle1', 'GREETING')" value="Bundle 1 in fr_FR says bonjour!" />
-        <Pause timeout="1" />
-    </body>
-</TestCase>
-
-</testCases>
-
-</UnitTester>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ee75c353/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.compile
----------------------------------------------------------------------
diff --git a/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.compile b/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.compile
deleted file mode 100644
index 5747676..0000000
--- a/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.compile
+++ /dev/null
@@ -1,2 +0,0 @@
--locale en_US fr_FR ja_JP
--library-path=${mustella.dir},${mustella.dir}/classes,${sdk.dir}/frameworks/locale/en_US,${sdk.dir}/frameworks/libs,${sdk.dir}/frameworks/libs/mx,Assets/enUS_frFR_jaJP_bundles123_spaces.swc
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ee75c353/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.mxml b/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.mxml
deleted file mode 100644
index a05b5fa..0000000
--- a/mustella/tests/resources/Integration/SWFs/Compc_Params_Spaces_App.mxml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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"  height="375" width="500" xmlns:mx="http://www.adobe.com/2006/mxml" >
-
-<mx:Script><![CDATA[
-
-]]></mx:Script>
-
-<mx:Label id="lbl1" text="@Resource(bundle='bundle1', key='GREETING')" />
-
-</mx:Application>
\ No newline at end of file