diff options
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc174/ajc174.xml | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java b/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java index bf7a49825..e492c5646 100644 --- a/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc174/Ajc174Tests.java @@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc174Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testExtraInserts() throws Exception { + runTest("extra inserts"); + } + public void testMoreConfigurableLint_419279() throws Exception { runTest("more configurable lint"); } diff --git a/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml b/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml index 09a6c2957..5440b4bad 100644 --- a/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml +++ b/tests/src/org/aspectj/systemtest/ajc174/ajc174.xml @@ -2,6 +2,17 @@ <suite> + <ajc-test dir="bugs174/extra_inserts" title="extra inserts"> + <compile files="Code.java" options="-1.5"> + <message kind="warning" line="8" text="Call to foo made inside class Bar"/> + <message kind="warning" line="15" text="Call to foo made inside class Boo"/> + <message kind="warning" line="8" text="Call to foo made inside member booble"/> + <message kind="warning" line="15" text="Call to foo made inside member m"/> + <message kind="warning" line="8" text="Call to foo made inside member void Bar.booble()"/> + <message kind="warning" line="15" text="Call to foo made inside member void Boo.m()"/> + </compile> + </ajc-test> + <ajc-test dir="bugs174/pr419279" title="more configurable lint"> <compile files="Code.java" options="-1.5"> <message kind="warning" text="advice defined in Code has not been applied [Xlint:adviceDidNotMatch]"/> |