Changeset 877 in tests
- Timestamp:
- 07/03/2012 06:23:14 PM (13 years ago)
- Location:
- trunk/tests
- Files:
-
- 1 deleted
- 12 edited
-
test_admin_includes_screen.php (modified) (1 diff)
-
test_admin_includes_template.php (modified) (1 diff)
-
test_image.php (modified) (5 diffs)
-
test_includes_canonical.php (modified) (4 diffs)
-
test_includes_class-wp-xmlrpc-server.php (modified) (1 diff)
-
test_includes_feed_rss2.php (modified) (1 diff)
-
test_includes_functions.php (modified) (3 diffs)
-
test_includes_kses.php (modified) (1 diff)
-
test_includes_meta.php (modified) (1 diff)
-
test_includes_post.php (modified) (4 diffs)
-
test_meta.php (modified) (2 diffs)
-
test_post_filtering.php (modified) (1 diff)
-
test_simple.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/test_admin_includes_screen.php
r854 r877 1 1 <?php 2 2 3 /** 4 * @group admin 5 */ 3 6 class WPTestScreen extends WP_UnitTestCase { 4 7 var $core_screens = array( -
trunk/tests/test_admin_includes_template.php
r828 r877 1 1 <?php 2 /** 3 * @group admin 4 */ 2 5 class WPTestCheckedSelected extends WP_UnitTestCase { 3 6 function test_equal() { -
trunk/tests/test_image.php
r828 r877 1 1 <?php 2 2 3 /** 4 * @group image 5 * @group media 6 * @group upload 7 */ 3 8 class TestImageMetaFunctions extends WP_UnitTestCase { 4 9 function setUp() { … … 132 137 } 133 138 139 /** 140 * @group image 141 * @group media 142 * @group upload 143 */ 134 144 class TestImageSizeFunctions extends WP_UnitTestCase { 135 145 function test_constrain_dims_zero() { … … 324 334 } 325 335 336 /** 337 * @group image 338 * @group media 339 * @group upload 340 */ 326 341 class TestImageResizeDimensions extends WP_UnitTestCase { 327 342 function test_400x400_no_crop() { … … 449 464 } 450 465 466 /** 467 * @group image 468 * @group media 469 * @group upload 470 */ 451 471 class TestImageResize extends WP_UnitTestCase { 452 472 // image_resize( $file, $max_w, $max_h, $crop=false, $suffix=null, $dest_path=null, $jpeg_quality=75) … … 569 589 } 570 590 591 /** 592 * @group image 593 * @group media 594 * @group upload 595 */ 571 596 class TestIsImageFunctions extends WP_UnitTestCase { 572 597 function test_is_image_positive() { -
trunk/tests/test_includes_canonical.php
r857 r877 1 1 <?php 2 3 /* 2 /** 4 3 * Tests Canonical redirections. 5 4 * 6 5 * In the process of doing so, it also tests WP, WP_Rewrite and WP_Query, A fail here may show a bug in any one of these areas. 7 6 * 7 * @group canonical 8 * @group rewrite 9 * @group query 8 10 */ 9 10 11 class WP_Test_Canonical extends WP_UnitTestCase { 11 12 … … 273 274 } 274 275 276 /** 277 * @group canonical 278 * @group rewrite 279 * @group query 280 */ 275 281 class WP_Canonical_PageOnFront extends WP_Test_Canonical { 276 282 function setUp() { … … 303 309 } 304 310 311 /** 312 * @group canonical 313 * @group rewrite 314 * @group query 315 */ 305 316 class WP_Canonical_CustomRules extends WP_Test_Canonical { 306 317 function setUp() { … … 330 341 } 331 342 343 /** 344 * @group canonical 345 * @group rewrite 346 * @group query 347 */ 332 348 class WP_Canonical_NoRewrite extends WP_Test_Canonical { 333 349 -
trunk/tests/test_includes_class-wp-xmlrpc-server.php
r787 r877 4 4 include_once(ABSPATH . WPINC . '/class-wp-xmlrpc-server.php'); 5 5 6 /* 6 /** 7 7 * @group xmlrpc 8 8 */ -
trunk/tests/test_includes_feed_rss2.php
r836 r877 1 1 <?php 2 2 3 // test the RSS 2.0 feed by generating a feed, parsing it, and checking that the 4 // parsed contents match the contents of the posts stored in the database. Since 5 // we're using a real XML parser, this confirms that the feed is valid, well formed, 6 // and contains the right stuff. 7 3 /** 4 * test the RSS 2.0 feed by generating a feed, parsing it, and checking that the 5 * parsed contents match the contents of the posts stored in the database. Since 6 * we're using a real XML parser, this confirms that the feed is valid, well formed, 7 * and contains the right stuff. 8 * 9 * @group feed 10 */ 8 11 class TestFeedRss2 extends WP_UnitTestCase { 9 12 -
trunk/tests/test_includes_functions.php
r875 r877 1 1 <?php 2 2 3 /** 4 * @group functions.php 5 */ 3 6 class TestFunctions extends WP_UnitTestCase { 4 7 function test_wp_parse_args_object() { … … 242 245 243 246 /** 244 * Test wp_filter_object_list(), wp_list_filter(), wp_list_pluck() 247 * Test wp_filter_object_list(), wp_list_filter(), wp_list_pluck(). 248 * 249 * @group functions.php 245 250 */ 246 251 class TestListFilter extends WP_UnitTestCase { … … 426 431 } 427 432 433 /** 434 * @group themes 435 * @group plugins 436 */ 428 437 class Test_WP_File_Headers extends WP_UnitTestCase { 429 438 function test_get_file_data() { -
trunk/tests/test_includes_kses.php
r773 r877 1 1 <?php 2 /* 2 /** 3 3 * Some simple test cases for KSES post content filtering 4 * 5 * @group formatting 6 * @group kses 4 7 */ 5 6 8 class Test_wp_filter_post_kses extends WP_UnitTestCase { 7 9 function test_wp_filter_post_kses_address() { -
trunk/tests/test_includes_meta.php
r818 r877 1 1 <?php 2 2 3 /** 4 * @group meta 5 */ 3 6 class WPTestIncludesMeta extends WP_UnitTestCase { 4 7 function setUp() { -
trunk/tests/test_includes_post.php
r829 r877 1 1 <?php 2 2 3 // test wp-includes/post.php 4 3 /** 4 * test wp-includes/post.php 5 * 6 * @group post 7 */ 5 8 class WPTestIncludesPost extends WP_UnitTestCase { 6 9 function setUp() { … … 467 470 } 468 471 472 /** 473 * @group post 474 * @group media 475 * @group upload 476 */ 469 477 class WPTestAttachments extends WP_UnitTestCase { 470 478 … … 666 674 } 667 675 676 /** 677 * @group post 678 * @group meta 679 */ 668 680 class WPTestPostMeta extends WP_UnitTestCase { 669 681 function setUp() { … … 906 918 } 907 919 920 /** 921 * @group post 922 */ 908 923 class WPTestPostTypes extends WP_UnitTestCase { 909 924 function setUp() { -
trunk/tests/test_meta.php
r828 r877 1 1 <?php 2 2 3 // just make sure the test framework is working 3 /** 4 * just make sure the test framework is working 5 * 6 * @group testsuite 7 */ 4 8 class WPTestMeta extends WP_UnitTestCase { 5 9 var $val; … … 42 46 } 43 47 44 // test helper utility functions 48 /** 49 * test helper utility functions 50 * 51 * @group testsuite 52 */ 45 53 class WPTestUtils extends WP_UnitTestCase { 46 54 -
trunk/tests/test_post_filtering.php
r828 r877 5 5 6 6 /** 7 * @group post s7 * @group post 8 8 */ 9 9 class TestPostFiltering extends WP_UnitTestCase {
Note: See TracChangeset
for help on using the changeset viewer.