MediaWiki
master
|
The UnitTest must be either a class that inherits from MediaWikiTestCase or a class that provides a public static suite() method which returns an PHPUnit_Framework_Test object. More...
Static Public Member Functions | |
static | suite ($flags=self::CORE_ONLY) |
Get a PHPUnit test suite of parser tests. More... | |
Public Attributes | |
const | CORE_ONLY = 1 |
Include files shipped with MediaWiki core. More... | |
const | NO_CORE = 2 |
Include non core files as set in $wgParserTestFiles. More... | |
const | WITH_ALL = 3 |
Include anything set via $wgParserTestFiles. More... | |
Static Protected Member Functions | |
static | debug ($msg) |
Write $msg under log group 'tests-parser'. More... | |
The UnitTest must be either a class that inherits from MediaWikiTestCase or a class that provides a public static suite() method which returns an PHPUnit_Framework_Test object.
Definition at line 13 of file MediaWikiParserTest.php.
|
staticprotected |
Write $msg under log group 'tests-parser'.
string | $msg | Message to log |
Definition at line 130 of file MediaWikiParserTest.php.
References wfDebugLog(), and wfGetCaller().
|
static |
Get a PHPUnit test suite of parser tests.
Optionally filtered with $flags.
int | $flags | Bitwise flag to filter out the $wgParserTestFiles that will be included. Default: MediaWikiParserTest::CORE_ONLY |
Definition at line 54 of file MediaWikiParserTest.php.
References $flags, $IP, $wgParserTestFiles, as, and global.
Referenced by ExtensionsParserTestSuite\suite().