Skip to content

Commit bdc9aa0

Browse files
committed
Update anther newly merged doxygen Java test for Java 9 API
See 66a7826
1 parent 6e240e8 commit bdc9aa0

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Examples/test-suite/java/doxygen_basic_translate_style3_runme.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
import doxygen_basic_translate_style3.*;
3-
import com.sun.javadoc.*;
43
import java.util.HashMap;
54

65
public class doxygen_basic_translate_style3_runme {
@@ -15,14 +14,7 @@ public class doxygen_basic_translate_style3_runme {
1514

1615
public static void main(String argv[])
1716
{
18-
/*
19-
Here we are using internal javadoc tool, it accepts the name of the class as paramterer,
20-
and calls the start() method of that class with parsed information.
21-
*/
22-
CommentParser parser = new CommentParser();
23-
com.sun.tools.javadoc.Main.execute("doxygen_basic_translate_style3 runtime test",
24-
"CommentParser",
25-
new String[]{"-quiet", "doxygen_basic_translate_style3"});
17+
CommentParser.parse("doxygen_basic_translate_style3");
2618

2719
HashMap<String, String> wantedComments = new HashMap<String, String>();
2820

@@ -96,6 +88,6 @@ and calls the start() method of that class with parsed information.
9688
"");
9789

9890
// and ask the parser to check comments for us
99-
System.exit(parser.check(wantedComments));
91+
System.exit(CommentParser.check(wantedComments));
10092
}
10193
}

0 commit comments

Comments
 (0)