MediaWiki  master
MediaWiki\Tests\Maintenance\MaintenanceTest Class Reference

Maintenance. More...

Inheritance diagram for MediaWiki\Tests\Maintenance\MaintenanceTest:
Collaboration diagram for MediaWiki\Tests\Maintenance\MaintenanceTest:

Public Member Functions

 provideOutputChanneledData ()
 
 provideOutputData ()
 
 testCleanupChanneledAfterNLOutput ()
 
 testCleanupChanneledAfterNLOutputWChannel ()
 
 testCleanupChanneledAfterNLOutputWNullChannel ()
 
 testCleanupChanneledAfterOutput ()
 
 testCleanupChanneledAfterOutputChanneledWChannel ()
 
 testCleanupChanneledAfterOutputChanneledWNullChannel ()
 
 testCleanupChanneledAfterOutputChanneledWOChannel ()
 
 testCleanupChanneledAfterOutputWChannel ()
 
 testCleanupChanneledAfterOutputWNullChannel ()
 
 testCleanupChanneledClean ()
 
 testGetConfig ()
 Maintenance::getConfig. More...
 
 testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutput ()
 
 testMultipleMaintenanceObjectsInteractionOutputChanneled ()
 
 testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputWChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputWChannelNL ()
 
 testMultipleMaintenanceObjectsInteractionOutputWNullChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL ()
 
 testOutput ( $outputs, $expected, $extraNL)
 provideOutputData More...
 
 testOutputChanneled ( $outputs, $expected, $extraNL)
 provideOutputChanneledData More...
 
 testParseArgs ()
 
 testSetConfig ()
 Maintenance::setConfig. More...
 

Protected Member Functions

 createMaintenance ()
 
 getMaintenanceClass ()
 
- Protected Member Functions inherited from MediaWiki\Tests\Maintenance\MaintenanceBaseTestCase
 assertOutputPrePostShutdown ( $preShutdownOutput, $expectNLAppending)
 Asserts the output before and after simulating shutdown. More...
 
 createMaintenance ()
 Called by setUp to initialize $this->maintenance. More...
 
 getMaintenanceClass ()
 
 setUp ()
 
 tearDown ()
 Do a little stream cleanup to prevent output in case the child class hasn't tested the capture buffer. More...
 

Additional Inherited Members

- Protected Attributes inherited from MediaWiki\Tests\Maintenance\MaintenanceBaseTestCase
Maintenance $maintenance
 The main Maintenance instance that is used for testing, wrapped and mockable. More...
 

Detailed Description

Maintenance.

Definition at line 12 of file MaintenanceTest.php.

Member Function Documentation

◆ createMaintenance()

◆ getMaintenanceClass()

MediaWiki\Tests\Maintenance\MaintenanceTest::getMaintenanceClass ( )
protected

◆ provideOutputChanneledData()

MediaWiki\Tests\Maintenance\MaintenanceTest::provideOutputChanneledData ( )

Definition at line 209 of file MaintenanceTest.php.

References false, null, and true.

◆ provideOutputData()

MediaWiki\Tests\Maintenance\MaintenanceTest::provideOutputData ( )

Definition at line 56 of file MaintenanceTest.php.

References false, null, and true.

◆ testCleanupChanneledAfterNLOutput()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterNLOutput ( )

◆ testCleanupChanneledAfterNLOutputWChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterNLOutputWChannel ( )

◆ testCleanupChanneledAfterNLOutputWNullChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterNLOutputWNullChannel ( )

◆ testCleanupChanneledAfterOutput()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterOutput ( )

◆ testCleanupChanneledAfterOutputChanneledWChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterOutputChanneledWChannel ( )

◆ testCleanupChanneledAfterOutputChanneledWNullChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterOutputChanneledWNullChannel ( )

◆ testCleanupChanneledAfterOutputChanneledWOChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterOutputChanneledWOChannel ( )

◆ testCleanupChanneledAfterOutputWChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterOutputWChannel ( )

◆ testCleanupChanneledAfterOutputWNullChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledAfterOutputWNullChannel ( )

◆ testCleanupChanneledClean()

MediaWiki\Tests\Maintenance\MaintenanceTest::testCleanupChanneledClean ( )

◆ testGetConfig()

MediaWiki\Tests\Maintenance\MaintenanceTest::testGetConfig ( )

◆ testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel ( )

◆ testMultipleMaintenanceObjectsInteractionOutput()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutput ( )

◆ testMultipleMaintenanceObjectsInteractionOutputChanneled()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputChanneled ( )

◆ testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel ( )

◆ testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel ( )

◆ testMultipleMaintenanceObjectsInteractionOutputWChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWChannel ( )

◆ testMultipleMaintenanceObjectsInteractionOutputWChannelNL()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWChannelNL ( )

◆ testMultipleMaintenanceObjectsInteractionOutputWNullChannel()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWNullChannel ( )

◆ testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL()

MediaWiki\Tests\Maintenance\MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL ( )

◆ testOutput()

MediaWiki\Tests\Maintenance\MaintenanceTest::testOutput (   $outputs,
  $expected,
  $extraNL 
)

◆ testOutputChanneled()

MediaWiki\Tests\Maintenance\MaintenanceTest::testOutputChanneled (   $outputs,
  $expected,
  $extraNL 
)

provideOutputChanneledData

Definition at line 196 of file MaintenanceTest.php.

References as, MediaWiki\Tests\Maintenance\MaintenanceBaseTestCase\assertOutputPrePostShutdown(), list, and null.

◆ testParseArgs()

MediaWiki\Tests\Maintenance\MaintenanceTest::testParseArgs ( )

◆ testSetConfig()

MediaWiki\Tests\Maintenance\MaintenanceTest::testSetConfig ( )

Maintenance::setConfig.

Definition at line 496 of file MaintenanceTest.php.


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