Changeset 43571 for trunk/tests/phpunit/tests/shortcode.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/shortcode.php
r42837 r43571 49 49 'foo' => 'no foo', 50 50 'baz' => 'default baz', 51 ), $atts, 'bartag' 51 ), 52 $atts, 53 'bartag' 52 54 ) 53 55 ); … … 165 167 'foo' => 'asdf', 166 168 'bar' => 'bing', 167 ), $this->atts 169 ), 170 $this->atts 168 171 ); 169 172 $this->assertEquals( 'test-shortcode-tag', $this->tagname ); … … 190 193 'foo' => 'bar', 191 194 'baz' => 'bing', 192 ), $this->atts 195 ), 196 $this->atts 193 197 ); 194 198 $this->assertEquals( 'content', $this->content ); … … 224 228 0 => 'something in quotes', 225 229 1 => 'something else', 226 ), $this->atts 230 ), 231 $this->atts 227 232 ); 228 233 $this->assertEquals( 'test-shortcode-tag', $this->tagname ); … … 239 244 3 => 'foo', 240 245 4 => 'bar', 241 ), $this->atts 246 ), 247 $this->atts 242 248 ); 243 249 $this->assertEquals( 'test-shortcode-tag', $this->tagname ); … … 253 259 1 => 'foo', 254 260 'bar' => 'baz', 255 ), $this->atts 261 ), 262 $this->atts 256 263 ); 257 264 $this->assertEquals( 'test-shortcode-tag', $this->tagname ); … … 358 365 'foo' => 'bar', 359 366 'baz' => '123', 360 ), $this->atts 367 ), 368 $this->atts 361 369 ); 362 370 $this->assertEquals( '', $this->content ); … … 373 381 'foo' => 'bar', 374 382 'abc' => 'def', 375 ), $this->atts 383 ), 384 $this->atts 376 385 ); 377 386 $this->assertEquals( '', $this->content ); … … 459 468 'foo' => 'foo1', 460 469 'baz' => 'default baz', 461 ), $this->filter_atts_out 470 ), 471 $this->filter_atts_out 462 472 ); 463 473 $this->assertEquals( … … 465 475 'foo' => 'no foo', 466 476 'baz' => 'default baz', 467 ), $this->filter_atts_pairs 477 ), 478 $this->filter_atts_pairs 468 479 ); 469 480 $this->assertEquals( array( 'foo' => 'foo1' ), $this->filter_atts_atts ); … … 923 934 1 => 'bar', 924 935 2 => 'baz', 925 ), $this->atts 936 ), 937 $this->atts 926 938 ); 927 939 } … … 937 949 0 => 'something in quotes', 938 950 1 => 'something else', 939 ), $this->atts 951 ), 952 $this->atts 940 953 ); 941 954 $this->assertEquals( 'test-shortcode-tag', $this->tagname ); … … 956 969 'bar' => 'baz', 957 970 'example' => 'test', 958 ), $this->atts 971 ), 972 $this->atts 959 973 ); 960 974 $this->assertEquals( 'test-shortcode-tag', $this->tagname );
Note: See TracChangeset
for help on using the changeset viewer.