summaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
authormkersten <mkersten>2003-08-12 10:29:59 +0000
committermkersten <mkersten>2003-08-12 10:29:59 +0000
commit11d7649fc3219af5a71d3bf0b9fe004c075c2b4f (patch)
tree11280a5298e3169aba7086e69b0512dc4c99f7ff /ajde/testdata
parent1e0113299d9eea6272c7b83b40d95b808076a028 (diff)
downloadaspectj-11d7649fc3219af5a71d3bf0b9fe004c075c2b4f.tar.gz
aspectj-11d7649fc3219af5a71d3bf0b9fe004c075c2b4f.zip
Minor improvements to structure model generation, clean up of test suite output, and port of AJDT to new ASM APIs.
Diffstat (limited to 'ajde/testdata')
-rw-r--r--ajde/testdata/examples/coverage/ModelCoverage.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/ajde/testdata/examples/coverage/ModelCoverage.java b/ajde/testdata/examples/coverage/ModelCoverage.java
index d2d639beb..cb7b8391b 100644
--- a/ajde/testdata/examples/coverage/ModelCoverage.java
+++ b/ajde/testdata/examples/coverage/ModelCoverage.java
@@ -13,7 +13,7 @@ class Point {
public int getX() { return x; }
public void setX(int x) { this.x = x; }
-
+
public int changeX(int x) {
this.x = x;
return x;
@@ -94,6 +94,11 @@ abstract aspect AbstractAspect {
}
aspect InterTypeDecCoverage {
+ public int Point.xxx = 0;
+ public int Point.check(int i, Line l) { return 1 + i; }
+}
+
+aspect DeclareCoverage {
pointcut illegalNewFigElt(): call(Point.new(..)) && !withincode(* *.doIt(..));
@@ -105,9 +110,6 @@ aspect InterTypeDecCoverage {
declare parents: Point && Line implements java.util.Observable;
declare soft: SizeException : call(* Point.getX());
declare precedence: AdviceCoverage, InterTypeDecCoverage, *;
-
- public int Point.xxx = 0;
- public int Point.check(int i, Line l) { return 1 + i; }
// public Line.new(String s) { }
}