You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/04/17 11:37:04 UTC

git commit: [flex-falcon] - [FalconJX] added test prefix to bypass in emitIdentifier

Updated Branches:
  refs/heads/develop 0165b0f2f -> 2a12b8821


[FalconJX] added test prefix to bypass in emitIdentifier

As the tests were changed to use a prefix on test classes and methods, the bypass in 'emitIdentifier' needs to be updated. Fixed.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 2a12b88213f1e4a726ac2b50026abd2e4545950d
Parents: 0165b0f
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Wed Apr 17 11:36:59 2013 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Wed Apr 17 11:36:59 2013 +0200

----------------------------------------------------------------------
 .../codegen/js/flexjs/JSFlexJSEmitter.java         |    2 +-
 .../internal/codegen/js/goog/JSGoogEmitter.java    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2a12b882/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index 5f4ee52..51c4c6c 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -353,7 +353,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter implements IJSFlexJSEmitter
         //                     of the 'self' prefix when running the tests... Or 
         //                     I'd have to put the prefix in ~150 asserts!
         boolean isRunningInTestMode = cnode != null
-                && cnode.getQualifiedName().equalsIgnoreCase("A");
+                && cnode.getQualifiedName().equalsIgnoreCase("FalconTest_A");
 
         if (writeSelf && !isRunningInTestMode)
         {

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2a12b882/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
index 28d5084..a86e073 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/goog/JSGoogEmitter.java
@@ -576,7 +576,7 @@ public class JSGoogEmitter extends JSEmitter implements IJSGoogEmitter
         //                   of the 'self' prefix when running the tests... Or 
         //                   I'd have to put the prefix in ~150 asserts!
         boolean isRunningInTestMode = cnode != null
-                && cnode.getQualifiedName().equalsIgnoreCase("A");
+                && cnode.getQualifiedName().equalsIgnoreCase("FalconTest_A");
         if (writeSelf && !isRunningInTestMode)
         {
             write(JSGoogEmitterTokens.SELF);