diff options
author | aclement <aclement> | 2005-01-27 17:26:48 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-01-27 17:26:48 +0000 |
commit | 4adf568fdfcc82ea7257cf24f88aefa109deba52 (patch) | |
tree | e8aaa736704803c3cd19975aa97044048f27a74a /tests/src | |
parent | fa3cbd5115a5ba8f18609b863f0d875a640d412f (diff) | |
download | aspectj-4adf568fdfcc82ea7257cf24f88aefa109deba52.tar.gz aspectj-4adf568fdfcc82ea7257cf24f88aefa109deba52.zip |
Fix for Bug 83645: pertypewithin({interface}) illegal field modifier
- moving Wes' test to the regression set.
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/Ajc150TestsNoHarness.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150TestsNoHarness.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150TestsNoHarness.java index 3a446127b..b3835b786 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150TestsNoHarness.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150TestsNoHarness.java @@ -78,13 +78,19 @@ public class Ajc150TestsNoHarness extends TestUtils { public void testPerTypeWithinMissesNamedInnerTypes() { CompilationResult cR = ajc(baseDir,new String[]{"PR83563_1.java"}); - assertTrue("Should be no errors:"+cR,!cR.hasErrorMessages()); + assertMessages(cR,new EmptyMessageSpec()); RunResult rR = run("PR83563_1"); } public void testPerTypeWithinMissesAnonymousInnerTypes() { CompilationResult cR = ajc(baseDir,new String[]{"PR83563_2.java"}); - assertTrue("Should be no errors:"+cR,!cR.hasErrorMessages()); + assertMessages(cR,new EmptyMessageSpec()); RunResult rR = run("PR83563_2"); } + + public void testPerTypeWithinIncorrectlyMatchingInterfaces() { + CompilationResult cR = ajc(baseDir,new String[]{"PR83645.java"}); + assertMessages(cR,new EmptyMessageSpec()); + RunResult rR = run("PR83645"); + } }
\ No newline at end of file |