MediaWiki
REL1_21
|
API Database medium More...
Public Member Functions | |
getOptionKinds (IContextSource $context, $options=null) | |
hookGetPreferences ($user, &$preferences) | |
testAnon () | |
testChange () | |
testMultiSelect () | |
testNoChanges () | |
testNoOptionname () | |
testNoToken () | |
UsageException | |
testOptionResetValue () | |
testOptionWithValue () | |
testReset () | |
testResetChangeOption () | |
testResetKinds () | |
testUnknownOption () | |
testUserjsOption () | |
Public Attributes | |
$mContext | |
$mSession | |
$mUserMock | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () | |
Private Member Functions | |
executeQuery ($request) | |
getSampleRequest ($custom=array()) | |
Private Attributes | |
$mOldGetPreferencesHooks = false | |
$mTested | |
Static Private Attributes | |
static | $Success = array( 'options' => 'success' ) |
API Database medium
Definition at line 8 of file ApiOptionsTest.php.
ApiOptionsTest::executeQuery | ( | $ | request | ) | [private] |
Definition at line 132 of file ApiOptionsTest.php.
Referenced by testAnon(), testChange(), testMultiSelect(), testNoChanges(), testNoOptionname(), testNoToken(), testOptionResetValue(), testOptionWithValue(), testReset(), testResetChangeOption(), testResetKinds(), testUnknownOption(), and testUserjsOption().
ApiOptionsTest::getOptionKinds | ( | IContextSource $ | context, |
$ | options = null |
||
) |
ApiOptionsTest::getSampleRequest | ( | $ | custom = array() | ) | [private] |
Definition at line 122 of file ApiOptionsTest.php.
References array().
Referenced by testAnon(), testChange(), testMultiSelect(), testNoChanges(), testNoOptionname(), testNoToken(), testOptionResetValue(), testOptionWithValue(), testReset(), testResetChangeOption(), testResetKinds(), testUnknownOption(), and testUserjsOption().
ApiOptionsTest::hookGetPreferences | ( | $ | user, |
&$ | preferences | ||
) |
Definition at line 62 of file ApiOptionsTest.php.
ApiOptionsTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiLangTestCase.
Definition at line 16 of file ApiOptionsTest.php.
References $wgHooks, any, array(), global, and Title\newFromText().
ApiOptionsTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 51 of file ApiOptionsTest.php.
Definition at line 147 of file ApiOptionsTest.php.
References executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 270 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 338 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 177 of file ApiOptionsTest.php.
References executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 164 of file ApiOptionsTest.php.
References array(), executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 141 of file ApiOptionsTest.php.
References array(), executeQuery(), and getSampleRequest().
Definition at line 253 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 235 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 199 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 305 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 217 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 370 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 393 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
ApiOptionsTest::$mContext |
Definition at line 10 of file ApiOptionsTest.php.
ApiOptionsTest::$mOldGetPreferencesHooks = false [private] |
Definition at line 12 of file ApiOptionsTest.php.
ApiOptionsTest::$mSession |
Definition at line 10 of file ApiOptionsTest.php.
ApiOptionsTest::$mTested [private] |
Definition at line 10 of file ApiOptionsTest.php.
ApiOptionsTest::$mUserMock |
Definition at line 10 of file ApiOptionsTest.php.
Definition at line 14 of file ApiOptionsTest.php.