From: aclement Date: Fri, 28 Jul 2006 10:21:49 +0000 (+0000) Subject: pipeline changes: activated PipeliningTests, some adviceDidNotMatch changes in the... X-Git-Tag: pre_pr_153572~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a46a226073be6e9a2a7903d9968e7a3b2de4abfe;p=aspectj.git pipeline changes: activated PipeliningTests, some adviceDidNotMatch changes in the test xml --- diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 57efbdf93..c8f86b2f5 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -895,7 +895,7 @@ - + diff --git a/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml b/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml index f56e49925..82fe498e0 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ltw/ltw-tests.xml @@ -288,7 +288,8 @@ - + + @@ -311,7 +312,8 @@ - + + @@ -334,7 +336,8 @@ - + + diff --git a/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java b/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java index 8bc30d5d2..ae1e9a7e9 100644 --- a/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java +++ b/tests/src/org/aspectj/systemtest/ajc153/AllTestsAspectJ153.java @@ -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; } diff --git a/tests/src/org/aspectj/systemtest/ajc153/PipeliningTests.java b/tests/src/org/aspectj/systemtest/ajc153/PipeliningTests.java index 123db5c6b..01e9430bc 100644 --- a/tests/src/org/aspectj/systemtest/ajc153/PipeliningTests.java +++ b/tests/src/org/aspectj/systemtest/ajc153/PipeliningTests.java @@ -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"); }