MediaWiki  REL1_24
ActionTest Class Reference

Action More...

Inheritance diagram for ActionTest:
Collaboration diagram for ActionTest:

List of all members.

Public Member Functions

 actionProvider ()
 dummyActionCallback ()
 testActionExists ($requestedAction, $expected)
 actionProvider
 testActionExists_doesNotRequireInstantiation ()
 testActionFactory ($requestedAction, $expected)
 actionProvider
 testDisabledAction_exists ()
 testDisabledAction_factoryReturnsFalse ()
 testDisabledAction_isNotResolved ()
 testGetActionName ($requestedAction, $expected)
 actionProvider
 testGetActionName_editredlinkWorkaround ()
 testGetActionName_historysubmitWorkaround ()
 testGetActionName_revisiondeleteWorkaround ()
 testNull_canNotBeInstantiated ()
 testNull_defaultsToView ()
 testNull_doesNotExist ()

Protected Member Functions

 setUp ()

Private Member Functions

 getContext ($requestedAction=null)
 getPage ()

Detailed Description

Action

GNU GPL v2+

Author:
Thiemo Mättig

Action Database

Definition at line 12 of file ActionTest.php.


Member Function Documentation

Definition at line 46 of file ActionTest.php.

References array().

Definition at line 172 of file ActionTest.php.

References getContext().

ActionTest::setUp ( ) [protected]

Reimplemented from MediaWikiTestCase.

Definition at line 14 of file ActionTest.php.

References array(), getContext(), and MediaWikiTestCase\setMwGlobals().

ActionTest::testActionExists ( requestedAction,
expected 
)

actionProvider

Parameters:
string$requestedAction
string | null$expected

Definition at line 70 of file ActionTest.php.

References Action\exists().

ActionTest::testActionFactory ( requestedAction,
expected 
)

actionProvider

Parameters:
string$requestedAction
string | null$expected

Definition at line 125 of file ActionTest.php.

References MediaWikiTestCase\assertType(), Action\factory(), and getContext().

Definition at line 152 of file ActionTest.php.

References Action\exists().

ActionTest::testGetActionName ( requestedAction,
expected 
)

actionProvider

Parameters:
string$requestedAction
string | null$expected

Definition at line 88 of file ActionTest.php.

References Action\getActionName(), and getContext().

Definition at line 132 of file ActionTest.php.

References Action\exists().


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