From: mkersten Date: Thu, 8 Apr 2004 23:50:13 +0000 (+0000) Subject: Clean-up ensuring no resources modified as a result of test runs. X-Git-Tag: Root_ajdt_support~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f00f5060e388cde58ad0088d29fb6cb7c66302aa;p=aspectj.git Clean-up ensuring no resources modified as a result of test runs. --- diff --git a/ajdoc/.cvsignore b/ajdoc/.cvsignore new file mode 100644 index 000000000..c76dd5312 --- /dev/null +++ b/ajdoc/.cvsignore @@ -0,0 +1 @@ +ajdocworkingdir diff --git a/ajdoc/testdata/spacewar/.cvsignore b/ajdoc/testdata/spacewar/.cvsignore index 693869726..e9f81f44b 100644 --- a/ajdoc/testdata/spacewar/.cvsignore +++ b/ajdoc/testdata/spacewar/.cvsignore @@ -1,2 +1 @@ -bin -doc +docdir diff --git a/ajdoc/testsrc/AjdocModuleTests.java b/ajdoc/testsrc/AjdocModuleTests.java index 8aabdfed5..a840b35a6 100644 --- a/ajdoc/testsrc/AjdocModuleTests.java +++ b/ajdoc/testsrc/AjdocModuleTests.java @@ -11,6 +11,7 @@ * ******************************************************************/ import org.aspectj.tools.ajdoc.CoverageTestCase; import org.aspectj.tools.ajdoc.ExecutionTestCase; +import org.aspectj.tools.ajdoc.PatternsTestCase; import org.aspectj.tools.ajdoc.SpacewarTestCase; import junit.framework.Test; @@ -24,6 +25,7 @@ public class AjdocModuleTests { TestSuite suite = new TestSuite("Test for org.aspectj.tools.ajdoc"); //$JUnit-BEGIN$ suite.addTestSuite(SpacewarTestCase.class); + suite.addTestSuite(PatternsTestCase.class); suite.addTestSuite(CoverageTestCase.class); suite.addTestSuite(ExecutionTestCase.class);// !!! must be last because it exists //$JUnit-END$ diff --git a/ajdoc/testsrc/org/aspectj/tools/ajdoc/SpacewarTestCase.java b/ajdoc/testsrc/org/aspectj/tools/ajdoc/SpacewarTestCase.java index 03c7c643c..b90d74900 100644 --- a/ajdoc/testsrc/org/aspectj/tools/ajdoc/SpacewarTestCase.java +++ b/ajdoc/testsrc/org/aspectj/tools/ajdoc/SpacewarTestCase.java @@ -23,7 +23,7 @@ public class SpacewarTestCase extends TestCase { public void testSimpleExample() { // System.err.println(new File("testdata/figures-demo").exists()); - File outdir = new File("testdata/spacewar/doc"); + File outdir = new File("testdata/spacewar/docdir"); File sourcepath = new File("testdata/spacewar"); String[] args = { "-d",