MediaWiki  1.30.0
MaintenanceTest Class Reference

Maintenance. More...

Inheritance diagram for MaintenanceTest:
Collaboration diagram for MaintenanceTest:

Public Member Functions

 testCleanupChanneledAfterNLOutput ()
 
 testCleanupChanneledAfterNLOutputWChannel ()
 
 testCleanupChanneledAfterNLOutputWNullChannel ()
 
 testCleanupChanneledAfterOutput ()
 
 testCleanupChanneledAfterOutputChanneledWChannel ()
 
 testCleanupChanneledAfterOutputChanneledWNullChannel ()
 
 testCleanupChanneledAfterOutputChanneledWOChannel ()
 
 testCleanupChanneledAfterOutputWChannel ()
 
 testCleanupChanneledAfterOutputWNullChannel ()
 
 testCleanupChanneledClean ()
 
 testGetConfig ()
 Maintenance::getConfig. More...
 
 testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutput ()
 
 testMultipleMaintenanceObjectsInteractionOutputChanneled ()
 
 testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputWChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputWChannelNL ()
 
 testMultipleMaintenanceObjectsInteractionOutputWNullChannel ()
 
 testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL ()
 
 testOutputChanneledEmpty ()
 
 testOutputChanneledString ()
 
 testOutputChanneledStringNLString ()
 
 testOutputChanneledStringNLStringNLArbitraryAgain ()
 
 testOutputChanneledStringString ()
 
 testOutputChanneledWAndWOChannelStringStartW ()
 
 testOutputChanneledWAndWOChannelStringStartWO ()
 
 testOutputChanneledWChannelIntermittentEmpty ()
 
 testOutputChanneledWChannelIntermittentFalse ()
 
 testOutputChanneledWChannelString ()
 
 testOutputChanneledWChannelStringNLString ()
 
 testOutputChanneledWChannelStringNLStringNLArbitraryAgain ()
 
 testOutputChanneledWChannelStringString ()
 
 testOutputChanneledWChannelTypeSwitch ()
 
 testOutputChanneledWMultipleChannelsChannelAfterNullChange ()
 
 testOutputChanneledWMultipleChannelsChannelChange ()
 
 testOutputChanneledWMultipleChannelsChannelChangeEnclosedNull ()
 
 testOutputChanneledWNullChannelEmpty ()
 
 testOutputChanneledWNullChannelIntermittentEmpty ()
 
 testOutputChanneledWNullChannelIntermittentFalse ()
 
 testOutputChanneledWNullChannelString ()
 
 testOutputChanneledWNullChannelStringNLString ()
 
 testOutputChanneledWNullChannelStringNLStringNLArbitraryAgain ()
 
 testOutputChanneledWNullChannelStringString ()
 
 testOutputChanneledWOChannelIntermittentEmpty ()
 
 testOutputChanneledWOChannelIntermittentFalse ()
 
 testOutputEmpty ()
 
 testOutputIntermittentEmpty ()
 
 testOutputIntermittentFalse ()
 
 testOutputIntermittentFalseAfterOtherChannel ()
 
 testOutputString ()
 
 testOutputStringNL ()
 
 testOutputStringNLNL ()
 
 testOutputStringNLString ()
 
 testOutputStringNLStringNL ()
 
 testOutputStringNLStringNLArbitrary ()
 
 testOutputStringNLStringNLArbitraryAgain ()
 
 testOutputStringNLStringNLLinewise ()
 
 testOutputStringString ()
 
 testOutputWAndWOChannelStringStartW ()
 
 testOutputWAndWOChannelStringStartWO ()
 
 testOutputWChannelIntermittentEmpty ()
 
 testOutputWChannelIntermittentFalse ()
 
 testOutputWChannelString ()
 
 testOutputWChannelStringNL ()
 
 testOutputWChannelStringNLNL ()
 
 testOutputWChannelStringNLString ()
 
 testOutputWChannelStringNLStringNL ()
 
 testOutputWChannelStringNLStringNLArbitrary ()
 
 testOutputWChannelStringNLStringNLArbitraryAgain ()
 
 testOutputWChannelStringNLStringNLLinewise ()
 
 testOutputWChannelTypeSwitch ()
 
 testOutputWMultipleChannelsChannelChange ()
 
 testOutputWMultipleChannelsChannelChangeNL ()
 
 testOutputWNullChannelEmpty ()
 
 testOutputWNullChannelIntermittentEmpty ()
 
 testOutputWNullChannelIntermittentFalse ()
 
 testOutputWNullChannelString ()
 
 testOutputWNullChannelStringNL ()
 
 testOutputWNullChannelStringNLNL ()
 
 testOutputWNullChannelStringNLString ()
 
 testOutputWNullChannelStringNLStringNL ()
 
 testOutputWNullChannelStringNLStringNLArbitrary ()
 
 testOutputWNullChannelStringNLStringNLArbitraryAgain ()
 
 testOutputWNullChannelStringNLStringNLLinewise ()
 
 testOutputWNullChannelStringString ()
 
 testParseArgs ()
 
 testSetConfig ()
 Maintenance::setConfig. More...
 
