Follow up r87220. r86795 tests are now embedded into PreprocessorTest.php
authorPlatonides <platonides@users.mediawiki.org>
Tue, 3 May 2011 19:53:13 +0000 (19:53 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 3 May 2011 19:53:13 +0000 (19:53 +0000)
tests/parser/preprocess/Headings.expected [deleted file]
tests/parser/preprocess/Headings.txt [deleted file]
tests/phpunit/includes/parser/PreprocessorTest.php

diff --git a/tests/parser/preprocess/Headings.expected b/tests/parser/preprocess/Headings.expected
deleted file mode 100644 (file)
index ab3103c..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<root>These should become headings:
-
-<h level="2" i="1">== h ==<comment>&lt;!--c1--&gt;</comment></h>
-
-<h level="2" i="2">== h ==     <comment>&lt;!--c1--&gt;</comment></h>
-
-<h level="2" i="3">== h ==<comment>&lt;!--c1--&gt;</comment>   </h>
-
-<h level="2" i="4">== h ==     <comment>&lt;!--c1--&gt;</comment>      </h>
-
-<h level="2" i="5">== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment></h>
-
-<h level="2" i="6">== h ==     <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment></h>
-
-<h level="2" i="7">== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment>         </h>
-
-<h level="2" i="8">== h ==     <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment>    </h>
-
-<h level="2" i="9">== h ==     <comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment></h>
-
-<h level="2" i="10">== h ==<comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment>      </h>
-
-<h level="2" i="11">== h ==    <comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment>  </h>
-
-<h level="2" i="12">== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="13">== h ==<comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="14">== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="15">== h ==<comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="16">== h ==  <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="17">== h ==  <comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="18">== h ==  <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="19">== h ==  <comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment></h>
-
-<h level="2" i="20">== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="21">== h ==<comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="22">== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="23">== h ==<comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="24">== h ==  <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="25">== h ==  <comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="26">== h ==  <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment>  </h>
-
-<h level="2" i="27">== h ==  <comment>&lt;!--c1--&gt;</comment>  <comment>&lt;!--c2--&gt;</comment>  <comment>&lt;!--c3--&gt;</comment>  </h>
-
-
-Those are not working:
-
-== h ==<comment>&lt;!--c1--&gt;</comment>      <comment>&lt;!--c2--&gt;</comment>
-
-== h ==        <comment>&lt;!--c1--&gt;</comment>      <comment>&lt;!--c2--&gt;</comment>
-
-== h ==<comment>&lt;!--c1--&gt;</comment>      <comment>&lt;!--c2--&gt;</comment>      
-
-== h == x <comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment>  
-
-== h ==<comment>&lt;!--c1--&gt;</comment> x <comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment>  
-
-== h ==<comment>&lt;!--c1--&gt;</comment><comment>&lt;!--c2--&gt;</comment><comment>&lt;!--c3--&gt;</comment> x 
-</root>
\ No newline at end of file
diff --git a/tests/parser/preprocess/Headings.txt b/tests/parser/preprocess/Headings.txt
deleted file mode 100644 (file)
index 940afbe..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-These should become headings:
-
-== h ==<!--c1-->
-
-== h ==        <!--c1-->
-
-== h ==<!--c1-->       
-
-== h ==        <!--c1-->       
-
-== h ==<!--c1--><!--c2-->
-
-== h ==        <!--c1--><!--c2-->
-
-== h ==<!--c1--><!--c2-->      
-
-== h ==        <!--c1--><!--c2-->      
-
-== h ==        <!--c1-->  <!--c2-->
-
-== h ==<!--c1-->  <!--c2-->    
-
-== h ==        <!--c1-->  <!--c2-->    
-
-== h ==<!--c1--><!--c2--><!--c3-->
-
-== h ==<!--c1-->  <!--c2--><!--c3-->
-
-== h ==<!--c1--><!--c2-->  <!--c3-->
-
-== h ==<!--c1-->  <!--c2-->  <!--c3-->
-
-== h ==  <!--c1--><!--c2--><!--c3-->
-
-== h ==  <!--c1-->  <!--c2--><!--c3-->
-
-== h ==  <!--c1--><!--c2-->  <!--c3-->
-
-== h ==  <!--c1-->  <!--c2-->  <!--c3-->
-
-== h ==<!--c1--><!--c2--><!--c3-->  
-
-== h ==<!--c1-->  <!--c2--><!--c3-->  
-
-== h ==<!--c1--><!--c2-->  <!--c3-->  
-
-== h ==<!--c1-->  <!--c2-->  <!--c3-->  
-
-== h ==  <!--c1--><!--c2--><!--c3-->  
-
-== h ==  <!--c1-->  <!--c2--><!--c3-->  
-
-== h ==  <!--c1--><!--c2-->  <!--c3-->  
-
-== h ==  <!--c1-->  <!--c2-->  <!--c3-->  
-
-
-Those are not working:
-
-== h ==<!--c1-->       <!--c2-->
-
-== h ==        <!--c1-->       <!--c2-->
-
-== h ==<!--c1-->       <!--c2-->       
-
-== h == x <!--c1--><!--c2--><!--c3-->  
-
-== h ==<!--c1--> x <!--c2--><!--c3-->  
-
-== h ==<!--c1--><!--c2--><!--c3--> x 
index 182e7f2..dd4d4bd 100644 (file)
@@ -119,7 +119,6 @@ class PreprocessorTest extends MediaWikiTestCase {
                        array( "Factorial" ), # http://en.wikipedia.org/w/index.php?title=Template:Factorial&oldid=98548758 GFDL + CC-BY-SA by Polonium
                        array( "All_system_messages" ), # http://tl.wiktionary.org/w/index.php?title=Suleras:All_system_messages&oldid=2765 GPL text generated by MediaWiki
                        array( "Fundraising" ), # http://tl.wiktionary.org/w/index.php?title=MediaWiki:Sitenotice&oldid=5716 GFDL + CC-BY-SA, copied there by Sky Harbor.
-                       array( "Headings" ), # https://bugzilla.wikimedia.org/28642
                );
        }