Commit Graph

14 Commits

Author SHA1 Message Date
Vadim Zeitlin 66a7826192 Rewrite Doxygen unit tests for Java using Java 9 API
In particular, do not use com.sun.javadoc deprecated since Java 9 and
finally removed in Java 13, to allow the tests to run under modern JRE.

They don't run under Java 8 and earlier any more, but this shouldn't be
a huge problem nowadays and as SWIG output is independent from the Java
version used, it's enough to test it with modern Java versions.

Note that the tests themselves were changed only in the most minimal
way, to adapt them to the new way of running javadoc (which is now also
integrated into CommentParser itself instead of being duplicated in
every test).
2019-12-18 02:45:06 +01:00
Marko Klopcic 3b7908fa6e fixed leading spaces for the second row of table in pydoc, sources formatted 2013-02-23 15:20:27 +01:00
Marko Klopcic fa8fc4baf3 all doxygen tests pass 2013-02-15 23:05:14 +01:00
Marko Klopcic 0d66568ba3 minor refactoring of CommentParser.java 2013-01-29 08:39:35 +01:00
Marko Klopcic 9a1bb671c1 fixed bug with caption in command 'image' 2013-01-27 22:18:06 +01:00
Marko Klopcic f6fc808534 fixed handling of < and > when they are not used for html tag 2013-01-21 22:22:02 +01:00
Marko Klopcic 4955cdaac6 added handling of HTML entities 2013-01-18 22:22:22 +01:00
Marko Klopcic 13d2dad679 added tests for HTML tags, bugs in HTML tags fixed 2013-01-18 21:21:12 +01:00
Marko Klopcic f25d03612b added the missing doxy command 'example' 2013-01-17 23:17:06 +01:00
Marko Klopcic 7984516b31 implemented translation of HTML tags - they are handled as a special class of commands 2013-01-16 23:15:14 +01:00
Marko Klopcic 49dddb3bd1 updated test doxygen_translate, but there is one bug with unordered list 2013-01-13 22:49:54 +01:00
Dmitry Kabak 5fe88acdfb Forgot to escape special HTML-chars in JavaDocConverter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-29 11:37:38 +00:00
Dmitry Kabak 4c293c8282 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
2012-07-23 11:23:47 +00:00
Dmitry Kabak ff0ec620b2 Added runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-doxygen@13328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-16 19:51:43 +00:00