diff options
author | Andy Clement <aclement@vmware.com> | 2012-03-15 10:03:03 -0700 |
---|---|---|
committer | Andy Clement <aclement@vmware.com> | 2012-03-15 10:03:03 -0700 |
commit | 42035aea54234894721cca2858035002c7bfa9c7 (patch) | |
tree | 9a1eabed72dd2146f1d9cb41e2085ea0d3315c4c /tests/src/org | |
parent | 2a944dbb2cd25a31c93d3e945f0cf07b406a3090 (diff) | |
download | aspectj-42035aea54234894721cca2858035002c7bfa9c7.tar.gz aspectj-42035aea54234894721cca2858035002c7bfa9c7.zip |
pr73507 - wip
Diffstat (limited to 'tests/src/org')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java | 17 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc170/ajc170.xml | 35 |
2 files changed, 52 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java b/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java index bfb995d12..ebdf20c3e 100644 --- a/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc170/Ajc170Tests.java @@ -25,6 +25,23 @@ import org.aspectj.weaver.UnresolvedType; */ public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + + public void testPublicITDFs_pr73507_1() { + runTest("public ITDfs - 1"); + } + + public void testPublicITDFs_pr73507_2() { + runTest("public ITDfs - 2"); + } + + public void testPublicITDFs_pr73507_3() { + runTest("public ITDfs - 3"); + } + + public void testPublicITDFs_pr73507_4() { + runTest("public ITDfs - 4"); + } + public void testBCExceptionAnnoDecp_371998() { runTest("BCException anno decp"); } diff --git a/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml b/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml index b5ce9623c..58c936905 100644 --- a/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml +++ b/tests/src/org/aspectj/systemtest/ajc170/ajc170.xml @@ -2,6 +2,41 @@ <suite> + + <ajc-test dir="bugs170/pr73507" title="public ITDfs - 1"> + <compile files="Case1.java" options="-1.5"/> + <run class="Case1"> + <stdout> + <line text="Found a field called i"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs170/pr73507" title="public ITDfs - 2"> + <compile files="Case2.java" options="-1.5"/> + <run class="Case2"> + <stdout> + <line text="Value of C.i is 1"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs170/pr73507" title="public ITDfs - 3"> + <compile files="Case3.java" options="-1.5"/> + <run class="Case3"> + <stdout> + <line text="Value of C.i is 1"/> + <line text="Value of C.j is 1"/> + </stdout> + </run> + </ajc-test> + + <ajc-test dir="bugs170/pr73507" title="public ITDfs - 4"> + <compile files="Case4.java" options="-1.5"> + <message kind="error" line="13" text="can't override java.lang.String I.i with int C.i return types don't match"/> + </compile> + </ajc-test> + <ajc-test dir="bugs170/pr371998" title="BCException anno decp"> <compile files="AspectTest.java" options="-1.5 -showWeaveInfo"> <message kind="weave" text="Extending interface set for type 'Foo' (AspectTest.java) to include 'X' (AspectTest.java)"/> |