- Public Member Functions inherited from MediaWikiTestCase
 __call ( $func, $args)
 
 __construct ( $name=null, array $data=[], $dataName='')
 
 __destruct ()
 
 addDBData ()
 Stub. More...
 
 addDBDataOnce ()
 Stub. More...
 
 dbPrefix ()
 
 getCliArg ( $offset)
 
 hideDeprecated ( $function)
 Don't throw a warning if $function is deprecated and called later. More...
 
 needsDB ()
 
 run (PHPUnit_Framework_TestResult $result=null)
 
 setCliArg ( $offset, $value)
 
 setContentLang ( $lang)
 
 setupAllTestDBs ()
 Set up all test DBs. More...
 
 setUserLang ( $lang)
 
 testMediaWikiTestCaseParentSetupCalled ()
 Make sure MediaWikiTestCase extending classes have called their parent setUp method. More...
 
 usesTemporaryTables ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- Protected Member Functions inherited from MediaWikiTestCase
 addTmpFiles ( $files)
 
 arrayWrap (array $elements)
 Utility method taking an array of elements and wrapping each element in its own array. More...
 
 assertArrayEquals (array $expected, array $actual, $ordered=false, $named=false)
 Assert that two arrays are equal. More...
 
 assertFileContains ( $fileName, $actualData, $createIfMissing=true, $msg='')
 Check whether file contains given data. More...
 
 assertHTMLEquals ( $expected, $actual, $msg='')
 Put each HTML element on its own line and then equals() the results. More...
 
 assertSelect ( $table, $fields, $condition, array $expectedRows)
 Asserts that the given database query yields the rows given by $expectedRows. More...
 
 assertType ( $type, $actual, $message='')
 Asserts the type of the provided value. More...
 
 assertTypeOrValue ( $type, $actual, $value=false, $message='')
 Asserts that the provided variable is of the specified internal type or equals the $value argument. More...
 
 assertValidHtmlDocument ( $html)
 Asserts that the given string is valid HTML document. More...
 
 assertValidHtmlSnippet ( $html)
 Asserts that the given string is a valid HTML snippet. More...
 
 checkDbIsSupported ()
 
 checkPHPExtension ( $extName)
 Check if $extName is a loaded PHP extension, will skip the test whenever it is not loaded. More...
 
 getDefaultWikitextNS ()
 Returns the ID of a namespace that defaults to Wikitext. More...
 
 getNewTempDirectory ()
 obtains a new temporary directory More...
 
 getNewTempFile ()
 Obtains a new temporary file name. More...
 
 insertPage ( $pageName, $text='Sample page for unit test.', $namespace=null)
 Insert a new page. More...
 
 isWikitextNS ( $ns)
 Returns true if the given namespace defaults to Wikitext according to $wgNamespaceContentModels. More...
 
 markTestSkippedIfNoDiff3 ()
 Check, if $wgDiff3 is set and ready to merge Will mark the calling test as skipped, if not ready. More...
 
 mergeMwGlobalArrayValue ( $name, $values)
 Merges the given values into a MW global array variable. More...
 
 objectAssociativeSort (array &$array)
 Does an associative sort that works for objects. More...
 
 overrideMwServices (Config $configOverrides=null, array $services=[])
 Stashes the global instance of MediaWikiServices, and installs a new one, allowing test cases to override settings and services. More...
 
 setLogger ( $channel, LoggerInterface $logger)
 Sets the logger for a specified channel, for the duration of the test. More...
 
 setMwGlobals ( $pairs, $value=null)
 Sets a global, maintaining a stashed version of the previous global to be restored in tearDown. More...
 
 setService ( $name, $object)
 Sets a service, maintaining a stashed version of the previous service to be restored in tearDown. More...
 
 setTemporaryHook ( $hookName, $handler)
 Create a temporary hook handler which will be reset by tearDown. More...
 
 stashMwGlobals ( $globalKeys)
 Stashes the global, will be restored in tearDown() More...
 

