Enhanced and unified all java doxygen tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
32ac8c0be4
commit
4c293c8282
7 changed files with 333 additions and 60 deletions
|
|
@ -25,14 +25,35 @@ public class doxygen_parsing_enums_proper_runme {
|
|||
|
||||
HashMap<String, String> wantedComments = new HashMap<String, String>();
|
||||
|
||||
wantedComments.put("SomeAnotherEnum", " Testing comments before enum items \n");
|
||||
wantedComments.put("SOME_ITEM_1", " The comment for the first item \n");
|
||||
wantedComments.put("SOME_ITEM_2", " The comment for the second item \n");
|
||||
wantedComments.put("SOME_ITEM_3", " The comment for the third item \n");
|
||||
wantedComments.put("SomeAnotherEnum2", " Testing comments after enum items \n");
|
||||
wantedComments.put("SOME_ITEM_10", " Post comment for the first item \n");
|
||||
wantedComments.put("SOME_ITEM_20", " Post comment for the second item \n");
|
||||
wantedComments.put("SOME_ITEM_30", " Post comment for the third item \n");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum2.SOME_ITEM_10",
|
||||
"Post comment for the first item \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum.SOME_ITEM_1",
|
||||
" The comment for the first item \n" +
|
||||
" \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum",
|
||||
" Testing comments before enum items \n" +
|
||||
" \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum2.SOME_ITEM_30",
|
||||
"Post comment for the third item \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum2",
|
||||
" Testing comments after enum items \n" +
|
||||
" \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum.SOME_ITEM_3",
|
||||
" The comment for the third item \n" +
|
||||
" \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum.SOME_ITEM_2",
|
||||
" The comment for the second item \n" +
|
||||
" \n" +
|
||||
"");
|
||||
wantedComments.put("doxygen_parsing_enums_proper.SomeAnotherEnum2.SOME_ITEM_20",
|
||||
"Post comment for the second item \n" +
|
||||
"");
|
||||
|
||||
// and ask the parser to check comments for us
|
||||
System.exit(parser.check(wantedComments));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue