Make WordPress Core

Changeset 30448


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9/tests/phpunit/tests/formatting/WPTexturize.php

    r27839 r30448  
    8181     */
    8282    function test_quotes() {
     83        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    8384        $this->assertEquals('“Quoted String”', wptexturize('"Quoted String"'));
    8485        $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>"'));
     
    111112     */
    112113    function test_quotes_before_numbers() {
     114        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    113115        $this->assertEquals('Class of &#8217;99', wptexturize("Class of '99"));
    114116        $this->assertEquals('Class of &#8217;99&#8217;s', wptexturize("Class of '99's"));
     
    129131     */
    130132    function test_other_html() {
     133        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    131134        $this->assertEquals('&#8216;<strong>', wptexturize("'<strong>"));
    132135        $this->assertEquals('&#8216;<strong>Quoted Text</strong>&#8217;,', wptexturize("'<strong>Quoted Text</strong>',"));
     
    153156     */
    154157    function test_wptexturize_quotes_around_numbers() {
     158        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    155159        $this->assertEquals('&#8220;12345&#8221;', wptexturize('"12345"'));
    156160        $this->assertEquals('&#8216;12345&#8217;', wptexturize('\'12345\''));
     
    163167     */
    164168    function test_wptexturize_html_comments() {
     169        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    165170        $this->assertEquals('<!--[if !IE]>--><!--<![endif]-->', wptexturize('<!--[if !IE]>--><!--<![endif]-->'));
    166171        $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]-->'));
     
    173178     */
    174179    function test_entity_quote_cuddling() {
     180        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    175181        $this->assertEquals('&nbsp;&#8220;Testing&#8221;', wptexturize('&nbsp;"Testing"'));
    176182        $this->assertEquals('&#38;&#8220;Testing&#8221;', wptexturize('&#38;"Testing"'));
     
    181187     */
    182188    function test_apostrophes_before_primes() {
     189        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
    183190        $this->assertEquals( 'WordPress 3.5&#8217;s release date', wptexturize( "WordPress 3.5's release date" ) );
    184191    }
     
    188195     */
    189196    function test_spaces_around_hyphens() {
    190         $this->assertEquals( ' &#8211; ', wptexturize( ' - ' ) );
     197        $this->markTestSkipped( 'Ticket was fixed in a later release.' );
     198        $this->assertEquals( ' &#8211; ', wptexturize( ' - ' ) );
    191199        $this->assertEquals( '&nbsp;&#8211;&nbsp;', wptexturize( '&nbsp;-&nbsp;' ) );
    192200        $this->assertEquals( ' &#8211;&nbsp;', wptexturize( ' -&nbsp;' ) );
    193201        $this->assertEquals( '&nbsp;&#8211; ', wptexturize( '&nbsp;- ') );
    194202
    195         $this->assertEquals( ' &#8212; ', wptexturize( ' -- ' ) ); 
     203        $this->assertEquals( ' &#8212; ', wptexturize( ' -- ' ) );
    196204        $this->assertEquals( '&nbsp;&#8212;&nbsp;', wptexturize( '&nbsp;--&nbsp;' ) );
    197205        $this->assertEquals( ' &#8212;&nbsp;', wptexturize( ' --&nbsp;' ) );
Note: See TracChangeset for help on using the changeset viewer.