summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Klopcic <markok3.14@gmail.com>2013-01-13 22:49:54 +0100
committerMarko Klopcic <markok3.14@gmail.com>2013-01-13 22:49:54 +0100
commit49dddb3bd19297e2078cb9a93055fed73e587cb0 (patch)
tree54607ebd9cdf8b8c88133741731df1aecb0f2e04
parent32f34e16be96de1df8fa428f556ebf37b115fe87 (diff)
downloadswig-49dddb3bd19297e2078cb9a93055fed73e587cb0.tar.gz
updated test doxygen_translate, but there is one bug with unordered list
-rw-r--r--Examples/test-suite/doxygen_misc_constructs.h1
-rw-r--r--Examples/test-suite/java/doxygen_translate_runme.java36
2 files changed, 19 insertions, 18 deletions
diff --git a/Examples/test-suite/doxygen_misc_constructs.h b/Examples/test-suite/doxygen_misc_constructs.h
index d22761a5e..ab97cc81d 100644
--- a/Examples/test-suite/doxygen_misc_constructs.h
+++ b/Examples/test-suite/doxygen_misc_constructs.h
@@ -56,6 +56,7 @@ void backslashB()
/**
* Backslash e at end of \e line froze SWIG \e
* with old comment parser.
+ * \arg some list item
*/
void backslashC()
{}
diff --git a/Examples/test-suite/java/doxygen_translate_runme.java b/Examples/test-suite/java/doxygen_translate_runme.java
index 8aa80a6ed..5ab448694 100644
--- a/Examples/test-suite/java/doxygen_translate_runme.java
+++ b/Examples/test-suite/java/doxygen_translate_runme.java
@@ -28,9 +28,9 @@ public class doxygen_translate_runme {
wantedComments.put("doxygen_translate.doxygen_translate.function(int, float)",
" <i>Hello </i>\n" +
" \n" +
- " <li>some list item \n" +
+ " <li>some list item</li>\n" +
" \n" +
- " </li>@author lots of them \n" +
+ " @author lots of them \n" +
" \n" +
" @author Zubr \n" +
" \n" +
@@ -57,28 +57,28 @@ public class doxygen_translate_runme {
" If: ANOTHERCONDITION {\n" +
" First part of comment \n" +
" If: SECONDCONDITION {\n" +
- " Nested condition text \n" +
- " }Else if: THIRDCONDITION {\n" +
- " The third condition text \n" +
- " }Else: {The last text block \n" +
- " }\n" +
- " }Else: {Second part of comment \n" +
+ " Nested condition text}\n" +
+ " Else if: THIRDCONDITION {\n" +
+ " The third condition text}\n" +
+ " Else: {The last text block}}\n" +
+ " \n" +
+ " Else: {Second part of comment \n" +
" If: CONDITION {\n" +
- " Second part extended \n" +
- " }\n" +
- " }\n" +
+ " Second part extended}}\n" +
+ " \n" +
+ " \n" +
" \n" +
" If not: SOMECONDITION {\n" +
- " This is printed if not \n" +
- " }\n" +
+ " This is printed if not}\n" +
+ " \n" +
" \n" +
" <img src=testImage.bmp alt=\"Hello, world!\" />\n" +
" \n" +
" <ul> \n" +
" \n" +
- " <li>Some unordered list \n" +
- " </li><li>With lots of items \n" +
- " </li><li>lots of lots of items \n" +
+ " <li>Some unordered list</li>\n" +
+ " <li>With lots of items</li>\n" +
+ " <li>lots of lots of items</li>\n" +
" \n" +
" </li></ul> \n" +
" \n" +
@@ -100,9 +100,9 @@ public class doxygen_translate_runme {
" \n" +
" <p alt=\"The paragraph title \">\n" +
" The paragraph text. \n" +
- " Maybe even multiline \n" +
+ " Maybe even multiline</p>\n" +
" \n" +
- " </p>@param a the first param \n" +
+ " @param a the first param \n" +
" \n" +
" Remarks: Some remark text \n" +
" \n" +