From 98cd97eaad6384815eeed3740854528107e7ff92 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 28 Sep 2011 01:16:10 +0000 Subject: [PATCH] 359159 --- .../systemtest/ajc1612/Ajc1612Tests.java | 63 +++++++ .../aspectj/systemtest/ajc1612/ajc1612.xml | 167 ++++++++++++++++++ .../aspectj/systemtest/tracing/tracing.xml | 4 +- 3 files changed, 232 insertions(+), 2 deletions(-) diff --git a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java index 2e6ed3ecc..5b04210f0 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java @@ -36,6 +36,69 @@ public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // runTest("itd split compilation"); // } + public void testXmlDefs() { + runTest("xml defined advice"); + } + + public void testXmlDefs2() { + runTest("xml defined advice 2"); + } + + // using a parameter + public void testXmlDefs3() { + runTest("xml defined advice 3"); + } + + // using bad parameters + public void testXmlDefs4() { + runTest("xml defined advice 4"); + } + + // binding + public void testXmlDefs5() { + runTest("xml defined advice 5"); + } + + // before and after advice + public void testXmlDefs6() { + runTest("xml defined advice 6"); + } + + // thisJoinPoint + public void testXmlDefs7() { + runTest("xml defined advice 7"); + } + + // thisJoinPointStaticPart + public void testXmlDefs8() { + runTest("xml defined advice 8"); + } + + // void around advice + public void testXmlDefs9() { + runTest("xml defined advice 9"); + } + + // non-void around advice + public void testXmlDefs10() { + runTest("xml defined advice 10"); + } + + // non-void around advice with proceed + public void testXmlDefs11() { + runTest("xml defined advice 11"); + } + + // non primitive return (that is actually used) and proceed + public void testXmlDefs12() { + runTest("xml defined advice 12"); + } + + // delegate type in package + public void testXmlDefs13() { + runTest("xml defined advice 13"); + } + public void testCorrespondingType_357582() { for (int i = 0; i < 100000; i++) { assertEquals("AAA", convert("AAA")); diff --git a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml index f37b8834e..fd57e555d 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml +++ b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml @@ -2,6 +2,173 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/src/org/aspectj/systemtest/tracing/tracing.xml b/tests/src/org/aspectj/systemtest/tracing/tracing.xml index 122dbe28a..42b61823c 100644 --- a/tests/src/org/aspectj/systemtest/tracing/tracing.xml +++ b/tests/src/org/aspectj/systemtest/tracing/tracing.xml @@ -51,8 +51,8 @@ - - + + -- 2.39.5