Changeset 30454
- Timestamp:
- 11/20/2014 02:33:13 PM (10 years ago)
- 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 9 9 */ 10 10 function test_like_escape() { 11 11 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 12 12 $inputs = array( 13 13 'howdy%', //Single Percent -
branches/3.7/tests/phpunit/tests/formatting/WPTexturize.php
r25002 r30454 12 12 function test_disable() { 13 13 $this->assertEquals('<pre>---</pre>', wptexturize('<pre>---</pre>')); 14 $this->assertEquals('[a]a–b[code]---[/code]a–b[/a]', wptexturize('[a]a--b[code]---[/code]a--b[/a]'));15 14 $this->assertEquals('<pre><code></code>--</pre>', wptexturize('<pre><code></code>--</pre>')); 16 15 … … 78 77 */ 79 78 function test_quotes() { 79 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 80 80 $this->assertEquals('“Quoted String”', wptexturize('"Quoted String"')); 81 81 $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>"')); … … 108 108 */ 109 109 function test_quotes_before_numbers() { 110 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 110 111 $this->assertEquals('Class of ’99', wptexturize("Class of '99")); 111 112 $this->assertEquals('Class of ’99’s', wptexturize("Class of '99's")); … … 126 127 */ 127 128 function test_other_html() { 129 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 128 130 $this->assertEquals('‘<strong>', wptexturize("'<strong>")); 129 131 $this->assertEquals('‘<strong>Quoted Text</strong>’,', wptexturize("'<strong>Quoted Text</strong>',")); … … 150 152 */ 151 153 function test_wptexturize_quotes_around_numbers() { 154 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 152 155 $this->assertEquals('“12345”', wptexturize('"12345"')); 153 156 $this->assertEquals('‘12345’', wptexturize('\'12345\'')); … … 160 163 */ 161 164 function test_wptexturize_html_comments() { 165 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 162 166 $this->assertEquals('<!--[if !IE]>--><!--<![endif]-->', wptexturize('<!--[if !IE]>--><!--<![endif]-->')); 163 167 $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]-->')); … … 170 174 */ 171 175 function test_entity_quote_cuddling() { 176 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 172 177 $this->assertEquals(' “Testing”', wptexturize(' "Testing"')); 173 178 $this->assertEquals('&“Testing”', wptexturize('&"Testing"')); … … 178 183 */ 179 184 function test_apostrophes_before_primes() { 185 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 180 186 $this->assertEquals( 'WordPress 3.5’s release date', wptexturize( "WordPress 3.5's release date" ) ); 181 187 } … … 185 191 */ 186 192 function test_spaces_around_hyphens() { 187 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 193 $this->markTestSkipped( 'Ticket was fixed in a later release.' ); 194 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 188 195 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 189 196 $this->assertEquals( ' – ', wptexturize( ' - ' ) ); 190 197 $this->assertEquals( ' – ', wptexturize( ' - ') ); 191 198 192 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 199 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 193 200 $this->assertEquals( ' — ', wptexturize( ' -- ' ) ); 194 201 $this->assertEquals( ' — ', wptexturize( ' -- ' ) );
Note: See TracChangeset
for help on using the changeset viewer.