]> source.dussan.org Git - aspectj.git/commitdiff
testcode for 129408 - cant be switched on yet
authoraclement <aclement>
Thu, 18 May 2006 13:02:05 +0000 (13:02 +0000)
committeraclement <aclement>
Thu, 18 May 2006 13:02:05 +0000 (13:02 +0000)
tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java
tests/src/org/aspectj/systemtest/ajc152/ajc152.xml

index d433fe755e2a56336eb6a648771c31b09e282838..9140b541849c5d7487229f61a6fdab33d721d69a 100644 (file)
@@ -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);
index 902014b3fa5f4cf248ed61d9aa16a2f2203bdfd1..fea570ff0e05175dcd62b5e2e8b1f93526c92fc8 100644 (file)
       <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