MediaWiki
REL1_23
|
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 () | |
testSpecialOption () | |
testUnknownOption () | |
testUserjsOption () | |
Protected Member Functions | |
setUp () | |
tearDown () | |
Private Member Functions | |
executeQuery ($request) | |
getSampleRequest ($custom=array()) | |
Private Attributes | |
DerivativeContext | $mContext |
* | |
$mOldGetPreferencesHooks = false | |
$mSession | |
ApiOptions | $mTested |
* | |
PHPUnit_Framework_MockObject_MockObject | $mUserMock |
* | |
Static Private Attributes | |
static | $Success = array( 'options' => 'success' ) |
ApiOptionsTest::executeQuery | ( | $ | request | ) | [private] |
Definition at line 148 of file ApiOptionsTest.php.
ApiOptionsTest::getOptionKinds | ( | IContextSource $ | context, |
$ | options = null |
||
) |
IContextSource | $context | |
array | null | $options |
Definition at line 105 of file ApiOptionsTest.php.
ApiOptionsTest::getSampleRequest | ( | $ | custom = array() | ) | [private] |
Definition at line 137 of file ApiOptionsTest.php.
ApiOptionsTest::hookGetPreferences | ( | $ | user, |
&$ | preferences | ||
) |
Definition at line 69 of file ApiOptionsTest.php.
ApiOptionsTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiLangTestCase.
Definition at line 21 of file ApiOptionsTest.php.
ApiOptionsTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 58 of file ApiOptionsTest.php.
Definition at line 164 of file ApiOptionsTest.php.
Definition at line 290 of file ApiOptionsTest.php.
Definition at line 358 of file ApiOptionsTest.php.
Definition at line 196 of file ApiOptionsTest.php.
Definition at line 182 of file ApiOptionsTest.php.
Definition at line 158 of file ApiOptionsTest.php.
Definition at line 273 of file ApiOptionsTest.php.
Definition at line 255 of file ApiOptionsTest.php.
Definition at line 219 of file ApiOptionsTest.php.
Definition at line 325 of file ApiOptionsTest.php.
Definition at line 237 of file ApiOptionsTest.php.
Definition at line 390 of file ApiOptionsTest.php.
Definition at line 413 of file ApiOptionsTest.php.
Definition at line 436 of file ApiOptionsTest.php.
DerivativeContext ApiOptionsTest::$mContext [private] |
*
Definition at line 15 of file ApiOptionsTest.php.
ApiOptionsTest::$mOldGetPreferencesHooks = false [private] |
Definition at line 17 of file ApiOptionsTest.php.
ApiOptionsTest::$mSession [private] |
Definition at line 14 of file ApiOptionsTest.php.
ApiOptions ApiOptionsTest::$mTested [private] |
*
Definition at line 13 of file ApiOptionsTest.php.
PHPUnit_Framework_MockObject_MockObject ApiOptionsTest::$mUserMock [private] |
*
Definition at line 12 of file ApiOptionsTest.php.
Definition at line 19 of file ApiOptionsTest.php.