From 556625089b5d33b38ecdb212a3db95d7be5a007c Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 15 Dec 2008 17:44:08 +0000 Subject: [PATCH] 255643: test and fix --- tests/features160/weavingJavaxPackage/A.java | 3 ++- tests/features160/weavingJavaxPackage/B.java | 8 ++++++++ .../systemtest/ajc160/newfeatures-tests.xml | 18 ++++++++++++++---- 3 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 tests/features160/weavingJavaxPackage/B.java diff --git a/tests/features160/weavingJavaxPackage/A.java b/tests/features160/weavingJavaxPackage/A.java index 262767b1a..29a1e24ba 100644 --- a/tests/features160/weavingJavaxPackage/A.java +++ b/tests/features160/weavingJavaxPackage/A.java @@ -3,9 +3,10 @@ package javax.foo; public class A { public static void main(String []argv) throws Exception { new A().foo(); + new B().foo(); } public void foo() { - System.out.println("Method running"); + System.out.println("(A) method running"); } } diff --git a/tests/features160/weavingJavaxPackage/B.java b/tests/features160/weavingJavaxPackage/B.java new file mode 100644 index 000000000..7d76f91de --- /dev/null +++ b/tests/features160/weavingJavaxPackage/B.java @@ -0,0 +1,8 @@ +package javax.foo; + +public class B { + + public void foo() { + System.out.println("(B) method running"); + } +} diff --git a/tests/src/org/aspectj/systemtest/ajc160/newfeatures-tests.xml b/tests/src/org/aspectj/systemtest/ajc160/newfeatures-tests.xml index b12520d9f..b01d26957 100644 --- a/tests/src/org/aspectj/systemtest/ajc160/newfeatures-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc160/newfeatures-tests.xml @@ -4,22 +4,32 @@ - + + + + + + + + - + + - + - + + + -- 2.39.5