You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/11/04 01:25:14 UTC
[royale-compiler] branch develop updated: some tests change the
default bnding event (stored in a static) so force all tests to use
valueChange so the order of tests doesn't matter
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new 39bfa13 some tests change the default bnding event (stored in a static) so force all tests to use valueChange so the order of tests doesn't matter
39bfa13 is described below
commit 39bfa1301e35fc9c5f9116357f735cc06819b7c1
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun Nov 3 17:24:55 2019 -0800
some tests change the default bnding event (stored in a static) so force all tests to use valueChange so the order of tests doesn't matter
---
.../internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java | 2 +-
.../java/org/apache/royale/compiler/internal/test/RoyaleTestBase.java | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
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 317a13e..d9db2b8 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
@@ -676,7 +676,7 @@ public class TestRoyaleMXMLApplication extends RoyaleTestBase
"2,\n" +
"2,\n" +
"\"labelText\",\n" +
- "\"propertyChange\",\n" +
+ "\"valueChange\",\n" +
"0,\n" +
"null,\n" +
"null,\n" +
diff --git a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/RoyaleTestBase.java b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/RoyaleTestBase.java
index 09da2d1..cf25d58 100644
--- a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/RoyaleTestBase.java
+++ b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/test/RoyaleTestBase.java
@@ -24,6 +24,7 @@ import java.io.File;
import java.util.List;
import org.apache.royale.compiler.driver.IBackend;
+import org.apache.royale.compiler.internal.as.codegen.BindableHelper;
import org.apache.royale.compiler.internal.driver.mxml.royale.MXMLRoyaleBackend;
import org.apache.royale.compiler.internal.projects.RoyaleJSProject;
import org.apache.royale.compiler.tree.as.IASNode;
@@ -44,6 +45,7 @@ public class RoyaleTestBase extends TestBase
public void setUp()
{
backend = createBackend();
+ BindableHelper.PROPERTY_CHANGE = "valueChange";
project = new RoyaleJSProject(workspace, backend);
super.setUp();