r14582 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14581‎ | r14582 | r14583 >
Date:21:51, 5 June 2006
Author:brion
Status:old
Tags:
Comment:
Section extraction tests for bugs 2607, 3342, 5272
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -4780,6 +4780,66 @@
47814781 !!end
47824782
47834783
 4784+!! test
 4785+Section extraction, mixed wiki and html (section 1) (bug 2607)
 4786+!! options
 4787+section=1
 4788+!! input
 4789+<h2>1</h2>
 4790+one
 4791+==2==
 4792+two
 4793+==3==
 4794+three
 4795+!! result
 4796+<h2>1</h2>
 4797+one
 4798+!! end
 4799+
 4800+!! test
 4801+Section extraction, mixed wiki and html (section 2) (bug 2607)
 4802+!! options
 4803+section=2
 4804+!! input
 4805+<h2>1</h2>
 4806+one
 4807+==2==
 4808+two
 4809+==3==
 4810+three
 4811+!! result
 4812+==2==
 4813+two
 4814+!! end
 4815+
 4816+
 4817+!! test
 4818+Section extraction, heading surrounded by <noinclude> (bug 3342)
 4819+!! options
 4820+section=1
 4821+!! input
 4822+<noinclude>==a==</noinclude>
 4823+text
 4824+!! result
 4825+<noinclude>==a==</noinclude>
 4826+text
 4827+!!end
 4828+
 4829+
 4830+!! test
 4831+Section extraction, HTML heading subsections (bug 5272)
 4832+!! options
 4833+section=1
 4834+!! input
 4835+<h2>a</h2>
 4836+<h3>aa</h3>
 4837+<h2>b</h2>
 4838+!! result
 4839+<h2>a</h2>
 4840+<h3>aa</h3>
 4841+!! end
 4842+
 4843+
47844844 #
47854845 #
47864846 #

Status & tagging log