]> source.dussan.org Git - aspectj.git/commitdiff
doh! uses api that isnt there yet...
authoraclement <aclement>
Wed, 26 Jul 2006 20:18:45 +0000 (20:18 +0000)
committeraclement <aclement>
Wed, 26 Jul 2006 20:18:45 +0000 (20:18 +0000)
tests/src/org/aspectj/systemtest/ajc153/PipeliningTests.java

index 5da2dc836b259d3fc8f23f2894ff8e4d9d25c958..f74a66c121936725dc8e17ba44cb5c95b2c14244 100644 (file)
@@ -14,7 +14,7 @@ import java.io.File;
 
 import junit.framework.Test;
 
-import org.aspectj.ajdt.internal.compiler.AjCompilerAdapter;
+import org.aspectj.ajdt.internal.compiler.AjPipeliningCompilerAdapter;
 import org.aspectj.testing.XMLBasedAjcTestCase;
 
 /**
@@ -47,28 +47,28 @@ public class PipeliningTests extends org.aspectj.testing.XMLBasedAjcTestCase {
        public void testAspectExtendsClass() { runTest("aspect extends class"); }
        
        // verifying the type sorting
-       public void testRecognizingAnnotationStyleAspects1() { 
-               AjCompilerAdapter.pipelineTesting=true;
+       /*public void testRecognizingAnnotationStyleAspects1() { 
+               AjPipeliningCompilerAdapter.pipelineTesting=true;
                runTest("recognizing annotation style aspects - 1");
                
-               String filesContainingAspects = AjCompilerAdapter.getPipelineDebugOutput("filesContainingAspects");
+               String filesContainingAspects = AjPipeliningCompilerAdapter.getPipelineDebugOutput("filesContainingAspects");
                assertTrue("Should be one file containing aspects but it thinks there are "+filesContainingAspects,filesContainingAspects.equals("1"));
                                
-               String weaveOrder = AjCompilerAdapter.getPipelineDebugOutput("weaveOrder");
+               String weaveOrder = AjPipeliningCompilerAdapter.getPipelineDebugOutput("weaveOrder");
                String expectedOrder="[AtAJAspect.java,ClassOne.java]";
                assertTrue("Expected weaving order to be "+expectedOrder+" but was "+weaveOrder,weaveOrder.equals(expectedOrder));
-       }
+       } 
        public void testRecognizingAnnotationStyleAspects2() { 
-               AjCompilerAdapter.pipelineTesting=true;
+               AjPipeliningCompilerAdapter.pipelineTesting=true;
                runTest("recognizing annotation style aspects - 2");
 
-               String filesContainingAspects = AjCompilerAdapter.getPipelineDebugOutput("filesContainingAspects");
+               String filesContainingAspects = AjPipeliningCompilerAdapter.getPipelineDebugOutput("filesContainingAspects");
                assertTrue("Should be one file containing aspects but it thinks there are "+filesContainingAspects,filesContainingAspects.equals("1"));
                                
-               String weaveOrder = AjCompilerAdapter.getPipelineDebugOutput("weaveOrder");
+               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"); }
@@ -76,7 +76,7 @@ public class PipeliningTests extends org.aspectj.testing.XMLBasedAjcTestCase {
   // --
   protected void tearDown() throws Exception {
                super.tearDown();
-               AjCompilerAdapter.pipelineTesting=false;
+               //AjPipeliningCompilerAdapter.pipelineTesting=false;
   }
   public static Test suite() {
     return XMLBasedAjcTestCase.loadSuite(PipeliningTests.class);