isystem.connect should wait for running \n" +
+ " instances to respond. Only one of lfWaitXXX flags from IConnect::ELaunchFlags \n" +
+ " may be specified. \n" +
+ " \n" +
+ "");
+ wantedComments.put("doxygen_tricky_constructs.CConnectionConfig",
+ " This class contains information for connection to winIDEA. Its methods \n" +
+ " return reference to self, so we can use it like this: \n" +
+ " \n" + + " CConnectionConfig config = new CConnectionConfig(); \n" + + " config.discoveryPort(5534).dllPath(\"C: \\ yWinIDEA \\ onnect.dll\").id(\"main\"); \n" + + "\n" + + " \n" + + " All parameters are optional. Set only what is required, default values are \n" + + " used for unspecified parameters. \n" + + "
\n" +
+ " \n" +
+ " {@link advancedWinIDEALaunching.py Python example. }
\n" +
+ " \n" +
+ "");
+ wantedComments.put("doxygen_tricky_constructs.doxygen_tricky_constructs.getAddress(doxygen_tricky_constructs.SWIGTYPE_p_int, int, boolean)",
+ " Returns address of file line. \n" +
+ " \n" +
+ " @param fileName name of the file, where the source line is located \n" +
+ " @param line line number \n" +
+ " @param isGetSize if set, for every object location both address and size are returned \n" +
+ " \n" +
+ " {@link Connection::getId() }
\n" +
+ " \n" +
+ "");
+ wantedComments.put("doxygen_tricky_constructs.doxygen_tricky_constructs.setG_counter(char)",
+ " Tag endlink must be recognized also when followed by nonspace charater. \n" +
+ " \n" +
+ " {@link Connection::getId() }
\n" +
+ " \n" +
+ "");
+
+ // and ask the parser to check comments for us
+ System.exit(parser.check(wantedComments));
+ }
+}
\ No newline at end of file
diff --git a/Examples/test-suite/python/doxygen_tricky_constructs_runme.py b/Examples/test-suite/python/doxygen_tricky_constructs_runme.py
new file mode 100644
index 000000000..156a279b7
--- /dev/null
+++ b/Examples/test-suite/python/doxygen_tricky_constructs_runme.py
@@ -0,0 +1,54 @@
+#!/usr/bin/python
+
+import doxygen_tricky_constructs
+import string
+import sys
+
+def check(got, expected):
+ #if got is Null
+ # raise RuntimeError('Expected comment string\n')
+ gotStr = string.replace(got, ' ', '')
+ gotStr = string.replace(gotStr, '\n', '')
+ gotStr = string.replace(gotStr, '\t', '')
+ expectedStr = string.replace(expected, ' ', '')
+ expectedStr = string.replace(expectedStr, '\n', '')
+ expectedStr = string.replace(expectedStr, '\t', '')
+ if not gotStr == expectedStr:
+ raise RuntimeError("Expected: [" + str(expected) + "]\n" + "Got : [" + str(got) + "]\n")
+
+check(doxygen_tricky_constructs.getAddress.__doc__, ''
+'Returns address of file line.'
+''
+' Arguments:'
+' fileName (int &) -- name of the file, where the source'
+' line is located'
+' line (int) -- line number'
+' isGetSize (bool) -- if set, for every object location'
+' both address and size are returned'
+''
+''
+' Connection::getId()
'
+)
+check(doxygen_tricky_constructs.CConnectionConfig.__doc__, ''
+' This class contains information for connection to winIDEA. Its methods'
+' return reference to self, so we can use it like this:'
+'
'
+' CConnectionConfig config = new CConnectionConfig();'
+' config.discoveryPort(5534).dllPath("C: \yWinIDEA \onnect.dll").id("main");'
+' '
+''
+' All parameters are optional. Set only what is required, default values are'
+' used for unspecified parameters.'
+' '
+''
+' advancedWinIDEALaunching.py Python example.
'
+''
+)
+check(doxygen_tricky_constructs.waitTime.__doc__, ''
+' Determines how long the isystem.connect should wait for running'
+' instances to respond. Only one of lfWaitXXX flags from IConnect::ELaunchFlags'
+' may be specified.'
+)
+check(doxygen_tricky_constructs.getConnection.__doc__, ''
+'This class manages connection.'
+)
\ No newline at end of file