diff options
author | aclement <aclement> | 2009-01-27 02:41:20 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-01-27 02:41:20 +0000 |
commit | 671bafd7b5e584d96a44d4f35059ec9046c1a4f7 (patch) | |
tree | 245581b95987b3b8514dac255665914f361cdd28 /tests | |
parent | 01eb395e6ef8f8b403d2c37b36ef717ff82d158a (diff) | |
download | aspectj-671bafd7b5e584d96a44d4f35059ec9046c1a4f7.tar.gz aspectj-671bafd7b5e584d96a44d4f35059ec9046c1a4f7.zip |
246393: new compiler build
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs164/pr246393/D.java | 12 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java | 15 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc164/ajc164.xml | 11 |
3 files changed, 35 insertions, 3 deletions
diff --git a/tests/bugs164/pr246393/D.java b/tests/bugs164/pr246393/D.java new file mode 100644 index 000000000..1b2e09975 --- /dev/null +++ b/tests/bugs164/pr246393/D.java @@ -0,0 +1,12 @@ +import java.io.*; +package snippet; + +public class D { + public static String readContent(InputStream is) { + try { + } catch (IOException ioe) { + ioe.printStackTrace(); + } + } +} + diff --git a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java index 43304153e..ce720e872 100644 --- a/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java @@ -18,6 +18,15 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testRogueErrors_pr246393_1() { + runTest("rogue errors - 1"); + } + +// public void testNameClash_pr262257() { +// runTest("name clash"); +// fail("incomplete"); +// } + public void testCompilingSpring_pr260384() { runTest("compiling spring"); } @@ -25,15 +34,15 @@ public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testCompilingSpring_pr260384_2() { runTest("compiling spring - 2"); } - + public void testCompilingSpring_pr260384_3() { runTest("compiling spring - 3"); } - + public void testCompilingSpring_pr260384_4() { runTest("compiling spring - 4"); } - + public void testAtAspectJDecp_pr164016() { runTest("ataspectj decp 164016"); } diff --git a/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml b/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml index 768c30d1f..bfdfada63 100644 --- a/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml +++ b/tests/src/org/aspectj/systemtest/ajc164/ajc164.xml @@ -2,6 +2,17 @@ <suite> + <ajc-test dir="bugs164/pr246393" title="rogue errors - 1"> + <compile files="D.java" options="-1.5"> + <message kind="error" line="2" text="error on token"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs164/pr262257" title="name clash"> + <compile files="C.java" options="-1.5"> + </compile> + </ajc-test> + <ajc-test dir="bugs164/pr260384" title="compiling spring"> <compile files="Broken.java" options="-1.5"> </compile> |