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:
Dmitry Kabak 2012-07-23 11:23:47 +00:00
commit 4c293c8282
7 changed files with 333 additions and 60 deletions

View file

@ -25,7 +25,8 @@ public class doxygen_translate_runme {
HashMap<String, String> wantedComments = new HashMap<String, String>();
wantedComments.put("function", " <i>Hello </i>\n" +
wantedComments.put("doxygen_translate.doxygen_translate.function(int, float)",
" <i>Hello </i>\n" +
" \n" +
" <li>some list item \n" +
" \n" +
@ -91,8 +92,7 @@ public class doxygen_translate_runme {
" Note: Here \n" +
" is the note! \n" +
" \n" +
" This is an overloaded member function, provided for convenience. \n" +
" It differs from the above function only in what argument(s) it accepts.\n" +
" This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.\n" +
" \n" +
" <code>someword </code>\n" +
" \n" +
@ -141,8 +141,8 @@ public class doxygen_translate_runme {
" $ @ \\ & ~ < > # % \" . :: \n" +
" \n" +
" And here goes simple text \n" +
" \n");
" \n" +
"");
// and ask the parser to check comments for us
System.exit(parser.check(wantedComments));
}