From: aclement Date: Thu, 6 Jul 2006 08:32:13 +0000 (+0000) Subject: promoted test 147841 to 153tests X-Git-Tag: PRE_PIPELINE~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b5f76ea13de634c148f46cf1dd37f936579ee6a;p=aspectj.git promoted test 147841 to 153tests --- diff --git a/tests/bugs152/pr147841/A.java b/tests/bugs152/pr147841/A.java deleted file mode 100644 index 715918494..000000000 --- a/tests/bugs152/pr147841/A.java +++ /dev/null @@ -1,12 +0,0 @@ -package pkg; - -public aspect A { - - before() : execution(* pack.C.method1()) && this(pack.C) { - System.err.println("before exec method1 and this is C"); - } - - before() : call(* pack.C.method2()) && target(pack.C) { - System.err.println("before call to method2 and target is C"); - } -} diff --git a/tests/bugs152/pr147841/C.java b/tests/bugs152/pr147841/C.java deleted file mode 100644 index 3b6b49021..000000000 --- a/tests/bugs152/pr147841/C.java +++ /dev/null @@ -1,19 +0,0 @@ -package pack; - -public class C { - - public C() { - } - - public void method1() { - new C().method2(); - } - - public void method2() { - } - - public static void main(String[] args) { - new C().method1(); - } - -} diff --git a/tests/bugs153/pr147841/A.java b/tests/bugs153/pr147841/A.java new file mode 100644 index 000000000..715918494 --- /dev/null +++ b/tests/bugs153/pr147841/A.java @@ -0,0 +1,12 @@ +package pkg; + +public aspect A { + + before() : execution(* pack.C.method1()) && this(pack.C) { + System.err.println("before exec method1 and this is C"); + } + + before() : call(* pack.C.method2()) && target(pack.C) { + System.err.println("before call to method2 and target is C"); + } +} diff --git a/tests/bugs153/pr147841/C.java b/tests/bugs153/pr147841/C.java new file mode 100644 index 000000000..3b6b49021 --- /dev/null +++ b/tests/bugs153/pr147841/C.java @@ -0,0 +1,19 @@ +package pack; + +public class C { + + public C() { + } + + public void method1() { + new C().method2(); + } + + public void method2() { + } + + public static void main(String[] args) { + new C().method1(); + } + +} diff --git a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java index 69ca72beb..fb56374e4 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc152/Ajc152Tests.java @@ -36,7 +36,6 @@ public class Ajc152Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void testBrokenIfArgsCflowAtAj_pr145018() { runTest("ataj crashing with cflow, if and args");} // public void testItdCallingGenericMethod_pr145391() { runTest("itd calling generic method");} // public void testItdCallingGenericMethod_pr145391_2() { runTest("itd calling generic method - 2");} -// public void testAdviceNotWovenAspectPath_pr147841() { runTest("advice not woven on aspectpath");} // public void testClassCastForInvalidAnnotationValue_pr148537() { runTest("classcast annotation value");} diff --git a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml index bdd47d991..0c4098070 100644 --- a/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml +++ b/tests/src/org/aspectj/systemtest/ajc152/ajc152.xml @@ -77,23 +77,8 @@ - - - - - - - - - - - - - - - - - + +