MediaWiki
master
|
API More...
Public Member Functions | |
testAnon () | |
testChange () | |
testNoChanges () | |
testNoOptionname () | |
testNoToken () | |
UsageException | |
testOptionResetValue () | |
testOptionWithValue () | |
testReset () | |
testResetChangeOption () | |
Public Attributes | |
$mContext | |
$mSession | |
$mUserMock | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
Private Member Functions | |
executeQuery ($request) | |
getSampleRequest ($custom=array()) | |
Private Attributes | |
$mTested | |
Static Private Attributes | |
static | $Success = array( 'options' => 'success' ) |
API
Definition at line 6 of file ApiOptionsTest.php.
ApiOptionsTest::executeQuery | ( | $ | request | ) | [private] |
Definition at line 41 of file ApiOptionsTest.php.
Referenced by testAnon(), testChange(), testNoChanges(), testNoOptionname(), testNoToken(), testOptionResetValue(), testOptionWithValue(), testReset(), and testResetChangeOption().
ApiOptionsTest::getSampleRequest | ( | $ | custom = array() | ) | [private] |
Definition at line 31 of file ApiOptionsTest.php.
References array().
Referenced by testAnon(), testChange(), testNoChanges(), testNoOptionname(), testNoToken(), testOptionResetValue(), testOptionWithValue(), testReset(), and testResetChangeOption().
ApiOptionsTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiLangTestCase.
Definition at line 12 of file ApiOptionsTest.php.
References array().
Definition at line 56 of file ApiOptionsTest.php.
References executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 160 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
Definition at line 86 of file ApiOptionsTest.php.
References executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 73 of file ApiOptionsTest.php.
References array(), executeQuery(), fail, UsageException\getCodeString(), and getSampleRequest().
Definition at line 50 of file ApiOptionsTest.php.
References array(), executeQuery(), and getSampleRequest().
Definition at line 143 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 125 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 108 of file ApiOptionsTest.php.
References $response, array(), executeQuery(), and getSampleRequest().
Definition at line 186 of file ApiOptionsTest.php.
References $response, array(), at, executeQuery(), and getSampleRequest().
ApiOptionsTest::$mContext |
Definition at line 8 of file ApiOptionsTest.php.
ApiOptionsTest::$mSession |
Definition at line 8 of file ApiOptionsTest.php.
ApiOptionsTest::$mTested [private] |
Definition at line 8 of file ApiOptionsTest.php.
ApiOptionsTest::$mUserMock |
Definition at line 8 of file ApiOptionsTest.php.
Definition at line 10 of file ApiOptionsTest.php.