MediaWiki  REL1_24
HooksTest Class Reference
Inheritance diagram for HooksTest:
Collaboration diagram for HooksTest:

List of all members.

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 ()

Detailed Description

Definition at line 3 of file HooksTest.php.


Member Function Documentation

static HooksTest::provideHooks ( ) [static]

Definition at line 12 of file HooksTest.php.

References array().

Reimplemented from MediaWikiTestCase.

Definition at line 5 of file HooksTest.php.

References $wgHooks, Hooks\clear(), and global.

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().


The documentation for this class was generated from the following file: