Make WordPress Core

Changeset 30453


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

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

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

Legend:

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

    r25002 r30453  
    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.8/tests/phpunit/tests/formatting/WPTexturize.php

    r25002 r30453  
    7878     */
    7979    function test_quotes() {
     80        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    8081        $this->assertEquals('“Quoted String”', wptexturize('"Quoted String"'));
    8182        $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>"'));
     
    108109     */
    109110    function test_quotes_before_numbers() {
     111        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    110112        $this->assertEquals('Class of &#8217;99', wptexturize("Class of '99"));
    111113        $this->assertEquals('Class of &#8217;99&#8217;s', wptexturize("Class of '99's"));
     
    126128     */
    127129    function test_other_html() {
     130        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    128131        $this->assertEquals('&#8216;<strong>', wptexturize("'<strong>"));
    129132        $this->assertEquals('&#8216;<strong>Quoted Text</strong>&#8217;,', wptexturize("'<strong>Quoted Text</strong>',"));
     
    150153     */
    151154    function test_wptexturize_quotes_around_numbers() {
     155        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    152156        $this->assertEquals('&#8220;12345&#8221;', wptexturize('"12345"'));
    153157        $this->assertEquals('&#8216;12345&#8217;', wptexturize('\'12345\''));
     
    160164     */
    161165    function test_wptexturize_html_comments() {
     166        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    162167        $this->assertEquals('<!--[if !IE]>--><!--<![endif]-->', wptexturize('<!--[if !IE]>--><!--<![endif]-->'));
    163168        $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]-->'));
     
    170175     */
    171176    function test_entity_quote_cuddling() {
     177        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    172178        $this->assertEquals('&nbsp;&#8220;Testing&#8221;', wptexturize('&nbsp;"Testing"'));
    173179        $this->assertEquals('&#38;&#8220;Testing&#8221;', wptexturize('&#38;"Testing"'));
     
    178184     */
    179185    function test_apostrophes_before_primes() {
     186        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    180187        $this->assertEquals( 'WordPress 3.5&#8217;s release date', wptexturize( "WordPress 3.5's release date" ) );
    181188    }
     
    185192     */
    186193    function test_spaces_around_hyphens() {
    187         $this->assertEquals( ' &#8211; ', wptexturize( ' - ' ) );
     194        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
     195        $this->assertEquals( ' &#8211; ', wptexturize( ' - ' ) );
    188196        $this->assertEquals( '&nbsp;&#8211;&nbsp;', wptexturize( '&nbsp;-&nbsp;' ) );
    189197        $this->assertEquals( ' &#8211;&nbsp;', wptexturize( ' -&nbsp;' ) );
    190198        $this->assertEquals( '&nbsp;&#8211; ', wptexturize( '&nbsp;- ') );
    191199
    192         $this->assertEquals( ' &#8212; ', wptexturize( ' -- ' ) ); 
     200        $this->assertEquals( ' &#8212; ', wptexturize( ' -- ' ) );
    193201        $this->assertEquals( '&nbsp;&#8212;&nbsp;', wptexturize( '&nbsp;--&nbsp;' ) );
    194202        $this->assertEquals( ' &#8212;&nbsp;', wptexturize( ' --&nbsp;' ) );
Note: See TracChangeset for help on using the changeset viewer.