fixed doxy documentation (also shortened lines), added test for discovered bug reltaed to nested enums

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marko Klopcic 2012-08-28 20:59:32 +00:00
commit e62580acb8
3 changed files with 181 additions and 90 deletions

View file

@ -98,7 +98,27 @@ public class doxygen_misc_constructs_runme {
" {@link Connection::getId() }<br> \n" +
" \n" +
"");
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum",
" Class description.\n" +
" \n");
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.ENested",
" Enum description.\n" +
" \n");
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.ENested.ONE",
" desc of one\n" +
" \n");
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.ENested.TWO",
" desc of two\n" +
" \n");
wantedComments.put("doxygen_misc_constructs.ClassWithNestedEnum.ENested.THREE",
" desc of three\n" +
" \n");
// and ask the parser to check comments for us
System.exit(parser.check(wantedComments));
}