From: mkersten Date: Tue, 22 Jul 2003 16:31:50 +0000 (+0000) Subject: Added coverge to LST file tests. X-Git-Tag: V1_1_1~218 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b36560b79b17199ce35c09e548396b34694a97a9;p=aspectj.git Added coverge to LST file tests. --- 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() {