MediaWiki
REL1_24
|
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 | |
$mSession | |
ApiOptions | $mTested |
* | |
PHPUnit_Framework_MockObject_MockObject | $mUserMock |
* | |
Static Private Attributes | |
static | $Success = array( 'options' => 'success' ) |
ApiOptionsTest::executeQuery | ( | $ | request | ) | [private] |
Definition at line 146 of file ApiOptionsTest.php.
ApiOptionsTest::getOptionKinds | ( | IContextSource $ | context, |
$ | options = null |
||
) |
IContextSource | $context | |
array | null | $options |
Definition at line 103 of file ApiOptionsTest.php.
ApiOptionsTest::getSampleRequest | ( | $ | custom = array() | ) | [private] |
Definition at line 135 of file ApiOptionsTest.php.
ApiOptionsTest::hookGetPreferences | ( | $ | user, |
&$ | preferences | ||
) |
Definition at line 67 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 162 of file ApiOptionsTest.php.
Definition at line 288 of file ApiOptionsTest.php.
Definition at line 358 of file ApiOptionsTest.php.
Definition at line 194 of file ApiOptionsTest.php.
Definition at line 180 of file ApiOptionsTest.php.
Definition at line 156 of file ApiOptionsTest.php.
Definition at line 271 of file ApiOptionsTest.php.
Definition at line 253 of file ApiOptionsTest.php.
Definition at line 217 of file ApiOptionsTest.php.
Definition at line 325 of file ApiOptionsTest.php.
Definition at line 235 of file ApiOptionsTest.php.
Definition at line 391 of file ApiOptionsTest.php.
Definition at line 414 of file ApiOptionsTest.php.
Definition at line 437 of file ApiOptionsTest.php.
DerivativeContext ApiOptionsTest::$mContext [private] |
*
Definition at line 15 of file ApiOptionsTest.php.
ApiOptionsTest::$mOldGetPreferencesHooks [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.