summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2010-05-31 17:48:23 +0000
committeraclement <aclement>2010-05-31 17:48:23 +0000
commit873ae927114ab5a7f694e56a66c2ddbbc340ac0c (patch)
tree15bce354061e694297f58dcd4a852343236f0bb6
parente288ce7cea063de3570c7f1a68dcaaaf8a17f9f2 (diff)
downloadaspectj-873ae927114ab5a7f694e56a66c2ddbbc340ac0c.tar.gz
aspectj-873ae927114ab5a7f694e56a66c2ddbbc340ac0c.zip
314695
-rw-r--r--tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java6
-rw-r--r--tests/src/org/aspectj/systemtest/ajc169/ajc169.xml6
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java
index 40d2ea8b7..ee73f0fee 100644
--- a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java
@@ -18,6 +18,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testAnnoType_pr314965() {
+ runTest("anno typo");
+ }
+
public void testValidateBranchRecursion_314840() {
runTest("validate branch recursion");
}
@@ -25,7 +29,7 @@ public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testClashingDeclareAnnos_313026_1() {
runTest("clashing declare annos");
}
-
+
public void testClassFileSize_312839_1() {
runTest("class file size - 1");
// 2531 (0x404): 1.6.9.M2 size of Class.class
diff --git a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml
index 9ca3dd89c..bf21ff9da 100644
--- a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml
+++ b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml
@@ -2,6 +2,12 @@
<suite>
+ <ajc-test dir="bugs169/pr314965" title="anno typo">
+ <compile files="MinimalExample.java" options="-1.5">
+ <message kind="warning" text="no match for this type name: AnnotationWithParamAndTypo [Xlint:invalidAbsoluteTypeName]"/>
+ </compile>
+ </ajc-test>
+
<ajc-test dir="bugs169/pr314840" title="validate branch recursion">
<compile files="Arguments.aj Test1.java Test2.java Test.java" options="-1.5"/>
</ajc-test>