MediaWiki  master
MWDebugTest Class Reference
Inheritance diagram for MWDebugTest:
Collaboration diagram for MWDebugTest:

Public Member Functions

 testAddLog ()
 MWDebug::log. More...
 
 testAddWarning ()
 MWDebug::warning. More...
 
 testAppendDebugInfoToApiResultXmlFormat ()
 MWDebug::appendDebugInfoToApiResult. More...
 
 testAvoidDuplicateDeprecations ()
 MWDebug::deprecated. More...
 
 testAvoidNonConsecutivesDuplicateDeprecations ()
 MWDebug::deprecated. More...
 

Static Public Member Functions

static setUpBeforeClass ()
 
static tearDownAfterClass ()
 

Protected Member Functions

 setUp ()
 

Private Member Functions

 newApiRequest (array $params, $requestUrl)
 

Detailed Description

Definition at line 3 of file MWDebugTest.php.

Member Function Documentation

◆ newApiRequest()

MWDebugTest::newApiRequest ( array  $params,
  $requestUrl 
)
private
Parameters
string[]$params
string$requestUrl
Returns
FauxRequest

Definition at line 125 of file MWDebugTest.php.

References $request, and class.

Referenced by testAppendDebugInfoToApiResultXmlFormat().

◆ setUp()

MWDebugTest::setUp ( )
protected

Definition at line 5 of file MWDebugTest.php.

References MWDebug\clearLog().

◆ setUpBeforeClass()

static MWDebugTest::setUpBeforeClass ( )
static

Definition at line 11 of file MWDebugTest.php.

References MWDebug\init().

◆ tearDownAfterClass()

static MWDebugTest::tearDownAfterClass ( )
static

Definition at line 17 of file MWDebugTest.php.

References MWDebug\deinit().

◆ testAddLog()

MWDebugTest::testAddLog ( )

MWDebug::log.

Definition at line 26 of file MWDebugTest.php.

References MWDebug\getLog(), and MWDebug\log().

◆ testAddWarning()

MWDebugTest::testAddWarning ( )

MWDebug::warning.

Definition at line 41 of file MWDebugTest.php.

References MWDebug\getLog(), and MWDebug\warning().

◆ testAppendDebugInfoToApiResultXmlFormat()

MWDebugTest::testAppendDebugInfoToApiResultXmlFormat ( )

◆ testAvoidDuplicateDeprecations()

MWDebugTest::testAvoidDuplicateDeprecations ( )

MWDebug::deprecated.

Definition at line 56 of file MWDebugTest.php.

References MWDebug\deprecated(), and MWDebug\getLog().

◆ testAvoidNonConsecutivesDuplicateDeprecations()

MWDebugTest::testAvoidNonConsecutivesDuplicateDeprecations ( )

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