summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2006-05-18 13:02:05 +0000
committeraclement <aclement>2006-05-18 13:02:05 +0000
commit03616d76d75ffcf5a877041fb56bb375f16f3fbe (patch)
tree2b04a494a385586d810e4c0922ffd47a6e1d751f
parent4eb6fbcc59a32e26704f4c3e82224cd323cdc0a9 (diff)
downloadaspectj-03616d76d75ffcf5a877041fb56bb375f16f3fbe.tar.gz
aspectj-03616d76d75ffcf5a877041fb56bb375f16f3fbe.zip
testcode for 129408 - cant be switched on yet
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java5
-rw-r--r--tests/src/org/aspectj/systemtest/ajc152/ajc152.xml9
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
index d433fe755..9140b5418 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
@@ -65,6 +65,11 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testJarChecking_pr137235_1() { runTest("directory with .jar extension: source and outjar"); }
public void testJarChecking_pr137235_2() { runTest("directory with .jar extension"); }
public void testMakePreMethodNPE_pr136393() { runTest("NPE in makePreMethod");}
+
+ // tests that can't be included for some reason
+
+ // Not valid whilst the ajc compiler forces debug on (ignores -g:none) - it will be green but is invalid, trust me
+ // public void testLongWindedMessages_pr129408() { runTest("long winded ataj messages");}
/////////////////////////////////////////
public static Test suite() {
return XMLBasedAjcTestCase.loadSuite(Ajc152Tests.class);
diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
index 902014b3f..fea570ff0 100644
--- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
+++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml
@@ -404,4 +404,13 @@
<run class="Derived"/>
</ajc-test>
+ <!-- wont work whilst the compiler BuildArgParser.setDebugOptions is always switching debug on -->
+ <ajc-test dir="bugs152/pr129408" title="long winded ataj messages">
+ <compile files="AtAj.java" options="-XterminateAfterCompilation -g:none -1.5"/>
+ <compile files="C.java" options="-g:none -1.5"/>
+ <run class="C" ltw="aop.xml">
+ <!-- should check for expected stderr output here -->
+ </run>
+ </ajc-test>
+
</suite> \ No newline at end of file