]> source.dussan.org Git - aspectj.git/commitdiff
pipeline changes: activated PipeliningTests, some adviceDidNotMatch changes in the...
authoraclement <aclement>
Fri, 28 Jul 2006 10:21:49 +0000 (10:21 +0000)
committeraclement <aclement>
Fri, 28 Jul 2006 10:21:49 +0000 (10:21 +0000)
tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml
tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java
tests/src/org/aspectj/systemtest/ajc153/PipeliningTests.java

index 57efbdf93b951dddba992f39846c2b217475ccb0..c8f86b2f58ae6373530cd833917908e5224b786e 100644 (file)
     </ajc-test>
 
     <ajc-test dir="bugs150/pr108425" pr="108245" title="wildcard annotation matching - pr108245">
-        <compile files="package1/Bean.java,package2/Bean.java,package2/propertyChanger.java,package3/pr108425.aj" options="-1.5">
+        <compile files="package1/Bean.java,package2/Bean.java,package2/propertyChanger.java,package3/pr108425.aj" options="-1.5 -Xlint:ignore">
         </compile>
     </ajc-test>
            
index f56e49925d4dcda0d54b0bbfe752e1be2fd1cd7c..82fe498e0f521a84d8544e87810a128e2565bc32 100644 (file)
                 <line text="info using"/>
                        <line text="info register aspect Aspect3"/>
                        <line text="info weaving 'Main'"/>
-                       <line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/>
+                       <!-- will never come out for LTW, due to pipelining change pr146781 -->
+                       <!--line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/-->
                </stderr>
         </run>
     </ajc-test>
                 <line text="info using"/>
                        <line text="info register aspect Aspect3"/>
                        <line text="info weaving 'Main'"/>
-                       <line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/>
+                       <!-- will never come out for LTW, due to pipelining change pr146781 -->
+                       <!--line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/-->
                </stderr>
         </run>
     </ajc-test>
                 <line text="info using"/>
                        <line text="info register aspect Aspect3"/>
                        <line text="info weaving 'Main'"/>
-                       <line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/>
+                       <!-- will never come out for LTW, due to pipelining change pr146781 -->
+                       <!--line text="advice defined in Aspect3 has not been applied [Xlint:adviceDidNotMatch]"/-->
                </stderr>
         </run>
     </ajc-test>
index 8bc30d5d244ad713949c2748664efbf9906578db..ae1e9a7e98fa931eefb4f4f2710e7a326c60804d 100644 (file)
@@ -20,6 +20,7 @@ public class AllTestsAspectJ153 {
                //$JUnit-BEGIN$
                suite.addTest(Ajc153Tests.suite());
                suite.addTest(JDTLikeHandleProviderTests.suite());
+               suite.addTest(PipeliningTests.suite());
         //$JUnit-END$
                return suite;
        }
index 123db5c6b458c30c28a648a56ef8f38b278629e7..01e9430bcaeb6b72922dbdb487c2dbeb633589b9 100644 (file)
@@ -15,6 +15,7 @@ import java.io.File;
 import junit.framework.Test;
 
 //import org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter;
+import org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter;
 import org.aspectj.testing.XMLBasedAjcTestCase;
 
 /**
@@ -47,7 +48,7 @@ public class PipeliningTests extends org.aspectj.testing.XMLBasedAjcTestCase {
        public void testAspectExtendsClass() { runTest("aspect extends class"); }
        
        // verifying the type sorting
-       /*public void testRecognizingAnnotationStyleAspects1() { 
+       public void testRecognizingAnnotationStyleAspects1() { 
                AjPipeliningCompilerAdapter.pipelineTesting=true;
                runTest("recognizing annotation style aspects - 1");
                
@@ -68,7 +69,7 @@ public class PipeliningTests extends org.aspectj.testing.XMLBasedAjcTestCase {
                String weaveOrder = AjPipeliningCompilerAdapter.getPipelineDebugOutput("weaveOrder");
                String expectedOrder="[AtInnerAJAspect.java,ClassOne.java]";
                assertTrue("Expected weaving order to be "+expectedOrder+" but was "+weaveOrder,weaveOrder.equals(expectedOrder));
-       }*/
+       }
        
        // verifying the new code for transforming Eclipse Annotations into AspectJ ones
        public void testAnnotationTransformation() { runTest("annotation transformation"); }