From: aclement Date: Fri, 24 Oct 2008 20:38:04 +0000 (+0000) Subject: 251940: testcode X-Git-Tag: V1_6_3rc1~138 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd9f0b56e8a8b81c9102a81af9c17e53edc1b2cd;p=aspectj.git 251940: testcode --- diff --git a/tests/bugs163/pr251940/F.aj b/tests/bugs163/pr251940/F.aj deleted file mode 100644 index fb1645bc2..000000000 --- a/tests/bugs163/pr251940/F.aj +++ /dev/null @@ -1,3 +0,0 @@ -public aspect F implements Comparable pertarget(within(F)) { - -} diff --git a/tests/multiIncremental/pr251940/base/src/F.aj b/tests/multiIncremental/pr251940/base/src/F.aj new file mode 100644 index 000000000..00a9a47f2 --- /dev/null +++ b/tests/multiIncremental/pr251940/base/src/F.aj @@ -0,0 +1,5 @@ +public aspect F implements Comparable pertarget(within(F)) { + +} + + diff --git a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java index 477022551..756f05ddf 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java @@ -18,10 +18,6 @@ import org.aspectj.testing.XMLBasedAjcTestCase; public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase { - // public void testImplementsPertarget_pr251940() { - // runTest("implements pertarget"); - // } - public void testBreakingRecovery_pr226163() { runTest("breaking recovery"); } diff --git a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml index 01aa94b97..cb5d11813 100644 --- a/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml +++ b/tests/src/org/aspectj/systemtest/ajc163/ajc163.xml @@ -2,10 +2,6 @@ - - - - diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java index d751f3798..01e34e86b 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java @@ -171,6 +171,13 @@ public class MultiProjectIncrementalTests extends AbstractMultiProjectIncrementa // incomplete } + public void testNullDelegateBrokenCode_pr251940() { + String p = "pr251940"; + initialiseProject(p); + build(p); + checkForError(p, "The type F must implement the inherited"); + } + public void testBeanExample() throws Exception { String p = "BeanExample"; initialiseProject(p);