HTML tags and entities tests pass for Python
This commit is contained in:
parent
0b6bc80038
commit
9b52972c24
2 changed files with 44 additions and 35 deletions
|
|
@ -143,20 +143,20 @@ int function(int a, float b)
|
||||||
* </dl>
|
* </dl>
|
||||||
*
|
*
|
||||||
* <DFN>Starts a piece of text displayed in a typewriter font.
|
* <DFN>Starts a piece of text displayed in a typewriter font.
|
||||||
* </DFN>
|
* </DFN>
|
||||||
* <DIV>Starts a section with a specific style (HTML only)
|
* <DIV>Starts a section with a specific style (HTML only)
|
||||||
* </DIV>
|
* </DIV>
|
||||||
* <EM>Starts a piece of text displayed in an italic font.
|
* <EM>Starts a piece of text displayed in an italic font.</EM>
|
||||||
* </EM>
|
*
|
||||||
* <FORM>'Form' does not generate any output.
|
* <FORM>'Form' does not generate any output.
|
||||||
* </FORM>
|
* </FORM>
|
||||||
* <HR>
|
* <HR>
|
||||||
* <H1>Heading 1
|
* <H1>Heading 1
|
||||||
* </H1>
|
* </H1>
|
||||||
* <H2>Heading 2
|
* <H2>Heading 2
|
||||||
* </H2>
|
* </H2>
|
||||||
* <H3>Heading 3
|
* <H3>Heading 3
|
||||||
* </H3>
|
* </H3>
|
||||||
* <I>Starts a piece of text displayed in an italic font.</I>
|
* <I>Starts a piece of text displayed in an italic font.</I>
|
||||||
* <INPUT>Input tag.
|
* <INPUT>Input tag.
|
||||||
* <IMG src="slika.png">
|
* <IMG src="slika.png">
|
||||||
|
|
@ -165,12 +165,12 @@ int function(int a, float b)
|
||||||
* </MULTICOL>
|
* </MULTICOL>
|
||||||
*
|
*
|
||||||
* <OL>
|
* <OL>
|
||||||
* <LI>List item 1.</LI>
|
* <LI>List item 1.</LI>
|
||||||
* <LI>List item 2.</LI>
|
* <LI>List item 2.</LI>
|
||||||
* </OL>
|
* </OL>
|
||||||
*
|
*
|
||||||
* <P>Starts a new paragraph.
|
* <P>Starts a new paragraph.
|
||||||
* </P>
|
* </P>
|
||||||
* <PRE>Starts a preformatted fragment.
|
* <PRE>Starts a preformatted fragment.
|
||||||
* </PRE>
|
* </PRE>
|
||||||
* <SMALL>Starts a section of text displayed in a smaller font.
|
* <SMALL>Starts a section of text displayed in a smaller font.
|
||||||
|
|
@ -188,16 +188,16 @@ int function(int a, float b)
|
||||||
<tr><td> horse </td><td> parrot </td></tr>
|
<tr><td> horse </td><td> parrot </td></tr>
|
||||||
* </table>
|
* </table>
|
||||||
*
|
*
|
||||||
* <TT> Starts a piece of text displayed in a typewriter font.
|
* <TT>Starts a piece of text displayed in a typewriter font.
|
||||||
* </TT>
|
* </TT>
|
||||||
* <KBD> Starts a piece of text displayed in a typewriter font.
|
* <KBD>Starts a piece of text displayed in a typewriter font.
|
||||||
* </KBD>
|
* </KBD>
|
||||||
*
|
*
|
||||||
* <UL> Starts an unnumbered item list.
|
* <UL>
|
||||||
* <LI> List item 1.</LI>
|
* <LI>List item 1.</LI>
|
||||||
* <LI> List item 2.</LI>
|
* <LI>List item 2.</LI>
|
||||||
* <LI> List item 3.</LI>
|
* <LI>List item 3.</LI>
|
||||||
* </UL> Ends an unnumbered item list.
|
* </UL>
|
||||||
*
|
*
|
||||||
* <VAR>Starts a piece of text displayed in an italic font.</VAR>
|
* <VAR>Starts a piece of text displayed in an italic font.</VAR>
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -137,10 +137,10 @@ r"""
|
||||||
commentVerifier.check(doxygen_translate.htmlFunction.__doc__,
|
commentVerifier.check(doxygen_translate.htmlFunction.__doc__,
|
||||||
r"""
|
r"""
|
||||||
Test for html tags. See Doxygen doc for list of tags recognized by Doxygen.
|
Test for html tags. See Doxygen doc for list of tags recognized by Doxygen.
|
||||||
|
|
||||||
This is link (http://acme.com/index.html)
|
This is link ("http://acme.com/index.html")
|
||||||
__bold__
|
__bold__
|
||||||
Quote:
|
Quote:
|
||||||
Quotation block.
|
Quotation block.
|
||||||
("http://www.worldwildlife.org/who/index.html")
|
("http://www.worldwildlife.org/who/index.html")
|
||||||
|
|
||||||
|
|
@ -154,7 +154,7 @@ r"""
|
||||||
|
|
||||||
|
|
||||||
Starts a piece of text displayed in a typewriter font.
|
Starts a piece of text displayed in a typewriter font.
|
||||||
|
|
||||||
Starts a section with a specific style (HTML only)
|
Starts a section with a specific style (HTML only)
|
||||||
|
|
||||||
__Starts a piece of text displayed in an italic font.__
|
__Starts a piece of text displayed in an italic font.__
|
||||||
|
|
@ -162,6 +162,7 @@ r"""
|
||||||
'Form' does not generate any output.
|
'Form' does not generate any output.
|
||||||
|
|
||||||
--------------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
# Heading 1
|
# Heading 1
|
||||||
|
|
||||||
## Heading 2
|
## Heading 2
|
||||||
|
|
@ -170,14 +171,17 @@ r"""
|
||||||
|
|
||||||
_Starts a piece of text displayed in an italic font._
|
_Starts a piece of text displayed in an italic font._
|
||||||
Input tag.
|
Input tag.
|
||||||
Image:src="slika.png">
|
Image: src="slika.png"
|
||||||
Meta tag.
|
Meta tag.
|
||||||
Multicol is ignored by doxygen.
|
Multicol is ignored by doxygen.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- List item 1.
|
- List item 1.
|
||||||
- List item 2.
|
- List item 2.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Starts a new paragraph.
|
Starts a new paragraph.
|
||||||
|
|
||||||
Starts a preformatted fragment.
|
Starts a preformatted fragment.
|
||||||
|
|
@ -185,42 +189,47 @@ r"""
|
||||||
Starts a section of text displayed in a smaller font.
|
Starts a section of text displayed in a smaller font.
|
||||||
|
|
||||||
'Starts an inline text fragment with a specific style.'
|
'Starts an inline text fragment with a specific style.'
|
||||||
|
|
||||||
__Starts a section of bold text.__
|
__Starts a section of bold text.__
|
||||||
Starts a piece of text displayed in subscript.
|
Starts a piece of text displayed in subscript.
|
||||||
Starts a piece of text displayed in superscript.
|
Starts a piece of text displayed in superscript.
|
||||||
|
|
||||||
|
|
||||||
Animals
|
Animals
|
||||||
| Column 1 | Column 2 |
|
| Column 1 | Column 2 |
|
||||||
-----------------------
|
-----------------------
|
||||||
| cow | dog |
|
| cow | dog |
|
||||||
| cat | mouse |
|
| cat | mouse |
|
||||||
| horse | parrot |
|
| horse | parrot |
|
||||||
|
|
||||||
|
|
||||||
Starts a piece of text displayed in a typewriter font.
|
Starts a piece of text displayed in a typewriter font.
|
||||||
|
|
||||||
Starts a piece of text displayed in a typewriter font.
|
Starts a piece of text displayed in a typewriter font.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- List item 1.
|
- List item 1.
|
||||||
- List item 2.
|
- List item 2.
|
||||||
- List item 3.
|
- List item 3.
|
||||||
|
|
||||||
|
|
||||||
_Starts a piece of text displayed in an italic font._
|
_Starts a piece of text displayed in an italic font._
|
||||||
|
|
||||||
|
|
||||||
<u>underlined \b bold text - doxy commands are ignored inside 'htmlonly' section </u>
|
<u>underlined \b bold text - doxy commands are ignored inside 'htmlonly' section </u>
|
||||||
|
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
|
||||||
commentVerifier.check(doxygen_translate.htmlEntitiesFunction.__doc__,
|
commentVerifier.check(doxygen_translate.htmlEntitiesFunction.__doc__,
|
||||||
r"""
|
r"""
|
||||||
All entities are treated as commands (C); TM (R);
|
All entities are treated as commands (C) TM (R)
|
||||||
should work also<in text
|
should work also<in text
|
||||||
>
|
>
|
||||||
&
|
&
|
||||||
'
|
'
|
||||||
"
|
"
|
||||||
'
|
`
|
||||||
'
|
'
|
||||||
"
|
"
|
||||||
"
|
"
|
||||||
|
|
@ -235,6 +244,6 @@ r"""
|
||||||
>=
|
>=
|
||||||
<--
|
<--
|
||||||
-->
|
-->
|
||||||
Not an html entity - ignored by Doxygen.
|
Not an html entity - ignored by Doxygen.
|
||||||
Not an &text html entity - ampersand is replaced with entity.
|
Not an &text html entity - ampersand is replaced with entity.
|
||||||
""")
|
""")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue