You appear to be a bot. Output may be restricted
Description
Usage
WP_UnitTestCase::checkRequirements();
Parameters
Returns
voidSource
File name: oik-batch/tests/testcase.phpLines:
1 to 25 of 25
protected function checkRequirements() { parent::checkRequirements(); // Core tests no longer check against open Trac tickets, but others using WP_UnitTestCase may do so. if ( defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS ) { return; } if ( WP_TESTS_FORCE_KNOWN_BUGS ) return; $tickets = PHPUnit_Util_Test::getTickets( get_class( $this ), $this->getName( false ) ); foreach ( $tickets as $ticket ) { if ( is_numeric( $ticket ) ) { $this->knownWPBug( $ticket ); } elseif ( 'UT' == substr( $ticket, 0, 2 ) ) { $ticket = substr( $ticket, 2 ); if ( $ticket && is_numeric( $ticket ) ) $this->knownUTBug( $ticket ); } elseif ( 'Plugin' == substr( $ticket, 0, 6 ) ) { $ticket = substr( $ticket, 6 ); if ( $ticket && is_numeric( $ticket ) ) $this->knownPluginBug( $ticket ); } } }View on GitHub