aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/testdata/coverage
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-13 17:07:57 +0000
committeraclement <aclement>2006-01-13 17:07:57 +0000
commitdd1203a376d6b0dcc865735cf50288a83e710b05 (patch)
treef3ff2e94d970544d2e9db9c7b5bcdb7e2f691983 /ajdoc/testdata/coverage
parentab2150f267eef2ec565cc596b2e0e0412a3bd290 (diff)
downloadaspectj-dd1203a376d6b0dcc865735cf50288a83e710b05.tar.gz
aspectj-dd1203a376d6b0dcc865735cf50288a83e710b05.zip
more ajdoc changes - see pr121711 - from Helen.
Diffstat (limited to 'ajdoc/testdata/coverage')
-rw-r--r--ajdoc/testdata/coverage/foo/ModelCoverage.java7
-rw-r--r--ajdoc/testdata/coverage/pkg/A.aj5
-rw-r--r--ajdoc/testdata/coverage/pkg/A2.aj20
-rw-r--r--ajdoc/testdata/coverage/pkg/C.java5
4 files changed, 36 insertions, 1 deletions
diff --git a/ajdoc/testdata/coverage/foo/ModelCoverage.java b/ajdoc/testdata/coverage/foo/ModelCoverage.java
index b05d7bc72..695026642 100644
--- a/ajdoc/testdata/coverage/foo/ModelCoverage.java
+++ b/ajdoc/testdata/coverage/foo/ModelCoverage.java
@@ -6,6 +6,10 @@ import java.util.List;
interface I { }
+/**
+ * doc about the Point class........
+ *
+ */
class Point {
int x;
static int sx;
@@ -28,7 +32,8 @@ class Point {
}
public int changeX(int x) {
- this.x = x;
+ //this.x = x;
+ setX(x);
return x;
}
diff --git a/ajdoc/testdata/coverage/pkg/A.aj b/ajdoc/testdata/coverage/pkg/A.aj
new file mode 100644
index 000000000..7c720c670
--- /dev/null
+++ b/ajdoc/testdata/coverage/pkg/A.aj
@@ -0,0 +1,5 @@
+package pkg;
+
+public aspect A {
+
+}
diff --git a/ajdoc/testdata/coverage/pkg/A2.aj b/ajdoc/testdata/coverage/pkg/A2.aj
new file mode 100644
index 000000000..4f876dc65
--- /dev/null
+++ b/ajdoc/testdata/coverage/pkg/A2.aj
@@ -0,0 +1,20 @@
+package pkg;
+
+public aspect A2 {
+
+ pointcut p() : execution(* C2.amethod(..));
+ pointcut p2() : execution(* C2.amethod(..));
+
+ before() : p() {
+ }
+
+ before() : p2() {
+ }
+
+}
+
+class C2 {
+
+ public void amethod() {
+ }
+}
diff --git a/ajdoc/testdata/coverage/pkg/C.java b/ajdoc/testdata/coverage/pkg/C.java
new file mode 100644
index 000000000..e817b5163
--- /dev/null
+++ b/ajdoc/testdata/coverage/pkg/C.java
@@ -0,0 +1,5 @@
+package pkg;
+
+public class C {
+
+}