diff options
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java | 1 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc160/ajc160.xml | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java index 29fd87422..3b4837c81 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc160/Ajc160Tests.java @@ -21,6 +21,7 @@ import junit.framework.Test; public class Ajc160Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // AspectH1.6.0rc1 + //public void testITDWithArray_pr201748() { runTest("itd with array");} public void testBadMessage() { runTest("incorrect itd error with generics");} public void testBadMessage2() { runTest("incorrect itd error with generics - 2");} public void testHasMethodAnnoValueInt_various() { runTest("hasmethod anno value - I");} diff --git a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml index bfc1c4c46..bf539f57b 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml +++ b/tests/src/org/aspectj/systemtest/ajc160/ajc160.xml @@ -4,6 +4,12 @@ <suite> + <ajc-test dir="bugs160/pr201748" title="itd with array"> + <compile files="Foo.java"> + <message kind="error" text="Type mismatch: cannot convert from Factory[] to Factory"/> + </compile> + </ajc-test> + <ajc-test dir="bugs160/various" title="incorrect itd error with generics"> <compile options="-1.5 -showWeaveInfo" files="IncorrectMessage.java"> <message kind="weave" text="Type 'Foo' (IncorrectMessage.java) has intertyped method from 'AspectDoWhatEver' (IncorrectMessage.java:'void Marker.doWhatEver()')"/> |