MediaWiki
REL1_22
|
Public Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
testFalseReturn () | |
testFatalError () | |
FatalError | |
testNewStyleHookInteraction () | |
testNewStyleHooks ($msg, $hook, $expectedFoo, $expectedBar) | |
provideHooks | |
testOldStyleHooks ($msg, array $hook, $expectedFoo, $expectedBar) | |
provideHooks | |
testUncallableFunction () | |
MWException | |
Static Public Member Functions | |
static | provideHooks () |
Definition at line 3 of file HooksTest.php.
static HooksTest::provideHooks | ( | ) | [static] |
Definition at line 12 of file HooksTest.php.
References array().
HooksTest::setUp | ( | ) |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 5 of file HooksTest.php.
References $wgHooks, Hooks\clear(), and global.
Definition at line 91 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
Definition at line 108 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
Definition at line 63 of file HooksTest.php.
References $wgHooks, array(), Hooks\getHandlers(), global, Hooks\isRegistered(), Hooks\register(), and MediaWikiTestCase\run().
HooksTest::testNewStyleHooks | ( | $ | msg, |
$ | hook, | ||
$ | expectedFoo, | ||
$ | expectedBar | ||
) |
provideHooks
Definition at line 53 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
HooksTest::testOldStyleHooks | ( | $ | msg, |
array $ | hook, | ||
$ | expectedFoo, | ||
$ | expectedBar | ||
) |
provideHooks
Definition at line 39 of file HooksTest.php.
References $wgHooks, array(), global, and wfRunHooks().
Definition at line 86 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().