From 657bfd69ad7e9f3a30122031dd1d657457255ffe Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 3 Dec 2007 14:54:32 +0000 Subject: [PATCH] 211052 - testcode --- .../systemtest/ajc154/Ajc154Tests.java | 12 ++- .../org/aspectj/systemtest/ajc154/ajc154.xml | 80 +++++++++++++++++++ 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java b/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java index 76c2eb154..a003eddf1 100644 --- a/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc154/Ajc154Tests.java @@ -23,7 +23,6 @@ import org.aspectj.apache.bcel.generic.MethodGen; import org.aspectj.apache.bcel.util.ClassPath; import org.aspectj.apache.bcel.util.SyntheticRepository; import org.aspectj.testing.XMLBasedAjcTestCase; -import org.aspectj.weaver.patterns.PatternParser; import org.aspectj.weaver.tools.ContextBasedMatcher; import org.aspectj.weaver.tools.FuzzyBoolean; import org.aspectj.weaver.tools.MatchingContext; @@ -47,6 +46,17 @@ public class Ajc154Tests extends org.aspectj.testing.XMLBasedAjcTestCase { //public void testAfterThrowingAnnotationStyle_pr211674_1() { runTest("after throwing annotation style problem - 1");} //public void testAfterThrowingAnnotationStyle_pr211674_2() { runTest("after throwing annotation style problem - 2");} + // Testing some issues with declare at type + public void testDeclareAtTypeProblems_pr211052_1() { runTest("declare atType problems - 1"); } + public void testDeclareAtTypeProblems_pr211052_2() { runTest("declare atType problems - 2"); } + public void testDeclareAtTypeProblems_pr211052_3() { runTest("declare atType problems - 3"); } + public void testDeclareAtTypeProblems_pr211052_4() { runTest("declare atType problems - 4"); } + public void testDeclareAtTypeProblems_pr211052_5() { runTest("declare atType problems - 5"); } + // declare at type and binary weaving + public void testDeclareAtTypeProblems_pr211052_6() { runTest("declare atType problems - 6"); } + public void testDeclareAtTypeProblems_pr211052_7() { runTest("declare atType problems - 7"); } + + public void testNPEWithMissingAtAspectAnnotationInPointcutLibrary_pr162539_1() { runTest("NPE with missing @aspect annotation in pointcut library - 1"); } public void testNPEWithMissingAtAspectAnnotationInPointcutLibrary_pr162539_2() { runTest("NPE with missing @aspect annotation in pointcut library - 2"); } diff --git a/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml b/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml index 2b333d0b6..691f5ce8d 100644 --- a/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml +++ b/tests/src/org/aspectj/systemtest/ajc154/ajc154.xml @@ -2,6 +2,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.5