MediaWiki
REL1_24
|
Public Member Functions | |
setUp () | |
testFalseReturn () | |
Hooks::run | |
testFatalError () | |
FatalError Hooks::run | |
testNewStyleHookInteraction () | |
Hooks::isRegistered Hooks::register Hooks::getHandlers Hooks::run | |
testNewStyleHooks ($msg, $hook, $expectedFoo, $expectedBar) | |
provideHooks Hooks::register Hooks::run | |
testOldStyleHooks ($msg, array $hook, $expectedFoo, $expectedBar) | |
provideHooks wfRunHooks | |
testUncallableFunction () | |
MWException Hooks::run | |
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 | ( | ) |
Reimplemented from MediaWikiTestCase.
Definition at line 5 of file HooksTest.php.
References $wgHooks, Hooks\clear(), and global.
Definition at line 134 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
Definition at line 152 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
Hooks::isRegistered Hooks::register Hooks::getHandlers Hooks::run
Definition at line 87 of file HooksTest.php.
References $wgHooks, array(), Hooks\getHandlers(), global, Hooks\isRegistered(), Hooks\register(), and MediaWikiTestCase\run().
HooksTest::testNewStyleHooks | ( | $ | msg, |
$ | hook, | ||
$ | expectedFoo, | ||
$ | expectedBar | ||
) |
provideHooks Hooks::register Hooks::run
Definition at line 71 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
HooksTest::testOldStyleHooks | ( | $ | msg, |
array $ | hook, | ||
$ | expectedFoo, | ||
$ | expectedBar | ||
) |
provideHooks wfRunHooks
Definition at line 55 of file HooksTest.php.
References $wgHooks, array(), global, and wfRunHooks().
Definition at line 126 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().