Private Member Functions

 assertOutputPrePostShutdown ( $preShutdownOutput, $expectNLAppending)
 asserts the output before and after simulating shutdown More...
 

Private Attributes

MaintenanceFixup $m
 The main Maintenance instance that is used for testing. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MediaWikiTestCase
static getMutableTestUser ( $groups=[])
 Convenience method for getting a mutable test user. More...
 
static getTestSysop ()
 Convenience method for getting an immutable admin test user. More...
 
static getTestUser ( $groups=[])
 Convenience method for getting an immutable test user. More...
 
static listTables (IMaintainableDatabase $db)
 
static prepareServices (Config $bootstrapConfig)
 Prepare service configuration for unit testing. More...
 
static setUpBeforeClass ()
 
static setupTestDB (Database $db, $prefix)
 Creates an empty skeleton of the wiki database by cloning its structure to equivalent tables using the given $prefix. More...
 
static teardownTestDB ()
 Restores MediaWiki to using the table set (table prefix) it was using before setupTestDB() was called. More...
 
static wfResetOutputBuffersBarrier ( $buffer)
 Used as a marker to prevent wfResetOutputBuffers from breaking PHPUnit. More...
 
- Public Attributes inherited from MediaWikiTestCase
const DB_PREFIX = 'unittest_'
 Table name prefixes. More...
 
const ORA_DB_PREFIX = 'ut_'
 
- Static Public Attributes inherited from MediaWikiTestCase
static TestUser[] $users
 
- Static Protected Member Functions inherited from MediaWikiTestCase
static getExternalStoreDatabaseConnections ()
 Gets master database connections for all of the ExternalStoreDB stores configured in $wgDefaultExternalStore. More...
 
static isUsingExternalStoreDB ()
 Check whether ExternalStoreDB is being used. More...
 
static resetGlobalServices (Config $bootstrapConfig=null)
 Reset global services, and install testing environment. More...
 
static setupDatabaseWithTestPrefix (IMaintainableDatabase $db, $prefix)
 Setups a database with the given prefix. More...
 
static setupExternalStoreTestDBs ( $testPrefix)
 Clones the External Store database(s) for testing. More...
 
static stripStringKeys (&$r)
 Utility function for eliminating all string keys from an array. More...
 
- Protected Attributes inherited from MediaWikiTestCase
Database $db
 Primary database. More...
 
array $supportedDBs
 
array $tablesUsed = []
 

Detailed Description

Maintenance.

Definition at line 142 of file MaintenanceTest.php.

Member Function Documentation

◆ assertOutputPrePostShutdown()

MaintenanceTest::assertOutputPrePostShutdown (   $preShutdownOutput,
  $expectNLAppending 
)
private

asserts the output before and after simulating shutdown

This function simulates shutdown of self::m.

Parameters
string$preShutdownOutputExpected output before simulating shutdown
bool$expectNLAppendingWhether or not shutdown simulation is expected to add a newline to the output. If false, $preShutdownOutput is the expected output after shutdown simulation. Otherwise, $preShutdownOutput with an appended newline is the expected output after shutdown simulation.

Definition at line 176 of file MaintenanceTest.php.

Referenced by testCleanupChanneledAfterNLOutput(), testCleanupChanneledAfterNLOutputWChannel(), testCleanupChanneledAfterNLOutputWNullChannel(), testCleanupChanneledAfterOutput(), testCleanupChanneledAfterOutputChanneledWChannel(), testCleanupChanneledAfterOutputChanneledWNullChannel(), testCleanupChanneledAfterOutputChanneledWOChannel(), testCleanupChanneledAfterOutputWChannel(), testCleanupChanneledAfterOutputWNullChannel(), testCleanupChanneledClean(), testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel(), testMultipleMaintenanceObjectsInteractionOutput(), testMultipleMaintenanceObjectsInteractionOutputChanneled(), testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel(), testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel(), testMultipleMaintenanceObjectsInteractionOutputWChannel(), testMultipleMaintenanceObjectsInteractionOutputWChannelNL(), testMultipleMaintenanceObjectsInteractionOutputWNullChannel(), testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL(), testOutputChanneledEmpty(), testOutputChanneledString(), testOutputChanneledStringNLString(), testOutputChanneledStringNLStringNLArbitraryAgain(), testOutputChanneledStringString(), testOutputChanneledWAndWOChannelStringStartW(), testOutputChanneledWAndWOChannelStringStartWO(), testOutputChanneledWChannelIntermittentEmpty(), testOutputChanneledWChannelIntermittentFalse(), testOutputChanneledWChannelString(), testOutputChanneledWChannelStringNLString(), testOutputChanneledWChannelStringNLStringNLArbitraryAgain(), testOutputChanneledWChannelStringString(), testOutputChanneledWChannelTypeSwitch(), testOutputChanneledWMultipleChannelsChannelAfterNullChange(), testOutputChanneledWMultipleChannelsChannelChange(), testOutputChanneledWMultipleChannelsChannelChangeEnclosedNull(), testOutputChanneledWNullChannelEmpty(), testOutputChanneledWNullChannelIntermittentEmpty(), testOutputChanneledWNullChannelIntermittentFalse(), testOutputChanneledWNullChannelString(), testOutputChanneledWNullChannelStringNLString(), testOutputChanneledWNullChannelStringNLStringNLArbitraryAgain(), testOutputChanneledWNullChannelStringString(), testOutputChanneledWOChannelIntermittentEmpty(), testOutputChanneledWOChannelIntermittentFalse(), testOutputEmpty(), testOutputIntermittentEmpty(), testOutputIntermittentFalse(), testOutputIntermittentFalseAfterOtherChannel(), testOutputString(), testOutputStringNL(), testOutputStringNLNL(), testOutputStringNLString(), testOutputStringNLStringNL(), testOutputStringNLStringNLArbitrary(), testOutputStringNLStringNLArbitraryAgain(), testOutputStringNLStringNLLinewise(), testOutputStringString(), testOutputWAndWOChannelStringStartW(), testOutputWAndWOChannelStringStartWO(), testOutputWChannelIntermittentEmpty(), testOutputWChannelIntermittentFalse(), testOutputWChannelString(), testOutputWChannelStringNL(), testOutputWChannelStringNLNL(), testOutputWChannelStringNLString(), testOutputWChannelStringNLStringNL(), testOutputWChannelStringNLStringNLArbitrary(), testOutputWChannelStringNLStringNLArbitraryAgain(), testOutputWChannelStringNLStringNLLinewise(), testOutputWChannelTypeSwitch(), testOutputWMultipleChannelsChannelChange(), testOutputWMultipleChannelsChannelChangeNL(), testOutputWNullChannelEmpty(), testOutputWNullChannelIntermittentEmpty(), testOutputWNullChannelIntermittentFalse(), testOutputWNullChannelString(), testOutputWNullChannelStringNL(), testOutputWNullChannelStringNLNL(), testOutputWNullChannelStringNLString(), testOutputWNullChannelStringNLStringNL(), testOutputWNullChannelStringNLStringNLArbitrary(), testOutputWNullChannelStringNLStringNLArbitraryAgain(), testOutputWNullChannelStringNLStringNLLinewise(), and testOutputWNullChannelStringString().

