Skip to content

Commit

Permalink
Parser test cases for bug 5497
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/git-svn-mirror/pushmi-svn-mirror/branches/REL1_6@14046 dd0e9695-b195-4be7-bd10-2dea1a65a6b6
  • Loading branch information
brion committed May 3, 2006
1 parent 8925b2f commit a5f4c97
Showing 1 changed file with 166 additions and 0 deletions.
166 changes: 166 additions & 0 deletions phase3/maintenance/parserTests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3754,6 +3754,172 @@ disabled
Something, but defenetly not <br id="9" />...
!! end

#
#
#

!! test
HTML bullet list, closed tags (bug 5497)
!! input
<ul>
<li>One</li>
<li>Two</li>
</ul>
!! result
<ul>
<li>One</li>
<li>Two</li>
</ul>

!! end

!! test
HTML bullet list, unclosed tags (bug 5497)
!! input
<ul>
<li>One
<li>Two
</ul>
!! result
<ul>
<li>One
</li><li>Two
</li></ul>

!! end

!! test
HTML ordered list, closed tags (bug 5497)
!! input
<ol>
<li>One</li>
<li>Two</li>
</ol>
!! result
<ol>
<li>One</li>
<li>Two</li>
</ol>

!! end

!! test
HTML ordered list, unclosed tags (bug 5497)
!! input
<ol>
<li>One
<li>Two
</ol>
!! result
<ol>
<li>One
</li><li>Two
</li></ol>

!! end

!! test
HTML nested bullet list, closed tags (bug 5497)
!! input
<ul>
<li>One</li>
<li>Two:
<ul>
<li>Sub-one</li>
<li>Sub-two</li>
</ul>
</li>
</ul>
!! result
<ul>
<li>One</li>
<li>Two:
<ul>
<li>Sub-one</li>
<li>Sub-two</li>
</ul>
</li>
</ul>

!! end

!! test
HTML nested bullet list, open tags (bug 5497)
!! input
<ul>
<li>One
<li>Two:
<ul>
<li>Sub-one
<li>Sub-two
</ul>
</li>
</ul>
!! result
<ul>
<li>One
</li><li>Two:
<ul>
<li>Sub-one
</li><li>Sub-two
</li></ul>
</li></ul>

!! end

!! test
HTML nested ordered list, closed tags (bug 5497)
!! input
<ol>
<li>One</li>
<li>Two:
<ol>
<li>Sub-one</li>
<li>Sub-two</li>
</ol>
</li>
</ol>
!! result
<ol>
<li>One</li>
<li>Two:
<ol>
<li>Sub-one</li>
<li>Sub-two</li>
</ol>
</li>
</ol>

!! end

!! test
HTML nested ordered list, open tags (bug 5497)
!! input
<ol>
<li>One
<li>Two:
<ol>
<li>Sub-one
<li>Sub-two
</ol>
</li>
</ol>
!! result
<ol>
<li>One
</li><li>Two:
<ol>
<li>Sub-one
</li><li>Sub-two
</li></ol>
</li></ol>

!! end

#
#
#

TODO:
more images
more tables
Expand Down

0 comments on commit a5f4c97

Please sign in to comment.