From 9c38e399f5d9c75fdd2b918752fba7fa12b28673 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 20 Jan 2006 09:40:54 +0000 Subject: 77166 - newarray joinpoint support. "-Xjoinpoints:arrayconstruction" --- tests/src/org/aspectj/systemtest/ajc151/AllTestsAspectJ151.java | 1 + .../src/org/aspectj/systemtest/ajc151/NewarrayJoinpointTests.java | 3 +++ tests/src/org/aspectj/systemtest/ajc151/newarray_joinpoint.xml | 7 +++++++ 3 files changed, 11 insertions(+) (limited to 'tests/src') diff --git a/tests/src/org/aspectj/systemtest/ajc151/AllTestsAspectJ151.java b/tests/src/org/aspectj/systemtest/ajc151/AllTestsAspectJ151.java index 31d37c5d5..1153be1b6 100644 --- a/tests/src/org/aspectj/systemtest/ajc151/AllTestsAspectJ151.java +++ b/tests/src/org/aspectj/systemtest/ajc151/AllTestsAspectJ151.java @@ -19,6 +19,7 @@ public class AllTestsAspectJ151 { TestSuite suite = new TestSuite("AspectJ 1.5.1 tests"); //$JUnit-BEGIN$ suite.addTest(Ajc151Tests.suite()); + suite.addTest(NewarrayJoinpointTests.suite()); //$JUnit-END$ return suite; } diff --git a/tests/src/org/aspectj/systemtest/ajc151/NewarrayJoinpointTests.java b/tests/src/org/aspectj/systemtest/ajc151/NewarrayJoinpointTests.java index dbd0be4da..4db134003 100644 --- a/tests/src/org/aspectj/systemtest/ajc151/NewarrayJoinpointTests.java +++ b/tests/src/org/aspectj/systemtest/ajc151/NewarrayJoinpointTests.java @@ -60,6 +60,9 @@ public class NewarrayJoinpointTests extends XMLBasedAjcTestCase { public void testUsingItForReal() { runTest("using it for real");} public void testDifferentiatingArrayTypes() { runTest("differentiating array types");} public void testStructureModel() { runTest("structure model");} + + + public void testOptionoff() { runTest("option deactivated - no match expected");} // public static Test suite() { diff --git a/tests/src/org/aspectj/systemtest/ajc151/newarray_joinpoint.xml b/tests/src/org/aspectj/systemtest/ajc151/newarray_joinpoint.xml index fedc67322..b75d4adec 100644 --- a/tests/src/org/aspectj/systemtest/ajc151/newarray_joinpoint.xml +++ b/tests/src/org/aspectj/systemtest/ajc151/newarray_joinpoint.xml @@ -153,5 +153,12 @@ + + + + + + + \ No newline at end of file -- cgit v1.2.3