diff options
author | Andy Clement <aclement@pivotal.io> | 2019-01-30 16:55:38 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-01-30 16:55:38 -0800 |
commit | 2b24e7377da7c849fe7f9f4fa06a701664f9d27d (patch) | |
tree | 64c36c8fcf29633af7a5e2f7405b94cbec629ca8 /tests/bugs1811 | |
parent | d60de8d0b3e62eb36b612a824bb9345d865c0155 (diff) | |
download | aspectj-2b24e7377da7c849fe7f9f4fa06a701664f9d27d.tar.gz aspectj-2b24e7377da7c849fe7f9f4fa06a701664f9d27d.zip |
mavenizing tests - wip
Diffstat (limited to 'tests/bugs1811')
-rw-r--r-- | tests/bugs1811/cft/Azpect.java | 3 | ||||
-rw-r--r-- | tests/bugs1811/cft/Code.java | 8 | ||||
-rw-r--r-- | tests/bugs1811/cft/Code2.java | 1 | ||||
-rw-r--r-- | tests/bugs1811/cft/Foo.java | 1 | ||||
-rw-r--r-- | tests/bugs1811/cft/FooSub.java | 1 | ||||
-rw-r--r-- | tests/bugs1811/cft/aop.xml | 8 |
6 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs1811/cft/Azpect.java b/tests/bugs1811/cft/Azpect.java new file mode 100644 index 000000000..3ceaf5553 --- /dev/null +++ b/tests/bugs1811/cft/Azpect.java @@ -0,0 +1,3 @@ +aspect Azpect { + before(): execution(* Foo+.*()) {} +} diff --git a/tests/bugs1811/cft/Code.java b/tests/bugs1811/cft/Code.java new file mode 100644 index 000000000..814c79b04 --- /dev/null +++ b/tests/bugs1811/cft/Code.java @@ -0,0 +1,8 @@ +public class Code { + public static void main(String[]argv) { + System.out.println("abc"); + } + public FooSub m() { + return null; + } +} diff --git a/tests/bugs1811/cft/Code2.java b/tests/bugs1811/cft/Code2.java new file mode 100644 index 000000000..0f1835736 --- /dev/null +++ b/tests/bugs1811/cft/Code2.java @@ -0,0 +1 @@ +public class Code 2{} diff --git a/tests/bugs1811/cft/Foo.java b/tests/bugs1811/cft/Foo.java new file mode 100644 index 000000000..4a2b44daf --- /dev/null +++ b/tests/bugs1811/cft/Foo.java @@ -0,0 +1 @@ +public class Foo {} diff --git a/tests/bugs1811/cft/FooSub.java b/tests/bugs1811/cft/FooSub.java new file mode 100644 index 000000000..c1fb0b3be --- /dev/null +++ b/tests/bugs1811/cft/FooSub.java @@ -0,0 +1 @@ +public class FooSub extends Foo {} diff --git a/tests/bugs1811/cft/aop.xml b/tests/bugs1811/cft/aop.xml new file mode 100644 index 000000000..c1a99432d --- /dev/null +++ b/tests/bugs1811/cft/aop.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<aspectj> + <aspects> + <aspect name="Azpect"/> + </aspects> + <weaver options="-verbose -debug -showWeaveInfo"/> +</aspectj> + |