From 994eaa21e4bda868fc25250e1a5bc3f57ab8ec53 Mon Sep 17 00:00:00 2001 From: mkersten Date: Thu, 8 Apr 2004 16:51:09 +0000 Subject: Extended test coverage to various permutations of crossing package and type boundaries with links. --- ajdoc/testdata/simple/fluffy/Fluffy.java | 9 +++++++++ ajdoc/testdata/simple/fluffy/bunny/Bunny.java | 9 +++++++++ ajdoc/testdata/simple/fluffy/bunny/rocks/Rocks.java | 9 +++++++++ .../bunny/rocks/UseThisAspectForLinkCheckToo.java | 13 +++++++++++++ ajdoc/testdata/simple/foo/AspectA.java | 17 ----------------- .../simple/foo/UseThisAspectForLinkCheck.java | 21 +++++++++++++++++++++ 6 files changed, 61 insertions(+), 17 deletions(-) create mode 100644 ajdoc/testdata/simple/fluffy/Fluffy.java create mode 100644 ajdoc/testdata/simple/fluffy/bunny/Bunny.java create mode 100644 ajdoc/testdata/simple/fluffy/bunny/rocks/Rocks.java create mode 100644 ajdoc/testdata/simple/fluffy/bunny/rocks/UseThisAspectForLinkCheckToo.java delete mode 100644 ajdoc/testdata/simple/foo/AspectA.java create mode 100644 ajdoc/testdata/simple/foo/UseThisAspectForLinkCheck.java (limited to 'ajdoc/testdata') diff --git a/ajdoc/testdata/simple/fluffy/Fluffy.java b/ajdoc/testdata/simple/fluffy/Fluffy.java new file mode 100644 index 000000000..53bd7b97a --- /dev/null +++ b/ajdoc/testdata/simple/fluffy/Fluffy.java @@ -0,0 +1,9 @@ + +package fluffy; + +public class Fluffy { + + void doIt() { } + +} + \ No newline at end of file diff --git a/ajdoc/testdata/simple/fluffy/bunny/Bunny.java b/ajdoc/testdata/simple/fluffy/bunny/Bunny.java new file mode 100644 index 000000000..d4d44c9b5 --- /dev/null +++ b/ajdoc/testdata/simple/fluffy/bunny/Bunny.java @@ -0,0 +1,9 @@ + +package fluffy.bunny; + +public class Bunny { + + void doIt() { } + +} + \ No newline at end of file diff --git a/ajdoc/testdata/simple/fluffy/bunny/rocks/Rocks.java b/ajdoc/testdata/simple/fluffy/bunny/rocks/Rocks.java new file mode 100644 index 000000000..28d24e611 --- /dev/null +++ b/ajdoc/testdata/simple/fluffy/bunny/rocks/Rocks.java @@ -0,0 +1,9 @@ + +package fluffy.bunny.rocks; + +public class Rocks { + + void doIt() { } + +} + \ No newline at end of file diff --git a/ajdoc/testdata/simple/fluffy/bunny/rocks/UseThisAspectForLinkCheckToo.java b/ajdoc/testdata/simple/fluffy/bunny/rocks/UseThisAspectForLinkCheckToo.java new file mode 100644 index 000000000..4936cc18c --- /dev/null +++ b/ajdoc/testdata/simple/fluffy/bunny/rocks/UseThisAspectForLinkCheckToo.java @@ -0,0 +1,13 @@ + +package fluffy.bunny.rocks; + +import foo.*; +import fluffy.*; +import fluffy.bunny.*; + +public aspect UseThisAspectForLinkCheckToo { + + before(): execution(* *..*(..)) { + System.err.println("yo"); + } +} \ No newline at end of file diff --git a/ajdoc/testdata/simple/foo/AspectA.java b/ajdoc/testdata/simple/foo/AspectA.java deleted file mode 100644 index 2f03301db..000000000 --- a/ajdoc/testdata/simple/foo/AspectA.java +++ /dev/null @@ -1,17 +0,0 @@ - -package foo; - -public aspect AspectA { - - int foo; - - pointcut mumblePointcut(): execution(* ClassA.*(..)); - - before(): mumblePointcut() { - System.err.println("yo"); - } - - after(): mumblePointcut() { - System.err.println("yo"); - } -} \ No newline at end of file diff --git a/ajdoc/testdata/simple/foo/UseThisAspectForLinkCheck.java b/ajdoc/testdata/simple/foo/UseThisAspectForLinkCheck.java new file mode 100644 index 000000000..fa24af093 --- /dev/null +++ b/ajdoc/testdata/simple/foo/UseThisAspectForLinkCheck.java @@ -0,0 +1,21 @@ + +package foo; + +import fluffy.*; +import fluffy.bunny.*; +import fluffy.bunny.rocks.*; + +public aspect UseThisAspectForLinkCheck { + + int foo; + + pointcut allExecutions(): execution(* *..*(..)); + + before(): allExecutions() { + System.err.println("yo"); + } + + after(): allExecutions() { + System.err.println("go"); + } +} \ No newline at end of file -- cgit v1.2.3