From fd9f0b56e8a8b81c9102a81af9c17e53edc1b2cd Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 24 Oct 2008 20:38:04 +0000 Subject: [PATCH] 251940: testcode --- .../pr251940 => multiIncremental/pr251940/base/src}/F.aj | 2 ++ tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java | 4 ---- tests/src/org/aspectj/systemtest/ajc163/ajc163.xml | 4 ---- .../incremental/tools/MultiProjectIncrementalTests.java | 7 +++++++ 4 files changed, 9 insertions(+), 8 deletions(-) rename tests/{bugs163/pr251940 => multiIncremental/pr251940/base/src}/F.aj (96%) diff --git a/tests/bugs163/pr251940/F.aj b/tests/multiIncremental/pr251940/base/src/F.aj similarity index 96% rename from tests/bugs163/pr251940/F.aj rename to tests/multiIncremental/pr251940/base/src/F.aj index fb1645bc2..00a9a47f2 100644 --- a/tests/bugs163/pr251940/F.aj +++ b/tests/multiIncremental/pr251940/base/src/F.aj @@ -1,3 +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); -- 2.39.5