]> source.dussan.org Git - aspectj.git/commitdiff
Removed test that verified restriction on binding annotations
authoraclement <aclement>
Mon, 31 Jan 2005 13:20:12 +0000 (13:20 +0000)
committeraclement <aclement>
Mon, 31 Jan 2005 13:20:12 +0000 (13:20 +0000)
tests/src/org/aspectj/systemtest/ajc150/AnnotationRuntimeTests.java

index b59f214235940e6bac9f5f5d9d47bb7bef596745..f427e0e9e6908481e389c9eebd734d0b764c1b3b 100644 (file)
@@ -26,11 +26,13 @@ public class AnnotationRuntimeTests extends TestUtils {
        baseDir = new File("../tests/java5/annotations/thisOrtarget");
     }
     
-    public void test001_NoBinding() {
-        CompilationResult cR = binaryWeave("TestingAnnotations.jar","BindingLimitation.aj",1,0);
-        List errors = cR.getErrorMessages();
-        assertTrue("Binding not supported",errors.get(0).toString().startsWith("error Binding not supported"));
-    }
+//    No longer a limitation ASC 31Jan05
+//    public void test001_BindingWithAtTargetAllowed() {
+//        CompilationResult cR = binaryWeave("TestingAnnotations.jar","BindingWithAtTarget.aj",0,0);
+//        List errors = cR.getErrorMessages();
+//        RunResult rR = run("TestingAnnotations");
+//        System.err.println(rR.getStdErr());
+//    }
     
     public void test002_MustHaveRuntimeRetention() {
         CompilationResult cR = binaryWeave("TestingAnnotations.jar","NotRuntimeRetention.aj",2,0);