MediaWiki  master
ApiOptionsTest Class Reference

API More...

Inheritance diagram for ApiOptionsTest:
Collaboration diagram for ApiOptionsTest:

List of all members.

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' )

Detailed Description

API

Definition at line 6 of file ApiOptionsTest.php.


Member Function Documentation

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().


Member Data Documentation

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.

ApiOptionsTest::$Success = array( 'options' => 'success' ) [static, private]

Definition at line 10 of file ApiOptionsTest.php.


The documentation for this class was generated from the following file: