Don't indent Doxygen doc strings in generated Python code.

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.
This commit is contained in:
Vadim Zeitlin 2014-12-15 12:58:03 +01:00
commit 410b508e9a
9 changed files with 471 additions and 535 deletions

View file

@ -8,35 +8,34 @@ import commentVerifier
commentVerifier.check(doxygen_translate_links.function.__doc__,
r"""
Testing typenames converting in @ link
Testing typenames converting in @ link
superFunc(int,std::string)
Test for std_string member
superFunc(int,std::string)
Test for std_string member
superFunc(int,long,void*)
Test for simple types
superFunc(int,long,void*)
Test for simple types
superFunc(Shape::superType*)
Test for custom types
superFunc(Shape::superType*)
Test for custom types
superFunc(int**[13])
Test for complex types
superFunc(int**[13])
Test for complex types
same works for 'See also:' links:
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])
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:
some failing params:
See also: superFunc()
See also: superFunc()
See also: superFunc()
""")
See also: superFunc()
See also: superFunc()
See also: superFunc()
""")