aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ltw
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-06 13:02:38 +0000
committeraclement <aclement>2005-12-06 13:02:38 +0000
commit1e1bbb3f2e7aab4757d715d76730cb68cceb3b87 (patch)
treeabba06b491b9f90fb43ddb64028ef3d556bab334 /tests/ltw
parentf40d02927635b6171083229fe6d48f326da06cc7 (diff)
downloadaspectj-1e1bbb3f2e7aab4757d715d76730cb68cceb3b87.tar.gz
aspectj-1e1bbb3f2e7aab4757d715d76730cb68cceb3b87.zip
fixes for 118715 from Matthew.
Diffstat (limited to 'tests/ltw')
-rw-r--r--tests/ltw/Aspect3.aj19
-rw-r--r--tests/ltw/Xlint-empty.properties0
-rw-r--r--tests/ltw/Xlint-nomatch.properties1
-rw-r--r--tests/ltw/aop-nomatch.xml7
-rw-r--r--tests/ltw/aop-nomatchxlint.xml7
-rw-r--r--tests/ltw/aop-nomatchxlintfile.xml7
-rw-r--r--tests/ltw/aop-xlintfile.xml3
7 files changed, 44 insertions, 0 deletions
diff --git a/tests/ltw/Aspect3.aj b/tests/ltw/Aspect3.aj
new file mode 100644
index 000000000..c27d9e1c2
--- /dev/null
+++ b/tests/ltw/Aspect3.aj
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2005 Contributors.
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Matthew Webster initial implementation
+ *******************************************************************************/
+import org.aspectj.lang.JoinPoint;
+
+public aspect Aspect3 {
+
+ before () : execution(void Main.test999()) {
+ System.err.println("Aspect1.before_" + thisJoinPoint.getSignature().getName());
+ }
+}
diff --git a/tests/ltw/Xlint-empty.properties b/tests/ltw/Xlint-empty.properties
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/tests/ltw/Xlint-empty.properties
diff --git a/tests/ltw/Xlint-nomatch.properties b/tests/ltw/Xlint-nomatch.properties
new file mode 100644
index 000000000..00f96a1c9
--- /dev/null
+++ b/tests/ltw/Xlint-nomatch.properties
@@ -0,0 +1 @@
+adviceDidNotMatch = warning
diff --git a/tests/ltw/aop-nomatch.xml b/tests/ltw/aop-nomatch.xml
new file mode 100644
index 000000000..620a4c77e
--- /dev/null
+++ b/tests/ltw/aop-nomatch.xml
@@ -0,0 +1,7 @@
+<aspectj>
+ <aspects>
+ <aspect name="Aspect3"/>
+ </aspects>
+
+ <weaver options="-verbose -showWeaveInfo"/>
+</aspectj>
diff --git a/tests/ltw/aop-nomatchxlint.xml b/tests/ltw/aop-nomatchxlint.xml
new file mode 100644
index 000000000..4271e394d
--- /dev/null
+++ b/tests/ltw/aop-nomatchxlint.xml
@@ -0,0 +1,7 @@
+<aspectj>
+ <aspects>
+ <aspect name="Aspect3"/>
+ </aspects>
+
+ <weaver options="-verbose -showWeaveInfo -Xlint:warning"/>
+</aspectj>
diff --git a/tests/ltw/aop-nomatchxlintfile.xml b/tests/ltw/aop-nomatchxlintfile.xml
new file mode 100644
index 000000000..35ce126e3
--- /dev/null
+++ b/tests/ltw/aop-nomatchxlintfile.xml
@@ -0,0 +1,7 @@
+<aspectj>
+ <aspects>
+ <aspect name="Aspect3"/>
+ </aspects>
+
+ <weaver options="-verbose -showWeaveInfo -Xlintfile:Xlint-nomatch.properties"/>
+</aspectj>
diff --git a/tests/ltw/aop-xlintfile.xml b/tests/ltw/aop-xlintfile.xml
new file mode 100644
index 000000000..31d7bad16
--- /dev/null
+++ b/tests/ltw/aop-xlintfile.xml
@@ -0,0 +1,3 @@
+<aspectj>
+ <weaver options="-Xlintfile:Xlint-empty.properties"/>
+</aspectj>