◆ setUp()

MaintenanceTest::setUp ( )
protected

Reimplemented from MediaWikiTestCase.

Definition at line 151 of file MaintenanceTest.php.

◆ tearDown()

MaintenanceTest::tearDown ( )
protected

Reimplemented from MediaWikiTestCase.

Definition at line 156 of file MaintenanceTest.php.

◆ testCleanupChanneledAfterNLOutput()

MaintenanceTest::testCleanupChanneledAfterNLOutput ( )

Definition at line 670 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterNLOutputWChannel()

MaintenanceTest::testCleanupChanneledAfterNLOutputWChannel ( )

Definition at line 682 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterNLOutputWNullChannel()

MaintenanceTest::testCleanupChanneledAfterNLOutputWNullChannel ( )

Definition at line 676 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterOutput()

MaintenanceTest::testCleanupChanneledAfterOutput ( )

Definition at line 652 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterOutputChanneledWChannel()

MaintenanceTest::testCleanupChanneledAfterOutputChanneledWChannel ( )

Definition at line 700 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterOutputChanneledWNullChannel()

MaintenanceTest::testCleanupChanneledAfterOutputChanneledWNullChannel ( )

Definition at line 694 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterOutputChanneledWOChannel()

MaintenanceTest::testCleanupChanneledAfterOutputChanneledWOChannel ( )

Definition at line 688 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterOutputWChannel()

MaintenanceTest::testCleanupChanneledAfterOutputWChannel ( )

Definition at line 664 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledAfterOutputWNullChannel()

MaintenanceTest::testCleanupChanneledAfterOutputWNullChannel ( )

Definition at line 658 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testCleanupChanneledClean()

MaintenanceTest::testCleanupChanneledClean ( )

Definition at line 647 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testGetConfig()

MaintenanceTest::testGetConfig ( )

Maintenance::getConfig.

Definition at line 824 of file MaintenanceTest.php.

◆ testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionCleanupChanneledWChannel ( )

Definition at line 802 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutput()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutput ( )

Definition at line 706 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputChanneled()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputChanneled ( )

Definition at line 766 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputChanneledWChannel ( )

Definition at line 790 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputChanneledWNullChannel ( )

Definition at line 778 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputWChannel()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWChannel ( )

Definition at line 730 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputWChannelNL()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWChannelNL ( )

Definition at line 754 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputWNullChannel()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWNullChannel ( )

Definition at line 718 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL()

MaintenanceTest::testMultipleMaintenanceObjectsInteractionOutputWNullChannelNL ( )

Definition at line 742 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledEmpty()

MaintenanceTest::testOutputChanneledEmpty ( )

Definition at line 468 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledString()

MaintenanceTest::testOutputChanneledString ( )

Definition at line 473 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledStringNLString()

MaintenanceTest::testOutputChanneledStringNLString ( )

Definition at line 484 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledStringNLStringNLArbitraryAgain()

MaintenanceTest::testOutputChanneledStringNLStringNLArbitraryAgain ( )

Definition at line 489 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledStringString()

MaintenanceTest::testOutputChanneledStringString ( )

Definition at line 478 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWAndWOChannelStringStartW()

MaintenanceTest::testOutputChanneledWAndWOChannelStringStartW ( )

Definition at line 591 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWAndWOChannelStringStartWO()

MaintenanceTest::testOutputChanneledWAndWOChannelStringStartWO ( )

Definition at line 583 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelIntermittentEmpty()

MaintenanceTest::testOutputChanneledWChannelIntermittentEmpty ( )

