MediaWiki
REL1_20
|
Public Member Functions | |
hookGetPreferences ($user, &$preferences) | |
setUp () | |
tearDown () | |
testAnon () | |
testChange () | |
testNoChanges () | |
testNoOptionname () | |
testNoToken () | |
UsageException | |
testOptionResetValue () | |
testOptionWithValue () | |
testReset () | |
testResetChangeOption () | |
Public Attributes | |
$mApiMainMock | |
$mContext | |
$mSession | |
$mUserMock | |
Private Member Functions | |
executeQuery ($request) | |
getSampleRequest ($custom=array()) | |
Private Attributes | |
$mOldGetPreferencesHooks = false | |
$mTested | |
Static Private Attributes | |
static | $Success = array( 'options' => 'success' ) |
API Database
Definition at line 7 of file ApiOptionsTest.php.
ApiOptionsTest::executeQuery | ( | $ | request | ) | [private] |
Definition at line 90 of file ApiOptionsTest.php.
Referenced by testAnon(), testChange(), testNoChanges(), testNoOptionname(), testNoToken(), testOptionResetValue(), testOptionWithValue(), testReset(), and testResetChangeOption().
ApiOptionsTest::getSampleRequest | ( | $ | custom = array() | ) | [private] |
Definition at line 80 of file ApiOptionsTest.php.
Referenced by testAnon(), testChange(), testNoChanges(), testNoOptionname(), testNoToken(), testOptionResetValue(), testOptionWithValue(), testReset(), and testResetChangeOption().
ApiOptionsTest::hookGetPreferences | ( | $ | user, |
&$ | preferences | ||
) |
Definition at line 68 of file ApiOptionsTest.php.
Reimplemented from MediaWikiLangTestCase.
Definition at line 15 of file ApiOptionsTest.php.
References $wgHooks, and Title\newFromText().
Reimplemented from MediaWikiLangTestCase.
Definition at line 57 of file ApiOptionsTest.php.
References $wgHooks.
Definition at line 105 of file ApiOptionsTest.php.
References executeQuery(), UsageException\getCodeString(), and getSampleRequest().
Definition at line 209 of file ApiOptionsTest.php.
References $response, executeQuery(), and getSampleRequest().
Definition at line 135 of file ApiOptionsTest.php.
References executeQuery(), UsageException\getCodeString(), and getSampleRequest().
Definition at line 122 of file ApiOptionsTest.php.
References executeQuery(), UsageException\getCodeString(), and getSampleRequest().
Definition at line 99 of file ApiOptionsTest.php.
References executeQuery(), and getSampleRequest().
Definition at line 192 of file ApiOptionsTest.php.
References $response, executeQuery(), and getSampleRequest().
Definition at line 174 of file ApiOptionsTest.php.
References $response, executeQuery(), and getSampleRequest().
Definition at line 157 of file ApiOptionsTest.php.
References $response, executeQuery(), and getSampleRequest().
Definition at line 244 of file ApiOptionsTest.php.
References $response, executeQuery(), and getSampleRequest().
ApiOptionsTest::$mApiMainMock |
Definition at line 9 of file ApiOptionsTest.php.
ApiOptionsTest::$mContext |
Definition at line 9 of file ApiOptionsTest.php.
ApiOptionsTest::$mOldGetPreferencesHooks = false [private] |
Definition at line 11 of file ApiOptionsTest.php.
ApiOptionsTest::$mSession |
Definition at line 9 of file ApiOptionsTest.php.
ApiOptionsTest::$mTested [private] |
Definition at line 9 of file ApiOptionsTest.php.
ApiOptionsTest::$mUserMock |
Definition at line 9 of file ApiOptionsTest.php.
ApiOptionsTest::$Success = array( 'options' => 'success' ) [static, private] |
Definition at line 13 of file ApiOptionsTest.php.