diff options
Diffstat (limited to 'ajde/testdata')
-rw-r--r-- | ajde/testdata/BuildCancelling/A1.aj | 9 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/A2.aj | 9 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/A3.aj | 9 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/A4.aj | 9 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/Cl1.java | 4 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/Cl2.java | 4 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/Cl3.java | 4 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/EvenMoreCode.lst | 10 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/HW.java | 13 | ||||
-rw-r--r-- | ajde/testdata/BuildCancelling/LoadsaCode.lst | 7 |
10 files changed, 78 insertions, 0 deletions
diff --git a/ajde/testdata/BuildCancelling/A1.aj b/ajde/testdata/BuildCancelling/A1.aj new file mode 100644 index 000000000..1245cfff1 --- /dev/null +++ b/ajde/testdata/BuildCancelling/A1.aj @@ -0,0 +1,9 @@ +
+public aspect A1 {
+
+ pointcut m1(): execution(* main(..));
+
+ before(): m1() {
+ System.err.println("Before main runs");
+ }
+}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/A2.aj b/ajde/testdata/BuildCancelling/A2.aj new file mode 100644 index 000000000..4a2ee8189 --- /dev/null +++ b/ajde/testdata/BuildCancelling/A2.aj @@ -0,0 +1,9 @@ +
+public aspect A2 {
+
+ pointcut m1(): execution(* main(..));
+
+ after(): m1() {
+ System.err.println("After main runs");
+ }
+}
diff --git a/ajde/testdata/BuildCancelling/A3.aj b/ajde/testdata/BuildCancelling/A3.aj new file mode 100644 index 000000000..d9f7a6888 --- /dev/null +++ b/ajde/testdata/BuildCancelling/A3.aj @@ -0,0 +1,9 @@ +
+public aspect A3 {
+
+ pointcut m1(): call(* *print*(..));
+
+ before(): m1() {
+ System.err.println("Calling print");
+ }
+}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/A4.aj b/ajde/testdata/BuildCancelling/A4.aj new file mode 100644 index 000000000..5c475d4f2 --- /dev/null +++ b/ajde/testdata/BuildCancelling/A4.aj @@ -0,0 +1,9 @@ +
+public aspect A4 {
+
+ pointcut m1(): call(* *print*(..));
+
+ after(): m1() {
+ System.err.println("After call to print");
+ }
+}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/Cl1.java b/ajde/testdata/BuildCancelling/Cl1.java new file mode 100644 index 000000000..7652142c6 --- /dev/null +++ b/ajde/testdata/BuildCancelling/Cl1.java @@ -0,0 +1,4 @@ +public class Cl1 { + public static void main(String[] args) { + } +}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/Cl2.java b/ajde/testdata/BuildCancelling/Cl2.java new file mode 100644 index 000000000..8ba3e49ed --- /dev/null +++ b/ajde/testdata/BuildCancelling/Cl2.java @@ -0,0 +1,4 @@ +public class Cl2 { + public static void main(String[] args) { + } +}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/Cl3.java b/ajde/testdata/BuildCancelling/Cl3.java new file mode 100644 index 000000000..0b3b301df --- /dev/null +++ b/ajde/testdata/BuildCancelling/Cl3.java @@ -0,0 +1,4 @@ +public class Cl3 { + public static void callPrint(String s) { + } +}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/EvenMoreCode.lst b/ajde/testdata/BuildCancelling/EvenMoreCode.lst new file mode 100644 index 000000000..cfd1cee3e --- /dev/null +++ b/ajde/testdata/BuildCancelling/EvenMoreCode.lst @@ -0,0 +1,10 @@ +A1.aj
+Cl1.java
+A2.aj
+Cl2.java
+HW.java
+A3.aj
+Cl3.java
+A4.aj
+-verbose
+-noExit
diff --git a/ajde/testdata/BuildCancelling/HW.java b/ajde/testdata/BuildCancelling/HW.java new file mode 100644 index 000000000..3f8aaf831 --- /dev/null +++ b/ajde/testdata/BuildCancelling/HW.java @@ -0,0 +1,13 @@ + +public class HW { + public static void main(String[] args) { + callPrint("Hello"); + callPrint(" "); + callPrint("World"); + callPrint("\n"); + } + + public static void callPrint(String s) { + System.out.print(s); + } +}
\ No newline at end of file diff --git a/ajde/testdata/BuildCancelling/LoadsaCode.lst b/ajde/testdata/BuildCancelling/LoadsaCode.lst new file mode 100644 index 000000000..e313f343d --- /dev/null +++ b/ajde/testdata/BuildCancelling/LoadsaCode.lst @@ -0,0 +1,7 @@ +A1.aj
+A2.aj
+HW.java
+A3.aj
+A4.aj
+-verbose
+-noExit
|