[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

tests/testcase.php


Lines:

1 to 61 of 61
<?php // (C) Copyright Bobbing Wide 2016, originally from wordpress.org

/* class WP_UnitTestCase */
/* function WP_UnitTestCase::__isset() – */
/* function WP_UnitTestCase::__get() – */
/* function WP_UnitTestCase::factory() – */
/* function WP_UnitTestCase::get_called_class() – */
/* function WP_UnitTestCase::setUpBeforeClass() – */
/* function WP_UnitTestCase::tearDownAfterClass() – */
/* function WP_UnitTestCase::setUp() – */
/* function WP_UnitTestCase::assertPostConditions() – Detect post-test failure conditions. */
/* function WP_UnitTestCase::tearDown() – After a test method runs, reset any state in WordPress the test method might have changed. */
/* function WP_UnitTestCase::clean_up_global_scope() – */
/* function WP_UnitTestCase::reset_post_types() – Unregister existing post types and register defaults. */
/* function WP_UnitTestCase::reset_taxonomies() – Unregister existing taxonomies and register defaults. */
/* function WP_UnitTestCase::reset_post_statuses() – Unregister non-built-in post statuses. */
/* function WP_UnitTestCase::reset__SERVER() – Reset `$_SERVER` variables */
/* function WP_UnitTestCase::_backup_hooks() – Saves the action and filter-related globals so they can be restored later. */
/* function WP_UnitTestCase::_restore_hooks() – Restores the hook-related globals to their state at setUp()
so that future tests aren’t affected by hooks set during this last test. */
/* function WP_UnitTestCase::flush_cache() – */
/* function WP_UnitTestCase::start_transaction() – */
/* function WP_UnitTestCase::commit_transaction() – Commit the queries in a transaction. Well, don’t actually! */
/* function WP_UnitTestCase::rollback_transaction() – Rollback the queries in the transaction */
/* function WP_UnitTestCase::_create_temporary_tables() – */
/* function WP_UnitTestCase::_drop_temporary_tables() – */
/* function WP_UnitTestCase::get_wp_die_handler() – */
/* function WP_UnitTestCase::wp_die_handler() – */
/* function WP_UnitTestCase::expectDeprecated() – */
/* function WP_UnitTestCase::expectedDeprecated() – */
/* function WP_UnitTestCase::setExpectedDeprecated() – Declare an expected `_deprecated_function()` or `_deprecated_argument()` call from within a test. */
/* function WP_UnitTestCase::setExpectedIncorrectUsage() – Declare an expected `_doing_it_wrong()` call from within a test. */
/* function WP_UnitTestCase::deprecated_function_run() – */
/* function WP_UnitTestCase::doing_it_wrong_run() – */
/* function WP_UnitTestCase::assertWPError() – */
/* function WP_UnitTestCase::assertNotWPError() – */
/* function WP_UnitTestCase::assertEqualFields() – */
/* function WP_UnitTestCase::assertDiscardWhitespace() – */
/* function WP_UnitTestCase::assertEqualSets() – */
/* function WP_UnitTestCase::assertEqualSetsWithIndex() – */
/* function WP_UnitTestCase::go_to() – Modify WordPress’s query internals as if a given URL has been requested. */
/* function WP_UnitTestCase::checkRequirements() – */
/* function WP_UnitTestCase::knownWPBug() – Skips the current test if there is an open WordPress ticket with id $ticket_id */
/* function WP_UnitTestCase::knownUTBug() – Skips the current test if there is an open unit tests ticket with id $ticket_id */
/* function WP_UnitTestCase::knownPluginBug() – Skips the current test if there is an open plugin ticket with id $ticket_id */
/* function WP_UnitTestCase::forceTicket() – */
/* function WP_UnitTestCase::prepareTemplate() – Define constants after including files. */
/* function WP_UnitTestCase::temp_filename() – Returns the name of a temporary file */
/* function WP_UnitTestCase::assertQueryTrue() – Check each of the WP_Query is_* functions/properties against expected boolean value. */
/* function WP_UnitTestCase::unlink() – */
/* function WP_UnitTestCase::rmdir() – */
/* function WP_UnitTestCase::remove_added_uploads() – */
/* function WP_UnitTestCase::files_in_dir() – */
/* function WP_UnitTestCase::scan_user_uploads() – */
/* function WP_UnitTestCase::delete_folders() – */
/* function WP_UnitTestCase::scandir() – */
/* function WP_UnitTestCase::_microtime_to_float() – Helper to Convert a microtime string into a float */
/* function WP_UnitTestCase::delete_user() – Multisite-agnostic way to delete a user from the database. */
/* function WP_UnitTestCase::set_permalink_structure() – Utility method that resets permalinks and flushes rewrites. */
/* function WP_UnitTestCase::_make_attachment() – */
 

 View on GitHub

Called by

    Invoked by

      Calls

      Call hooks

      File name: tests/testcase.php
      Plugin ref: oik-batch
      Version: 1.0.0
      Deprecated?: No
      API Letters: P,T

      Published: March 14, 2017 | Last updated: March 14, 2017

      Information

      File name: tests/testcase.php
      Plugin ref: oik-batch
      Version: 1.0.0
      Deprecated?: No
      API Letters: P,T

      Recent plugin updates

      oik-themes v1.4.0 

      Update to oik-themes v1.4.0 to support Full Site Editing (FSE) themes. FSE themes, which are currently experimental, deliver block based templates and template parts.

       ...
      oik-clone v2.0.1 oik-clone v2.0.1 contains a fix for a 500 internal server error being produced when cloning content with certain taxonomy terms. ...
      SB Chart block v0.1.1 

      Update to SB Chart block v0.1.1 for improved enqueing of the chart.js Javascript and better colours in the Gutenberg palette.

       ...
      Slog v1.3.1 

      Update to Slog v1.3.1 for a new Driver tab and improved display of charts grouping Elapsed times.

       ...
      SB-Chart-Block v0.0.8 SB-Chart-Block v0.0.8, a WordPress single block plugin, supports 4 different chart types; Line, Bar, Horizontal bar and Pie. ...

      Plugins

      • All Plugins
      • oik base plugin
      • FREE oik plugins
      • WordPress plugins
      • Premium oik plugins

      Themes

      • FREE themes
      • Bespoke themes
      • Premium themes

      Blocks

      • All Blocks
      • Block examples
      • About Blocks

      Shortcodes

      • All Shortcodes
      • Shortcode examples
      • About Shortcodes

      Reference

      • About APIs
      • All APIs
      • All Classes
      • All Files
      • All Hooks

      Support

      • Contact
      • Cookies policy
      • Get API key
      • Privacy
      • Request support
      • Sitemap
      • Stay informed
      • Terms and Conditions
      oik-plugins
      Email: [email protected]

      Weight shipping plugins

      Find out which cart weight shipping plugin you need for your WooCommerce site.
      Which cart weight based plugin do I need?

      Site:  www.oik-plugins.com
      © Copyright oik-plugins 2011-2021. All rights reserved.


      Website designed and developed by Herb Miller of Bobbing Wide
      Proudly powered by WordPress and oik-plugins