aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/AnnotationRuntimeTests.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/AnnotationRuntimeTests.java b/tests/src/org/aspectj/systemtest/ajc150/AnnotationRuntimeTests.java
index b59f21423..f427e0e9e 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/AnnotationRuntimeTests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/AnnotationRuntimeTests.java
@@ -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);