Make WordPress Core

Changeset 30454


Ignore:
Timestamp:
11/20/2014 02:33:13 PM (12 years ago)
Author:
nacin
Message:

Skip tests that were fixed in a later release. see #30284.

Location:
branches/3.7/tests/phpunit/tests/formatting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7/tests/phpunit/tests/formatting/LikeEscape.php

    r25002 r30454  
    99         */
    1010        function test_like_escape() {
    11 
     11                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    1212                $inputs = array(
    1313                        'howdy%', //Single Percent
  • branches/3.7/tests/phpunit/tests/formatting/WPTexturize.php

    r25002 r30454  
    1212        function test_disable() {
    1313                $this->assertEquals('<pre>---</pre>', wptexturize('<pre>---</pre>'));
    14                 $this->assertEquals('[a]a&#8211;b[code]---[/code]a&#8211;b[/a]', wptexturize('[a]a--b[code]---[/code]a--b[/a]'));
    1514                $this->assertEquals('<pre><code></code>--</pre>', wptexturize('<pre><code></code>--</pre>'));
    1615
    … …  
    7877         */
    7978        function test_quotes() {
     79                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    8080                $this->assertEquals('&#8220;Quoted String&#8221;', wptexturize('"Quoted String"'));
    8181                $this->assertEquals('Here is &#8220;<a href="http://example.com">a test with a link</a>&#8221;', wptexturize('Here is "<a href="http://example.com">a test with a link</a>"'));
    … …  
    108108         */
    109109        function test_quotes_before_numbers() {
     110                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    110111                $this->assertEquals('Class of &#8217;99', wptexturize("Class of '99"));
    111112                $this->assertEquals('Class of &#8217;99&#8217;s', wptexturize("Class of '99's"));
    … …  
    126127         */
    127128        function test_other_html() {
     129                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    128130                $this->assertEquals('&#8216;<strong>', wptexturize("'<strong>"));
    129131                $this->assertEquals('&#8216;<strong>Quoted Text</strong>&#8217;,', wptexturize("'<strong>Quoted Text</strong>',"));
    … …  
    150152         */
    151153        function test_wptexturize_quotes_around_numbers() {
     154                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    152155                $this->assertEquals('&#8220;12345&#8221;', wptexturize('"12345"'));
    153156                $this->assertEquals('&#8216;12345&#8217;', wptexturize('\'12345\''));
    … …  
    160163         */
    161164        function test_wptexturize_html_comments() {
     165                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    162166                $this->assertEquals('<!--[if !IE]>--><!--<![endif]-->', wptexturize('<!--[if !IE]>--><!--<![endif]-->'));
    163167                $this->assertEquals('<!--[if !IE]>"a 9\' plus a \'9\', maybe a 9\' \'9\' "<![endif]-->', wptexturize('<!--[if !IE]>"a 9\' plus a \'9\', maybe a 9\' \'9\' "<![endif]-->'));
    … …  
    170174         */
    171175        function test_entity_quote_cuddling() {
     176                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    172177                $this->assertEquals('&nbsp;&#8220;Testing&#8221;', wptexturize('&nbsp;"Testing"'));
    173178                $this->assertEquals('&#38;&#8220;Testing&#8221;', wptexturize('&#38;"Testing"'));
    … …  
    178183         */
    179184        function test_apostrophes_before_primes() {
     185                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    180186                $this->assertEquals( 'WordPress 3.5&#8217;s release date', wptexturize( "WordPress 3.5's release date" ) );
    181187        }
    … …  
    185191         */
    186192        function test_spaces_around_hyphens() {
    187                 $this->assertEquals( ' &#8211; ', wptexturize( ' - ' ) );
     193                $this->markTestSkipped( 'Ticket was fixed in a later release.' );
     194                $this->assertEquals( ' &#8211; ', wptexturize( ' - ' ) );
    188195                $this->assertEquals( '&nbsp;&#8211;&nbsp;', wptexturize( '&nbsp;-&nbsp;' ) );
    189196                $this->assertEquals( ' &#8211;&nbsp;', wptexturize( ' -&nbsp;' ) );
    190197                $this->assertEquals( '&nbsp;&#8211; ', wptexturize( '&nbsp;- ') );
    191198
    192                 $this->assertEquals( ' &#8212; ', wptexturize( ' -- ' ) ); 
     199                $this->assertEquals( ' &#8212; ', wptexturize( ' -- ' ) );
    193200                $this->assertEquals( '&nbsp;&#8212;&nbsp;', wptexturize( '&nbsp;--&nbsp;' ) );
    194201                $this->assertEquals( ' &#8212;&nbsp;', wptexturize( ' --&nbsp;' ) );
Note: See TracChangeset for help on using the changeset viewer.