Definition at line 633 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelIntermittentFalse()

MaintenanceTest::testOutputChanneledWChannelIntermittentFalse ( )

Definition at line 640 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelString()

MaintenanceTest::testOutputChanneledWChannelString ( )

Definition at line 532 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelStringNLString()

MaintenanceTest::testOutputChanneledWChannelStringNLString ( )

Definition at line 537 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelStringNLStringNLArbitraryAgain()

MaintenanceTest::testOutputChanneledWChannelStringNLStringNLArbitraryAgain ( )

Definition at line 548 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelStringString()

MaintenanceTest::testOutputChanneledWChannelStringString ( )

Definition at line 542 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWChannelTypeSwitch()

MaintenanceTest::testOutputChanneledWChannelTypeSwitch ( )

Definition at line 599 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWMultipleChannelsChannelAfterNullChange()

MaintenanceTest::testOutputChanneledWMultipleChannelsChannelAfterNullChange ( )

Definition at line 575 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWMultipleChannelsChannelChange()

MaintenanceTest::testOutputChanneledWMultipleChannelsChannelChange ( )

Definition at line 559 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWMultipleChannelsChannelChangeEnclosedNull()

MaintenanceTest::testOutputChanneledWMultipleChannelsChannelChangeEnclosedNull ( )

Definition at line 567 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelEmpty()

MaintenanceTest::testOutputChanneledWNullChannelEmpty ( )

Definition at line 500 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelIntermittentEmpty()

MaintenanceTest::testOutputChanneledWNullChannelIntermittentEmpty ( )

Definition at line 619 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelIntermittentFalse()

MaintenanceTest::testOutputChanneledWNullChannelIntermittentFalse ( )

Definition at line 626 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelString()

MaintenanceTest::testOutputChanneledWNullChannelString ( )

Definition at line 505 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelStringNLString()

MaintenanceTest::testOutputChanneledWNullChannelStringNLString ( )

Definition at line 516 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelStringNLStringNLArbitraryAgain()

MaintenanceTest::testOutputChanneledWNullChannelStringNLStringNLArbitraryAgain ( )

Definition at line 521 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWNullChannelStringString()

MaintenanceTest::testOutputChanneledWNullChannelStringString ( )

Definition at line 510 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWOChannelIntermittentEmpty()

MaintenanceTest::testOutputChanneledWOChannelIntermittentEmpty ( )

Definition at line 605 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputChanneledWOChannelIntermittentFalse()

MaintenanceTest::testOutputChanneledWOChannelIntermittentFalse ( )

Definition at line 612 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputEmpty()

MaintenanceTest::testOutputEmpty ( )

Definition at line 192 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputIntermittentEmpty()

MaintenanceTest::testOutputIntermittentEmpty ( )

Definition at line 415 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputIntermittentFalse()

MaintenanceTest::testOutputIntermittentFalse ( )

Definition at line 422 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputIntermittentFalseAfterOtherChannel()

MaintenanceTest::testOutputIntermittentFalseAfterOtherChannel ( )

Definition at line 429 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputString()

MaintenanceTest::testOutputString ( )

Definition at line 197 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNL()

MaintenanceTest::testOutputStringNL ( )

Definition at line 208 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNLNL()

MaintenanceTest::testOutputStringNLNL ( )

Definition at line 213 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNLString()

MaintenanceTest::testOutputStringNLString ( )

Definition at line 218 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNLStringNL()

MaintenanceTest::testOutputStringNLStringNL ( )

Definition at line 223 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNLStringNLArbitrary()

MaintenanceTest::testOutputStringNLStringNLArbitrary ( )

Definition at line 234 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNLStringNLArbitraryAgain()

MaintenanceTest::testOutputStringNLStringNLArbitraryAgain ( )

Definition at line 245 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringNLStringNLLinewise()

MaintenanceTest::testOutputStringNLStringNLLinewise ( )

Definition at line 228 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputStringString()

MaintenanceTest::testOutputStringString ( )

