Methods
31 to 45 of 56
- WP_UnitTestCase::reset_post_types() – Unregister existing post types and register defaults.
- WP_UnitTestCase::reset_taxonomies() – Unregister existing taxonomies and register defaults.
- WP_UnitTestCase::reset__SERVER() – Reset `$_SERVER` variables
- WP_UnitTestCase::rmdir() –
- WP_UnitTestCase::rollback_transaction() – Rollback the queries in the transaction
- WP_UnitTestCase::scandir() –
- WP_UnitTestCase::scan_user_uploads() –
- WP_UnitTestCase::setExpectedDeprecated() – Declare an expected `_deprecated_function()` or `_deprecated_argument()` call from within a test.
- WP_UnitTestCase::setExpectedIncorrectUsage() – Declare an expected `_doing_it_wrong()` call from within a test.
- WP_UnitTestCase::setUp() –
- WP_UnitTestCase::setUpBeforeClass() –
- WP_UnitTestCase::set_permalink_structure() – Utility method that resets permalinks and flushes rewrites.
- WP_UnitTestCase::start_transaction() –
- WP_UnitTestCase::tearDown() – After a test method runs, reset any state in WordPress the test method might have changed.
- WP_UnitTestCase::tearDownAfterClass() –