Make WordPress Core

Changeset 877 in tests


Ignore:
Timestamp:
07/03/2012 06:23:14 PM (13 years ago)
Author:
nacin
Message:

Add test groups to all tests without them.

Location:
trunk/tests
Files:
1 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/test_admin_includes_screen.php

    r854 r877  
    11<?php
    22
     3/**
     4 * @group admin
     5 */
    36class WPTestScreen extends WP_UnitTestCase {
    47    var $core_screens = array(
  • trunk/tests/test_admin_includes_template.php

    r828 r877  
    11<?php
     2/**
     3 * @group admin
     4 */
    25class WPTestCheckedSelected extends WP_UnitTestCase {
    36    function test_equal() {
  • trunk/tests/test_image.php

    r828 r877  
    11<?php
    22
     3/**
     4 * @group image
     5 * @group media
     6 * @group upload
     7 */
    38class TestImageMetaFunctions extends WP_UnitTestCase {
    49    function setUp() {
     
    132137}
    133138
     139/**
     140 * @group image
     141 * @group media
     142 * @group upload
     143 */
    134144class TestImageSizeFunctions extends WP_UnitTestCase {
    135145    function test_constrain_dims_zero() {
     
    324334}
    325335
     336/**
     337 * @group image
     338 * @group media
     339 * @group upload
     340 */
    326341class TestImageResizeDimensions extends WP_UnitTestCase {
    327342    function test_400x400_no_crop() {
     
    449464}
    450465
     466/**
     467 * @group image
     468 * @group media
     469 * @group upload
     470 */
    451471class TestImageResize extends WP_UnitTestCase {
    452472    // image_resize( $file, $max_w, $max_h, $crop=false, $suffix=null, $dest_path=null, $jpeg_quality=75)
     
    569589}
    570590
     591/**
     592 * @group image
     593 * @group media
     594 * @group upload
     595 */
    571596class TestIsImageFunctions extends WP_UnitTestCase {
    572597    function test_is_image_positive() {
  • trunk/tests/test_includes_canonical.php

    r857 r877  
    11<?php
    2 
    3 /*
     2/**
    43 * Tests Canonical redirections.
    54 *
    65 * 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.
    76 *
     7 * @group canonical
     8 * @group rewrite
     9 * @group query
    810 */
    9 
    1011class WP_Test_Canonical extends WP_UnitTestCase {
    1112
     
    273274}
    274275
     276/**
     277 * @group canonical
     278 * @group rewrite
     279 * @group query
     280 */
    275281class WP_Canonical_PageOnFront extends WP_Test_Canonical {
    276282    function setUp() {
     
    303309}
    304310
     311/**
     312 * @group canonical
     313 * @group rewrite
     314 * @group query
     315 */
    305316class WP_Canonical_CustomRules extends WP_Test_Canonical {
    306317    function setUp() {
     
    330341}
    331342
     343/**
     344 * @group canonical
     345 * @group rewrite
     346 * @group query
     347 */
    332348class WP_Canonical_NoRewrite extends WP_Test_Canonical {
    333349
  • trunk/tests/test_includes_class-wp-xmlrpc-server.php

    r787 r877  
    44include_once(ABSPATH . WPINC . '/class-wp-xmlrpc-server.php');
    55
    6 /*
     6/**
    77 * @group xmlrpc
    88 */
  • trunk/tests/test_includes_feed_rss2.php

    r836 r877  
    11<?php
    22
    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 */
    811class TestFeedRss2 extends WP_UnitTestCase {
    912
  • trunk/tests/test_includes_functions.php

    r875 r877  
    11<?php
    22
     3/**
     4 * @group functions.php
     5 */
    36class TestFunctions extends WP_UnitTestCase {
    47    function test_wp_parse_args_object() {
     
    242245
    243246/**
    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
    245250 */
    246251class TestListFilter extends WP_UnitTestCase {
     
    426431}
    427432
     433/**
     434 * @group themes
     435 * @group plugins
     436 */
    428437class Test_WP_File_Headers extends WP_UnitTestCase {
    429438    function test_get_file_data() {
  • trunk/tests/test_includes_kses.php

    r773 r877  
    11<?php
    2 /*
     2/**
    33 * Some simple test cases for KSES post content filtering
     4 *
     5 * @group formatting
     6 * @group kses
    47 */
    5 
    68class Test_wp_filter_post_kses extends WP_UnitTestCase {
    79    function test_wp_filter_post_kses_address() {
  • trunk/tests/test_includes_meta.php

    r818 r877  
    11<?php
    22
     3/**
     4 * @group meta
     5 */
    36class WPTestIncludesMeta extends WP_UnitTestCase {
    47    function setUp() {
  • trunk/tests/test_includes_post.php

    r829 r877  
    11<?php
    22
    3 // test wp-includes/post.php
    4 
     3/**
     4 * test wp-includes/post.php
     5 *
     6 * @group post
     7 */
    58class WPTestIncludesPost extends WP_UnitTestCase {
    69    function setUp() {
     
    467470}
    468471
     472/**
     473 * @group post
     474 * @group media
     475 * @group upload
     476 */
    469477class WPTestAttachments extends WP_UnitTestCase {
    470478
     
    666674}
    667675
     676/**
     677 * @group post
     678 * @group meta
     679 */
    668680class WPTestPostMeta extends WP_UnitTestCase {
    669681    function setUp() {
     
    906918}
    907919
     920/**
     921 * @group post
     922 */
    908923class WPTestPostTypes extends WP_UnitTestCase {
    909924    function setUp() {
  • trunk/tests/test_meta.php

    r828 r877  
    11<?php
    22
    3 // just make sure the test framework is working
     3/**
     4 * just make sure the test framework is working
     5 *
     6 * @group testsuite
     7 */
    48class WPTestMeta extends WP_UnitTestCase {
    59    var $val;
     
    4246}
    4347
    44 // test helper utility functions
     48/**
     49 * test helper utility functions
     50 *
     51 * @group testsuite
     52 */
    4553class WPTestUtils extends WP_UnitTestCase {
    4654
  • trunk/tests/test_post_filtering.php

    r828 r877  
    55
    66/**
    7  * @group posts
     7 * @group post
    88 */
    99class TestPostFiltering extends WP_UnitTestCase {
Note: See TracChangeset for help on using the changeset viewer.