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

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

commit 4afc6da5ddf41c472e0ff49fc3b27da2023861f8
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed Mar 5 14:53:49 2025 -0800

    tests: now that LANGUAGE_QNAME is going through formatQualifiedName(), the 
goog.require() calls for it that were missing from tests are finally showing up
---
 .../internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
 
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
index 91e2fc6a0..dcccaedda 100644
--- 
a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
+++ 
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
@@ -3872,6 +3872,7 @@ public class TestRoyaleMXMLApplication extends 
RoyaleTestBase
                        "goog.require('org.apache.royale.events.Event');\n" +
                        
"goog.require('org.apache.royale.html.DropDownList');\n" +
                        
"goog.require('org.apache.royale.core.ClassFactory');\n" +
+                       "goog.require('org.apache.royale.utils.Language');\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -4030,7 +4031,7 @@ public class TestRoyaleMXMLApplication extends 
RoyaleTestBase
                        "\n" +
                        "goog.require('org.apache.royale.core.Application');\n" 
+
                        
"goog.require('org.apache.royale.charts.beads.DataTipBead');\n" +
-//                     "goog.require('org.apache.royale.utils.Language');\n" + 
// in real compiles this will be output, but not in tests
+                       "goog.require('org.apache.royale.utils.Language');\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -4152,7 +4153,7 @@ public class TestRoyaleMXMLApplication extends 
RoyaleTestBase
                        "\n" +
                        "goog.require('org.apache.royale.core.Application');\n" 
+
                        
"goog.require('org.apache.royale.charts.beads.DataTipBead');\n" +
-//                     "goog.require('org.apache.royale.utils.Language');\n" + 
// in real compiles this will be output, but not in tests
+                       "goog.require('org.apache.royale.utils.Language');\n" +
                        "\n" +
                        "\n" +
                        "\n" +
@@ -4396,7 +4397,7 @@ public class TestRoyaleMXMLApplication extends 
RoyaleTestBase
                        "\n" +
                        "goog.require('org.apache.royale.core.Application');\n" 
+
                        
"goog.require('org.apache.royale.charts.beads.DataTipBead');\n" +
-//                     "goog.require('org.apache.royale.utils.Language');\n" + 
// in real compiles this will be output, but not in tests
+                       "goog.require('org.apache.royale.utils.Language');\n" +
                        "\n" +
                        "\n" +
                        "\n" +

Reply via email to