Changeset 30448
- Timestamp:
- 11/20/2014 02:24:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9/tests/phpunit/tests/formatting/WPTexturize.php
r27839 r30448 81 81 */ 82 82 function test_quotes() { 83 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 83 84 $this->assertEquals('“Quoted String”', wptexturize('"Quoted String"')); 84 85 $this->assertEquals('Here is “<a href="http://example.com">a test with a link</a>”', wptexturize('Here is "<a href="http://example.com">a test with a link</a>"')); … … 111 112 */ 112 113 function test_quotes_before_numbers() { 114 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 113 115 $this->assertEquals('Class of ’99', wptexturize("Class of '99")); 114 116 $this->assertEquals('Class of ’99’s', wptexturize("Class of '99's")); … … 129 131 */ 130 132 function test_other_html() { 133 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 131 134 $this->assertEquals('‘<strong>', wptexturize("'<strong>")); 132 135 $this->assertEquals('‘<strong>Quoted Text</strong>’,', wptexturize("'<strong>Quoted Text</strong>',")); … … 153 156 */ 154 157 function test_wptexturize_quotes_around_numbers() { 158 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 155 159 $this->assertEquals('“12345”', wptexturize('"12345"')); 156 160 $this->assertEquals('‘12345’', wptexturize('\'12345\'')); … … 163 167 */ 164 168 function test_wptexturize_html_comments() { 169 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 165 170 $this->assertEquals('<!--[if !IE]>--><!--<![endif]-->', wptexturize('<!--[if !IE]>--><!--<![endif]-->')); 166 171 $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]-->')); … … 173 178 */ 174 179 function test_entity_quote_cuddling() { 180 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 175 181 $this->assertEquals(' “Testing”', wptexturize(' "Testing"')); 176 182 $this->assertEquals('&“Testing”', wptexturize('&"Testing"')); … … 181 187 */ 182 188 function test_apostrophes_before_primes() { 189 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 183 190 $this->assertEquals( 'WordPress 3.5’s release date', wptexturize( "WordPress 3.5's release date" ) ); 184 191 } … … 188 195 */ 189 196 function test_spaces_around_hyphens() { 190 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 197 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 198 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 191 199 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 192 200 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 193 201 $this->assertEquals( ' – ', wptexturize( ' - ') ); 194 202 195 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 203 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 196 204 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 197 205 $this->assertEquals( ' — ', wptexturize( ' -- ' ) );
Note: See TracChangeset
for help on using the changeset viewer.