]> source.dussan.org Git - aspectj.git/commitdiff
231396: with change to pass classname to UCFWTPMB, less parses
authoraclement <aclement>
Fri, 30 May 2008 17:18:41 +0000 (17:18 +0000)
committeraclement <aclement>
Fri, 30 May 2008 17:18:41 +0000 (17:18 +0000)
tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java

index 4393ba98d8fc0c77d86843e273365805725790a2..8e533427f5f3a5bc232a5859d8731f4be398d84f 100644 (file)
@@ -91,8 +91,8 @@ public class Ajc153Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
   public void testParsingBytecodeLess_pr152871() { 
          Utility.testingParseCounter=0;
          runTest("parsing bytecode less"); 
-         assertTrue("Should have called parse 5 times, not "+Utility.testingParseCounter+" times",Utility.testingParseCounter==5);
-         // 5 means:   
+         assertTrue("Should have called parse 2 times, not " + Utility.testingParseCounter + " times", Utility.testingParseCounter == 2);
+        // 5 means: // 3 of these are gone with change to UnwovenClassFileWTPMB to take a classname in ctor
          // (1)=registerAspect   
          // (2,3)=checkingIfShouldWeave,AcceptingResult for class
          // (4,5)=checkingIfShouldWeave,AcceptingResult for aspect