]> source.dussan.org Git - aspectj.git/commitdiff
timers
authoraclement <aclement>
Mon, 9 Nov 2009 19:32:27 +0000 (19:32 +0000)
committeraclement <aclement>
Mon, 9 Nov 2009 19:32:27 +0000 (19:32 +0000)
tests/features167/timers/one/Asp.java [new file with mode: 0644]
tests/features167/timers/one/Code.java [new file with mode: 0644]
tests/features167/timers/one/Code2.java [new file with mode: 0644]
tests/features167/timers/one/aop.xml [new file with mode: 0644]

diff --git a/tests/features167/timers/one/Asp.java b/tests/features167/timers/one/Asp.java
new file mode 100644 (file)
index 0000000..fe41a15
--- /dev/null
@@ -0,0 +1,3 @@
+public aspect Asp {
+  before(): execution(* *(..)) {}
+}
diff --git a/tests/features167/timers/one/Code.java b/tests/features167/timers/one/Code.java
new file mode 100644 (file)
index 0000000..fa04900
--- /dev/null
@@ -0,0 +1,3 @@
+public class Code {
+  public void a() {}
+}
diff --git a/tests/features167/timers/one/Code2.java b/tests/features167/timers/one/Code2.java
new file mode 100644 (file)
index 0000000..cae1e62
--- /dev/null
@@ -0,0 +1,3 @@
+public class Code2 extends Code {
+  public static void main(String[] argv) {}
+}
diff --git a/tests/features167/timers/one/aop.xml b/tests/features167/timers/one/aop.xml
new file mode 100644 (file)
index 0000000..f64e671
--- /dev/null
@@ -0,0 +1,6 @@
+<aspectj>
+  <aspects>
+   <aspect name="Asp"/>
+  </aspects>
+  <weaver options="-timers -verbose -Xset:timersPerJoinpoint=8,timersPerType=3"/>
+</aspectj>