|
MediaWiki
REL1_23
|


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 104 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
Definition at line 122 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
Hooks::isRegistered Hooks::register Hooks::getHandlers Hooks::run
Definition at line 72 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 56 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().
| HooksTest::testOldStyleHooks | ( | $ | msg, |
| array $ | hook, | ||
| $ | expectedFoo, | ||
| $ | expectedBar | ||
| ) |
provideHooks wfRunHooks
Definition at line 40 of file HooksTest.php.
References $wgHooks, array(), global, and wfRunHooks().
Definition at line 96 of file HooksTest.php.
References array(), Hooks\register(), and MediaWikiTestCase\run().