This is unnecessary and inconsistent with "builtin" case in which the docstrings are not indented in the generated C++ code, thus making it impossible to write tests working in both cases. Most of the changes in this commit simply remove the extra whitespace from the expected values in the tests.
41 lines
686 B
Python
41 lines
686 B
Python
#!/usr/bin/python
|
|
|
|
import doxygen_translate_links
|
|
import string
|
|
import sys
|
|
import commentVerifier
|
|
|
|
|
|
commentVerifier.check(doxygen_translate_links.function.__doc__,
|
|
r"""
|
|
Testing typenames converting in @ link
|
|
|
|
superFunc(int,std::string)
|
|
Test for std_string member
|
|
|
|
|
|
superFunc(int,long,void*)
|
|
Test for simple types
|
|
|
|
|
|
superFunc(Shape::superType*)
|
|
Test for custom types
|
|
|
|
|
|
superFunc(int**[13])
|
|
Test for complex types
|
|
|
|
|
|
same works for 'See also:' links:
|
|
|
|
See also: superFunc(int,std::string)
|
|
See also: superFunc(int,long,void*)
|
|
See also: superFunc(Shape::superType*)
|
|
See also: superFunc(int**[13])
|
|
|
|
some failing params:
|
|
|
|
See also: superFunc()
|
|
See also: superFunc()
|
|
See also: superFunc()
|
|
""")
|