parent
00b47d4d1d
commit
af504ccddd
1 changed files with 2 additions and 9 deletions
|
|
@ -15,14 +15,7 @@ public class doxygen_code_blocks_runme {
|
||||||
|
|
||||||
public static void main(String argv[])
|
public static void main(String argv[])
|
||||||
{
|
{
|
||||||
/*
|
CommentParser.parse("doxygen_code_blocks");
|
||||||
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_code_blocks runtime test",
|
|
||||||
"CommentParser",
|
|
||||||
new String[]{"-quiet", "doxygen_code_blocks"});
|
|
||||||
|
|
||||||
HashMap<String, String> wantedComments = new HashMap<String, String>();
|
HashMap<String, String> wantedComments = new HashMap<String, String>();
|
||||||
|
|
||||||
|
|
@ -78,6 +71,6 @@ public class doxygen_code_blocks_runme {
|
||||||
"");
|
"");
|
||||||
|
|
||||||
// and ask the parser to check comments for us
|
// and ask the parser to check comments for us
|
||||||
System.exit(parser.check(wantedComments));
|
System.exit(CommentParser.check(wantedComments));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue