aboutsummaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authormkersten <mkersten>2003-07-22 16:31:50 +0000
committermkersten <mkersten>2003-07-22 16:31:50 +0000
commitb36560b79b17199ce35c09e548396b34694a97a9 (patch)
tree3346de7d7ade6e8da9ba1069c022479891c53d8f /ajde
parent3bca65cc0bd3c3d5763b315b3df0baa4327b78b3 (diff)
downloadaspectj-b36560b79b17199ce35c09e548396b34694a97a9.tar.gz
aspectj-b36560b79b17199ce35c09e548396b34694a97a9.zip
Added coverge to LST file tests.
Diffstat (limited to 'ajde')
-rw-r--r--ajde/testdata/LstBuildConfigManagerTest/invalid-entry.lst1
-rw-r--r--ajde/testdata/examples/declare-warning/apackage/InitCatcher.java5
-rw-r--r--ajde/testdata/examples/declare-warning/apackage/SomeClass.java3
3 files changed, 8 insertions, 1 deletions
diff --git a/ajde/testdata/LstBuildConfigManagerTest/invalid-entry.lst b/ajde/testdata/LstBuildConfigManagerTest/invalid-entry.lst
new file mode 100644
index 000000000..152ca9401
--- /dev/null
+++ b/ajde/testdata/LstBuildConfigManagerTest/invalid-entry.lst
@@ -0,0 +1 @@
+aaa.bbb
diff --git a/ajde/testdata/examples/declare-warning/apackage/InitCatcher.java b/ajde/testdata/examples/declare-warning/apackage/InitCatcher.java
index ac34d3c0c..efa19bba6 100644
--- a/ajde/testdata/examples/declare-warning/apackage/InitCatcher.java
+++ b/ajde/testdata/examples/declare-warning/apackage/InitCatcher.java
@@ -3,6 +3,9 @@ package apackage;
public aspect InitCatcher {
declare warning: call(* *.init(..)) :
- "Please don't call init methods"; //$NON-NLS-1$
+ "Please don't call init methods";
+
+ declare warning: set(* SomeClass.*) :
+ "Please don't call setters";
} \ No newline at end of file
diff --git a/ajde/testdata/examples/declare-warning/apackage/SomeClass.java b/ajde/testdata/examples/declare-warning/apackage/SomeClass.java
index eff26d5c8..bb34db820 100644
--- a/ajde/testdata/examples/declare-warning/apackage/SomeClass.java
+++ b/ajde/testdata/examples/declare-warning/apackage/SomeClass.java
@@ -2,8 +2,11 @@ package apackage;
public class SomeClass {
+ int x;
+
public SomeClass() {
init(); // line 6
+ x = 3;
}
public void init() {