[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-dev] Fw: Ajdoc tests


Sorry. Should have sent this to the list ...

________________________________________
George C. Harley


----- Forwarded by George Harley1/UK/IBM on 08/04/2004 19:55 -----
George Harley1/UK/IBM

08/04/2004 19:55

To
beatmik@xxxxxxxxx
cc
Subject
Ajdoc tests




Hi Mik,

After a clean extract I found that the JUnit tests in AjdocModuleTests.java would not complete for me. In order to get the green bar to go all the way to the end I had to do the following ...

1) Create empty directory "doc" under testdata/simple

2) Create empty directory "doc" under testdata/spacewar

3) Make a tiny modification to one of the test cases (see patch below)...


Index: org/aspectj/tools/ajdoc/CoverageTestCase.java
===================================================================
RCS file: /home/technology/org.aspectj/modules/ajdoc/testsrc/org/aspectj/tools/ajdoc/CoverageTestCase.java,v
retrieving revision 1.3
diff -u -r1.3 CoverageTestCase.java
--- org/aspectj/tools/ajdoc/CoverageTestCase.java        8 Apr 2004 16:51:09 -0000        1.3
+++ org/aspectj/tools/ajdoc/CoverageTestCase.java        8 Apr 2004 18:48:50 -0000
@@ -38,7 +38,7 @@
                 
                 String[] args = {
 //                        "-XajdocDebug",
-                        "-source",
+                        "-sourcepath",
                         "1.4",
                         "-d",
                         outdir.getAbsolutePath(),





Best regards,
George
________________________________________
George C. Harley