Update anther newly merged doxygen Java test for Java 9 API

See 66a7826192
This commit is contained in:
William S Fulton 2020-01-16 19:30:44 +00:00
parent 6e240e8fba
commit bdc9aa0038
1 changed files with 2 additions and 10 deletions

View File

@ -1,6 +1,5 @@
import doxygen_basic_translate_style3.*;
import com.sun.javadoc.*;
import java.util.HashMap;
public class doxygen_basic_translate_style3_runme {
@ -15,14 +14,7 @@ public class doxygen_basic_translate_style3_runme {
public static void main(String argv[])
{
/*
Here we are using internal javadoc tool, it accepts the name of the class as paramterer,
and calls the start() method of that class with parsed information.
*/
CommentParser parser = new CommentParser();
com.sun.tools.javadoc.Main.execute("doxygen_basic_translate_style3 runtime test",
"CommentParser",
new String[]{"-quiet", "doxygen_basic_translate_style3"});
CommentParser.parse("doxygen_basic_translate_style3");
HashMap<String, String> wantedComments = new HashMap<String, String>();
@ -96,6 +88,6 @@ public class doxygen_basic_translate_style3_runme {
"");
// and ask the parser to check comments for us
System.exit(parser.check(wantedComments));
System.exit(CommentParser.check(wantedComments));
}
}