Translation of HTML tags to Python almost finished
This commit is contained in:
parent
560dedb6c0
commit
0b6bc80038
5 changed files with 216 additions and 137 deletions
42
Examples/test-suite/python/doxygen_translate_links_runme.py
Normal file
42
Examples/test-suite/python/doxygen_translate_links_runme.py
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#!/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()
|
||||
|
||||
""")
|
||||
Loading…
Add table
Add a link
Reference in a new issue