diff --git a/Examples/test-suite/java/CommentParser.java b/Examples/test-suite/java/CommentParser.java
index 1d61f16b1..c8adc1d1e 100644
--- a/Examples/test-suite/java/CommentParser.java
+++ b/Examples/test-suite/java/CommentParser.java
@@ -56,10 +56,18 @@ public class CommentParser {
actualStr = actualStr.replace(" ", "");
actualStr = actualStr.replaceAll("\t", "");
actualStr = actualStr.replace("\n", "");
+
+ // Removing of
is temporary solution, since adding of
+ //
tag requires changes in all tests. However,
+ // tag should be added more selectively and when this is
+ // implemented, tests should be updated.
+ actualStr = actualStr.replace("
", "");
+
if (wantedStr != null) {
wantedStr = wantedStr.replace(" ", "");
wantedStr = wantedStr.replace("\t", "");
wantedStr = wantedStr.replace("\n", "");
+ wantedStr = wantedStr.replace("
", "");
}
/* The following lines replace multiple whitespaces with a single one.
Although this would be more exact testing, it would also require
@@ -92,7 +100,7 @@ public class CommentParser {
// write translated string to file
BufferedWriter gotFile = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(gotFileName)));
- gotFile.write(e.getValue());
+ gotFile.write(e.getValue().replace("
", ""));
gotFile.close();
} catch (IOException ex) {
System.out.println("Error when writing output to file: " + ex);
diff --git a/Examples/test-suite/java/doxygen_translate_all_tags_runme.java b/Examples/test-suite/java/doxygen_translate_all_tags_runme.java
index da05d51f6..8bd65224f 100644
--- a/Examples/test-suite/java/doxygen_translate_all_tags_runme.java
+++ b/Examples/test-suite/java/doxygen_translate_all_tags_runme.java
@@ -27,7 +27,8 @@ public class doxygen_translate_all_tags_runme {
HashMap wantedComments = new HashMap();
wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func01(int)",
- " Hello \n\n\n\n\n\n" +
+ " Hello \n\n\n" +
+ " \n\n\n" +
" some list item\n\n" +
" This is attention!\n" +
" You were warned!\n" +
@@ -113,9 +114,9 @@ public class doxygen_translate_all_tags_runme {
wantedComments.put("doxygen_translate_all_tags.doxygen_translate_all_tags.func08(int)",
"\n" +
"Text after anchor.\n" +
- "Anchor description\n" +
- "someAnchor\n" +
- "someAnchor\n" +
+ "Anchor description\n" +
+ "someAnchor not quoted text is not part of ref tag\n" +
+ "someAnchor\n" +
" Remarks: Some remark text \n" +
" Remarks: Another remarks section \n" +
" @return Whatever \n" +
diff --git a/Examples/test-suite/python/doxygen_translate_all_tags_runme.py b/Examples/test-suite/python/doxygen_translate_all_tags_runme.py
index 65c74b2ba..053ebc7ec 100755
--- a/Examples/test-suite/python/doxygen_translate_all_tags_runme.py
+++ b/Examples/test-suite/python/doxygen_translate_all_tags_runme.py
@@ -232,9 +232,24 @@ commentVerifier.check(doxygen_translate_all_tags.func08.__doc__,
r"""
Text after anchor.
+
+
+
+
+
'Anchor description'
+
+ 'someAnchor' not quoted text is not part of ref tag
+
'someAnchor'
- 'someAnchor'
+
+
+
+
+
+
+
+
Remarks: Some remark text