From dd1203a376d6b0dcc865735cf50288a83e710b05 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 13 Jan 2006 17:07:57 +0000 Subject: more ajdoc changes - see pr121711 - from Helen. --- ajdoc/testdata/coverage/foo/ModelCoverage.java | 7 ++++++- ajdoc/testdata/coverage/pkg/A.aj | 5 +++++ ajdoc/testdata/coverage/pkg/A2.aj | 20 ++++++++++++++++++++ ajdoc/testdata/coverage/pkg/C.java | 5 +++++ 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 ajdoc/testdata/coverage/pkg/A.aj create mode 100644 ajdoc/testdata/coverage/pkg/A2.aj create mode 100644 ajdoc/testdata/coverage/pkg/C.java (limited to 'ajdoc/testdata/coverage') 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 { + +} -- cgit v1.2.3