aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj
diff options
context:
space:
mode:
authoraclement <aclement>2006-02-15 11:10:46 +0000
committeraclement <aclement>2006-02-15 11:10:46 +0000
commit9e06d0efc2697c328f95d468631ec009443f8e43 (patch)
tree9ec21fe30b6d3b7cf207e6128ed39217a8231741 /tests/src/org/aspectj
parent81228854e0cd74f3a771aafbffb06b264fdac59f (diff)
downloadaspectj-9e06d0efc2697c328f95d468631ec009443f8e43.tar.gz
aspectj-9e06d0efc2697c328f95d468631ec009443f8e43.zip
test and fix for 120527 and test (commented out) for 127299
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/ajc151.xml8
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
index 4407a8106..b15102fa2 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
@@ -37,6 +37,8 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
public void testIncorrectlyReferencingPointcuts_pr122452_2() { runTest("incorrectly referencing pointcuts - 2");}
public void testInlinevisitorNPE_pr123901() { runTest("inlinevisitor NPE");}
//public void testExposingWithintype_enh123423() { runTest("exposing withintype");}
+ //public void testMissingImport_pr127299() { runTest("missing import gives funny message");}
+ public void testUnusedInterfaceMessage_pr120527() { runTest("incorrect unused interface message");}
public void testMixingNumbersOfTypeParameters_pr125080() {
runTest("mixing numbers of type parameters");
diff --git a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
index 10102fc77..140d66e22 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
+++ b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
@@ -7,6 +7,14 @@
<compile files="pr122458.aj" options="-1.5 -emacssym"/>
</ajc-test>
+ <ajc-test dir="bugs151/pr127299" title="missing import gives funny message">
+ <compile files="ModelErrorConversion.aj" options="-1.5"/>
+ </ajc-test>
+
+ <ajc-test dir="bugs151/pr120527" title="incorrect unused interface message">
+ <compile files="Bugs.aj" options="-warn:unusedPrivate"/>
+ </ajc-test>
+
<ajc-test dir="bugs151/pr123901" title="inlinevisitor NPE">
<compile files="A.java,B.java" options="-1.5">
<message kind="error" line="5" text="a.A cannot be resolved or is not a field"/>