summaryrefslogtreecommitdiffstats
path: root/ajdoc/testsrc/org/aspectj/tools
diff options
context:
space:
mode:
authormkersten <mkersten>2004-04-08 16:51:09 +0000
committermkersten <mkersten>2004-04-08 16:51:09 +0000
commit994eaa21e4bda868fc25250e1a5bc3f57ab8ec53 (patch)
tree048511a984333970a734fd2f0b91b83b8eaf58e6 /ajdoc/testsrc/org/aspectj/tools
parent91a29b735cee8c36e903c6c5dd8e3676d6527536 (diff)
downloadaspectj-994eaa21e4bda868fc25250e1a5bc3f57ab8ec53.tar.gz
aspectj-994eaa21e4bda868fc25250e1a5bc3f57ab8ec53.zip
Extended test coverage to various permutations of crossing package and type boundaries with links.
Diffstat (limited to 'ajdoc/testsrc/org/aspectj/tools')
-rw-r--r--ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java33
1 files changed, 21 insertions, 12 deletions
diff --git a/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java b/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
index 7e629f96a..744f930d6 100644
--- a/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
+++ b/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java
@@ -23,26 +23,35 @@ import junit.framework.TestCase;
public class CoverageTestCase extends TestCase {
public void testSimpleExample() {
-
+
// System.err.println(new File("testdata/figures-demo").exists());
File file1 = new File("testdata/simple/foo/ClassA.java");
- File aspect1 = new File("testdata/simple/foo/AspectA.java");
+ File aspect1 = new File("testdata/simple/foo/UseThisAspectForLinkCheck.java");
File file2 = new File("testdata/simple/foo/InterfaceI.java");
File file3 = new File("testdata/simple/foo/PlainJava.java");
File file4 = new File("testdata/simple/foo/ModelCoverage.java");
+ File file5 = new File("testdata/simple/fluffy/Fluffy.java");
+ File file6 = new File("testdata/simple/fluffy/bunny/Bunny.java");
+ File file7 = new File("testdata/simple/fluffy/bunny/rocks/Rocks.java");
+ File file8 = new File("testdata/simple/fluffy/bunny/rocks/UseThisAspectForLinkCheckToo.java");
File outdir = new File("testdata/simple/doc");
String[] args = {
-// "-XajdocDebug",
- "-source",
- "1.4",
- "-d",
- outdir.getAbsolutePath(),
- aspect1.getAbsolutePath(),
- file1.getAbsolutePath(),
- file2.getAbsolutePath(),
- file3.getAbsolutePath(),
- file4.getAbsolutePath()};
+// "-XajdocDebug",
+ "-source",
+ "1.4",
+ "-d",
+ outdir.getAbsolutePath(),
+ aspect1.getAbsolutePath(),
+ file1.getAbsolutePath(),
+ file2.getAbsolutePath(),
+ file3.getAbsolutePath(),
+ file4.getAbsolutePath(),
+ file5.getAbsolutePath(),
+ file6.getAbsolutePath(),
+ file7.getAbsolutePath(),
+ file8.getAbsolutePath()
+ };
org.aspectj.tools.ajdoc.Main.main(args);
}