This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new b6d68f9  fixed ExternsJS test
b6d68f9 is described below

commit b6d68f9196179b74fc86dc9c2e45cb9c43aebf55
Author: Harbs <[email protected]>
AuthorDate: Tue Dec 21 09:23:02 2021 +0200

    fixed ExternsJS test
---
 frameworks/build.xml                               |  3 ++-
 .../src/main/config/compile-swf-config.xml         |  4 ----
 .../src/main/resources/externsjs-as-manifest.xml   | 25 ----------------------
 .../royale/FlexUnitRoyaleApplication-config.xml    |  6 ++++--
 .../{StringUtilsTest.as => ComponentTest.as}       |  4 ++--
 .../test/royale/flexUnitTests/ExternsJSTester.as   |  1 -
 6 files changed, 8 insertions(+), 35 deletions(-)

diff --git a/frameworks/build.xml b/frameworks/build.xml
index 2d627f2..2085882 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -198,7 +198,8 @@
         <antcall target="CruxTest"/>
         <antcall target="JewelTest"/>
         <antcall target="IconsTest"/>
-        <antcall target="ExternsJSTest"/>
+        <!-- No tests yet -->
+        <!-- <antcall target="ExternsJSTest"/> -->
     </target>
 
     <target name="fonts">
diff --git 
a/frameworks/projects/ExternsJS/src/main/config/compile-swf-config.xml 
b/frameworks/projects/ExternsJS/src/main/config/compile-swf-config.xml
index 8981130..390974b 100644
--- a/frameworks/projects/ExternsJS/src/main/config/compile-swf-config.xml
+++ b/frameworks/projects/ExternsJS/src/main/config/compile-swf-config.xml
@@ -78,10 +78,6 @@
                 <uri>library://ns.apache.org/royale/externsjs</uri>
                 <manifest>../resources/externsjs-manifest.xml</manifest>
             </namespace>
-            <namespace>
-                <uri>library://ns.apache.org/royale/externsjs</uri>
-                <manifest>../resources/externsjs-as-manifest.xml</manifest>
-            </namespace>
         </namespaces>
         
         <source-path>
diff --git 
a/frameworks/projects/ExternsJS/src/main/resources/externsjs-as-manifest.xml 
b/frameworks/projects/ExternsJS/src/main/resources/externsjs-as-manifest.xml
deleted file mode 100644
index 2141c30..0000000
--- a/frameworks/projects/ExternsJS/src/main/resources/externsjs-as-manifest.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
-  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.
-
--->
-
-
-<componentPackage>
-
-   
-</componentPackage>
diff --git 
a/frameworks/projects/ExternsJS/src/test/royale/FlexUnitRoyaleApplication-config.xml
 
b/frameworks/projects/ExternsJS/src/test/royale/FlexUnitRoyaleApplication-config.xml
index 075ee3f..de7acad 100644
--- 
a/frameworks/projects/ExternsJS/src/test/royale/FlexUnitRoyaleApplication-config.xml
+++ 
b/frameworks/projects/ExternsJS/src/test/royale/FlexUnitRoyaleApplication-config.xml
@@ -42,6 +42,7 @@
             <path-element>../../../../../libs/Graphics.swc</path-element>
             <path-element>../../../../../libs/Collections.swc</path-element>
             <path-element>../../../../../libs/Language.swc</path-element>
+            <path-element>../../../../../libs/Reflection.swc</path-element>
             <path-element>../../../../../libs/ExternsJS.swc</path-element>
             <path-element>../../../../../libs/RoyaleUnit.swc</path-element>
         </library-path>
@@ -53,6 +54,7 @@
             <path-element>../../../../../js/libs/GraphicsJS.swc</path-element>
             
<path-element>../../../../../js/libs/CollectionsJS.swc</path-element>
             <path-element>../../../../../js/libs/LanguageJS.swc</path-element>
+            
<path-element>../../../../../js/libs/ReflectionJS.swc</path-element>
             <path-element>../../../../../js/libs/ExternsJSJS.swc</path-element>
             
<path-element>../../../../../js/libs/RoyaleUnitJS.swc</path-element>
         </js-library-path>
@@ -95,10 +97,10 @@
                 <uri>http://ns.adobe.com/mxml/2009</uri>
                 <manifest>../../../../../mxml-2009-manifest.xml</manifest>
             </namespace>
-            <namespace>
+            <!-- <namespace>
                 <uri>library://ns.apache.org/royale/basic</uri>
                 <manifest>../../main/resources/basic-manifest.xml</manifest>
-            </namespace>
+            </namespace> -->
         </namespaces>
         
         <warn-no-constructor>false</warn-no-constructor>
diff --git 
a/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/StringUtilsTest.as
 b/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ComponentTest.as
similarity index 92%
rename from 
frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/StringUtilsTest.as
rename to 
frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ComponentTest.as
index 1a24a8f..648810b 100644
--- 
a/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/StringUtilsTest.as
+++ 
b/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ComponentTest.as
@@ -48,8 +48,8 @@ package flexUnitTests
         [Test]
         public function testSomething():void
         {
-            assertTrue("something" == "somthing","Should be something");
-            assertEquals("something","somthing","Should be something");
+            assertTrue("something" == "something","Should be true");
+            assertEquals("something","something","Should be something");
         }
 
 
diff --git 
a/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ExternsJSTester.as
 
b/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ExternsJSTester.as
index 8ab258e..a14a219 100644
--- 
a/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ExternsJSTester.as
+++ 
b/frameworks/projects/ExternsJS/src/test/royale/flexUnitTests/ExternsJSTester.as
@@ -18,7 +18,6 @@
 
////////////////////////////////////////////////////////////////////////////////
 package flexUnitTests
 {
-    import flexUnitTests.language.*
     
     [Suite]
     [RunWith("org.apache.royale.test.runners.SuiteRunner")]

Reply via email to