Make WordPress Core

Changeset 904 in tests for trunk/tests/xmlrpc/Disabled.php


Ignore:
Timestamp:
07/18/2012 07:01:41 PM (13 years ago)
Author:
nacin
Message:

Rename tests to conform to this standard: the class Tests_A_B_C.php should be found in Tests/A/B/C.php.

One class per file. Tests are now organized by general component, rather than by the core file they are found in.

Work in progress. Some classes need to be renamed, and some files still need to be moved (and split up).

Location:
trunk/tests/xmlrpc
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/xmlrpc/Disabled.php

    r903 r904  
    11<?php
    2 include_once(ABSPATH . 'wp-admin/includes/admin.php');
    3 include_once(ABSPATH . WPINC . '/class-IXR.php');
    4 include_once(ABSPATH . WPINC . '/class-wp-xmlrpc-server.php');
     2
     3require_once ABSPATH . 'wp-admin/includes/admin.php';
     4require_once ABSPATH . WPINC . '/class-IXR.php';
     5require_once ABSPATH . WPINC . '/class-wp-xmlrpc-server.php';
    56
    67/**
    78 * @group xmlrpc
    89 */
    9 class TestXMLRPCServer_Disabled extends WP_UnitTestCase {
     10class Tests_XMLRPC_Disabled extends WP_UnitTestCase {
    1011    function test_disabled() {
    1112        $myxmlrpcserver = new wp_xmlrpc_server();
Note: See TracChangeset for help on using the changeset viewer.