aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-05-19 13:39:20 +0000
committeravasseur <avasseur>2005-05-19 13:39:20 +0000
commit49c3978146a3e1d303a5d7f520c906acbfebe9bd (patch)
tree184a715348f37a002d348429e4488ea5213fe3e0 /tests/src
parent92dfe7b7e91b78da65a3ad69f36a285ed47efd4e (diff)
downloadaspectj-49c3978146a3e1d303a5d7f520c906acbfebe9bd.tar.gz
aspectj-49c3978146a3e1d303a5d7f520c906acbfebe9bd.zip
deow @AJ + @AfterXX annotation warnings + test + JDWP sample for LTW tests + some AJ5 doc fix
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java3
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ataspectj/misuse.xml8
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java b/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
index 691a77a19..6069f845a 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/AllTestsAspectJ150.java
@@ -48,8 +48,7 @@ public class AllTestsAspectJ150 {
suite.addTest(GenericsTests.suite());
suite.addTest(AtAjSyntaxTests.suite());
suite.addTest(AtAjMisuseTests.suite());
- //FIXME AV - #75442
- //suite.addTest(AtAjLTWTests.suite());
+ suite.addTest(AtAjLTWTests.suite());
//$JUnit-END$
return suite;
}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/misuse.xml b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/misuse.xml
index 5427a4a2c..3b0731189 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/misuse.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/misuse.xml
@@ -38,8 +38,14 @@
<comment>line is enclosing class - TBD</comment>
<ajc-test dir="java5/ataspectj"
pr="" title="@Pointcut with garbage string">
- <compile files="ataspectj/misuse/Test014.java" options="-1.5 -Xdev:NoAtAspectJProcessing">
+ <compile files="ataspectj/misuse/Test014.java" options="-1.5 -Xdev:NoAtAspectJProcessing -Xlint:ignore">
<message kind="error" line="7" text="Cannot parse @Pointcut 'call%dddd"/>
+ <message kind="error" text="can't find referenced pointcut"/>
+ <message kind="error" text="can't find pointcut"/>
+ <message kind="error" text="@AfterThrowing: either 'value' or 'poincut' must be provided, not both"/>
+ <message kind="error" text="@AfterReturning: either 'value' or 'poincut' must be provided, not both"/>
+ <message kind="error" text="@DeclareWarning used on a non String constant field"/>
+ <message kind="error" text="@DeclareError used on a non String constant field"/>
</compile>
</ajc-test>