summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Klopcic <markok3.14@gmail.com>2013-04-22 23:08:50 +0200
committerMarko Klopcic <markok3.14@gmail.com>2013-04-22 23:08:50 +0200
commit1bf26f216d5333ff29a083bed3ce95b57cc201f0 (patch)
tree331a67d1e402e00eef7e55146eaf7f3c2a525745
parentec3240ecfd21a20739f84ac0a06717a34f68732b (diff)
downloadswig-gsoc2012-doxygen.tar.gz
tests updated according to fix for the link tag'gsoc2012-doxygen
-rw-r--r--Examples/test-suite/doxygen_parsing.i4
-rw-r--r--Examples/test-suite/java/doxygen_parsing_runme.java5
-rwxr-xr-xExamples/test-suite/python/doxygen_parsing_runme.py4
3 files changed, 9 insertions, 4 deletions
diff --git a/Examples/test-suite/doxygen_parsing.i b/Examples/test-suite/doxygen_parsing.i
index b4579c886..d94c60222 100644
--- a/Examples/test-suite/doxygen_parsing.i
+++ b/Examples/test-suite/doxygen_parsing.i
@@ -51,7 +51,9 @@ public:
//!< with details
/**
- * The class method comment
+ * The class method comment.
+ *
+ * \link SomeAnotherClass#classMethodExtended(int, int) a link text \endlink
*/
void classMethod()
{
diff --git a/Examples/test-suite/java/doxygen_parsing_runme.java b/Examples/test-suite/java/doxygen_parsing_runme.java
index ec9390849..7a8b0fae9 100644
--- a/Examples/test-suite/java/doxygen_parsing_runme.java
+++ b/Examples/test-suite/java/doxygen_parsing_runme.java
@@ -111,8 +111,9 @@ public class doxygen_parsing_runme {
"The class attribute post-comment with details \n" +
"");
wantedComments.put("doxygen_parsing.SomeAnotherClass.classMethod()",
- " The class method comment \n" +
- " \n" +
+ " The class method comment.<br>\n" +
+ " <br>\n" +
+ " {@link SomeAnotherClass#classMethodExtended(int,int) a link text }\n" +
"");
wantedComments.put("doxygen_parsing.SomeAnotherStruct.structMethodExtended2(int, int)",
" The struct method with parameter \n" +
diff --git a/Examples/test-suite/python/doxygen_parsing_runme.py b/Examples/test-suite/python/doxygen_parsing_runme.py
index ccf03797c..1ad95ff75 100755
--- a/Examples/test-suite/python/doxygen_parsing_runme.py
+++ b/Examples/test-suite/python/doxygen_parsing_runme.py
@@ -19,7 +19,9 @@ r"""
""")
commentVerifier.check(doxygen_parsing.SomeAnotherClass.classMethod.__doc__,
r"""
- The class method comment
+ The class method comment.
+
+ SomeAnotherClass#classMethodExtended(int, int) a link text
""")
commentVerifier.check(doxygen_parsing.SomeAnotherClass.classMethodExtended.__doc__,
r"""