diff options
author | aclement <aclement> | 2009-02-10 00:43:58 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-10 00:43:58 +0000 |
commit | 35b87d07898b0a3dc76045972fee8e690befd2b2 (patch) | |
tree | 8dad1f9de340f33a87e155f6c3b22f6e4cff9fbb /tests/features164 | |
parent | 363b3661a41ea8241a3d55aa7e2485e39fad1825 (diff) | |
download | aspectj-35b87d07898b0a3dc76045972fee8e690befd2b2.tar.gz aspectj-35b87d07898b0a3dc76045972fee8e690befd2b2.zip |
124460: simple basic control of weaving via aop.xml
Diffstat (limited to 'tests/features164')
-rw-r--r-- | tests/features164/aopconfig/two/A.java | 3 | ||||
-rw-r--r-- | tests/features164/aopconfig/two/B.java | 2 | ||||
-rw-r--r-- | tests/features164/aopconfig/two/foo.xml | 6 |
3 files changed, 11 insertions, 0 deletions
diff --git a/tests/features164/aopconfig/two/A.java b/tests/features164/aopconfig/two/A.java new file mode 100644 index 000000000..57dba05ce --- /dev/null +++ b/tests/features164/aopconfig/two/A.java @@ -0,0 +1,3 @@ +aspect A { + before():staticinitialization(*) {} +} diff --git a/tests/features164/aopconfig/two/B.java b/tests/features164/aopconfig/two/B.java new file mode 100644 index 000000000..66dd24ce6 --- /dev/null +++ b/tests/features164/aopconfig/two/B.java @@ -0,0 +1,2 @@ +public class B { +} diff --git a/tests/features164/aopconfig/two/foo.xml b/tests/features164/aopconfig/two/foo.xml new file mode 100644 index 000000000..5526fcfa5 --- /dev/null +++ b/tests/features164/aopconfig/two/foo.xml @@ -0,0 +1,6 @@ +<aspectj> +<aspects> + <aspect name="A" scope="("/> + <!-- <aspect name="A2"/> --> +</aspects> +</aspectj> |