Definition at line 202 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWAndWOChannelStringStartW()

MaintenanceTest::testOutputWAndWOChannelStringStartW ( )

Definition at line 401 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWAndWOChannelStringStartWO()

MaintenanceTest::testOutputWAndWOChannelStringStartWO ( )

Definition at line 393 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelIntermittentEmpty()

MaintenanceTest::testOutputWChannelIntermittentEmpty ( )

Definition at line 451 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelIntermittentFalse()

MaintenanceTest::testOutputWChannelIntermittentFalse ( )

Definition at line 458 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelString()

MaintenanceTest::testOutputWChannelString ( )

Definition at line 320 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNL()

MaintenanceTest::testOutputWChannelStringNL ( )

Definition at line 325 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNLNL()

MaintenanceTest::testOutputWChannelStringNLNL ( )

Definition at line 330 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNLString()

MaintenanceTest::testOutputWChannelStringNLString ( )

Definition at line 339 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNLStringNL()

MaintenanceTest::testOutputWChannelStringNLStringNL ( )

Definition at line 344 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNLStringNLArbitrary()

MaintenanceTest::testOutputWChannelStringNLStringNLArbitrary ( )

Definition at line 355 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNLStringNLArbitraryAgain()

MaintenanceTest::testOutputWChannelStringNLStringNLArbitraryAgain ( )

Definition at line 366 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelStringNLStringNLLinewise()

MaintenanceTest::testOutputWChannelStringNLStringNLLinewise ( )

Definition at line 349 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWChannelTypeSwitch()

MaintenanceTest::testOutputWChannelTypeSwitch ( )

Definition at line 409 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWMultipleChannelsChannelChange()

MaintenanceTest::testOutputWMultipleChannelsChannelChange ( )

Definition at line 377 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWMultipleChannelsChannelChangeNL()

MaintenanceTest::testOutputWMultipleChannelsChannelChangeNL ( )

Definition at line 385 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelEmpty()

MaintenanceTest::testOutputWNullChannelEmpty ( )

Definition at line 256 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelIntermittentEmpty()

MaintenanceTest::testOutputWNullChannelIntermittentEmpty ( )

Definition at line 437 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelIntermittentFalse()

MaintenanceTest::testOutputWNullChannelIntermittentFalse ( )

Definition at line 444 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelString()

MaintenanceTest::testOutputWNullChannelString ( )

Definition at line 261 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNL()

MaintenanceTest::testOutputWNullChannelStringNL ( )

Definition at line 272 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNLNL()

MaintenanceTest::testOutputWNullChannelStringNLNL ( )

Definition at line 277 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNLString()

MaintenanceTest::testOutputWNullChannelStringNLString ( )

Definition at line 282 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNLStringNL()

MaintenanceTest::testOutputWNullChannelStringNLStringNL ( )

Definition at line 287 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNLStringNLArbitrary()

MaintenanceTest::testOutputWNullChannelStringNLStringNLArbitrary ( )

Definition at line 298 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNLStringNLArbitraryAgain()

MaintenanceTest::testOutputWNullChannelStringNLStringNLArbitraryAgain ( )

Definition at line 309 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringNLStringNLLinewise()

MaintenanceTest::testOutputWNullChannelStringNLStringNLLinewise ( )

Definition at line 292 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testOutputWNullChannelStringString()

MaintenanceTest::testOutputWNullChannelStringString ( )

Definition at line 266 of file MaintenanceTest.php.

References assertOutputPrePostShutdown().

◆ testParseArgs()

MaintenanceTest::testParseArgs ( )

Definition at line 841 of file MaintenanceTest.php.

◆ testSetConfig()

MaintenanceTest::testSetConfig ( )

Maintenance::setConfig.

Definition at line 835 of file MaintenanceTest.php.

Member Data Documentation

◆ $m

MaintenanceFixup MaintenanceTest::$m
private

The main Maintenance instance that is used for testing.

Definition at line 149 of file MaintenanceTest.php.


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