MediaWiki
REL1_22
|
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 136 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 125 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 64 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 53 of file ApiOptionsTest.php.
Definition at line 152 of file ApiOptionsTest.php.
References executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 278 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 346 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 184 of file ApiOptionsTest.php.
References executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 170 of file ApiOptionsTest.php.
References array(), executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 146 of file ApiOptionsTest.php.
References array(), executeQuery(), and getSampleRequest().
Definition at line 261 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 243 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 207 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 313 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 225 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 378 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 401 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.