$called | MediaWikiTestCase | private |
$db | MediaWikiTestCase | protected |
$dbSetup | MediaWikiTestCase | privatestatic |
$loggers | MediaWikiTestCase | private |
$mwGlobals | MediaWikiTestCase | private |
$mwGlobalsToUnset | MediaWikiTestCase | private |
$oldTablePrefix | MediaWikiTestCase | privatestatic |
$phpErrorLevel | MediaWikiTestCase | private |
$reuseDB | MediaWikiTestCase | privatestatic |
$schemaOverrideDefaults | MediaWikiTestCase | privatestatic |
$serviceLocator | MediaWikiTestCase | privatestatic |
$supportedDBs | MediaWikiTestCase | protected |
$tablesUsed | MediaWikiTestCase | protected |
$tmpFiles | MediaWikiTestCase | private |
$users | MediaWikiTestCase | static |
$useTemporaryTables | MediaWikiTestCase | privatestatic |
__construct( $name=null, array $data=[], $dataName='') | MediaWikiTestCase | |
__destruct() | MediaWikiTestCase | |
addCoreDBData() | MediaWikiTestCase | private |
addDBData() | MediaWikiTestCase | |
addDBDataOnce() | MediaWikiTestCase | |
addTmpFiles( $files) | MediaWikiTestCase | protected |
arrayWrap(array $elements) | MediaWikiTestCase | protected |
assertArrayEquals(array $expected, array $actual, $ordered=false, $named=false) | MediaWikiTestCase | protected |
assertFileContains( $fileName, $actualData, $createIfMissing=true, $msg='') | MediaWikiTestCase | protected |
assertHTMLEquals( $expected, $actual, $msg='') | MediaWikiTestCase | protected |
assertSelect( $table, $fields, $condition, array $expectedRows, array $options=[], array $join_conds=[]) | MediaWikiTestCase | protected |
assertType( $type, $actual, $message='') | MediaWikiTestCase | protected |
assertTypeOrValue( $type, $actual, $value=false, $message='') | MediaWikiTestCase | protected |
canShallowCopy( $value) | MediaWikiTestCase | privatestatic |
checkDbIsSupported() | MediaWikiTestCase | protected |
checkPHPExtension( $extName) | MediaWikiTestCase | protected |
containsClosure( $var, $maxDepth=15) | MediaWikiTestCase | private |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doLightweightServiceReset() | MediaWikiTestCase | private |
dropMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
ensureMockDatabaseConnection(IDatabase $db) | MediaWikiTestCase | private |
getBlobStore() | RevisionTest | private |
getCliArg( $offset) | MediaWikiTestCase | |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getMockTitle( $model=CONTENT_MODEL_WIKITEXT) | RevisionTest | |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | MediaWikiTestCase | protected |
getRevisionStore() | RevisionTest | private |
getSchemaOverrides(IMaintainableDatabase $db) | MediaWikiTestCase | protected |
getTestSysop() | MediaWikiTestCase | static |
getTestUser( $groups=[]) | MediaWikiTestCase | static |
getWANObjectCache() | RevisionTest | private |
hideDeprecated( $function) | MediaWikiTestCase | |
insertPage( $pageName, $text='Sample page for unit test.', $namespace=null) | MediaWikiTestCase | protected |
installTestServices(ConfigFactory $oldConfigFactory, LBFactory $oldLoadBalancerFactory, MediaWikiServices $newServices) | MediaWikiTestCase | privatestatic |
isNotUnittest( $table) | MediaWikiTestCase | privatestatic |
isUsingExternalStoreDB() | MediaWikiTestCase | protectedstatic |
isWikitextNS( $ns) | MediaWikiTestCase | protected |
listOriginalTables(IMaintainableDatabase $db) | MediaWikiTestCase | private |
listTables(IMaintainableDatabase $db) | MediaWikiTestCase | static |
makeTestConfig(Config $baseConfig=null, Config $customOverrides=null) | MediaWikiTestCase | privatestatic |
makeTestConfigFactoryInstantiator(ConfigFactory $oldFactory, array $configurations) | MediaWikiTestCase | privatestatic |
markTestSkippedIfNoDiff3() | MediaWikiTestCase | protected |
mergeMwGlobalArrayValue( $name, $values) | MediaWikiTestCase | protected |
mockBlobStoreFactory( $blobStore) | RevisionTest | private |
mungeSchemaUpdateQuery( $cmd) | MediaWikiTestCase | private |
needsDB() | MediaWikiTestCase | |
objectAssociativeSort(array &$array) | MediaWikiTestCase | protected |
oncePerClass() | MediaWikiTestCase | private |
ORA_DB_PREFIX | MediaWikiTestCase | |
overrideCommentStoreAndActorMigration() | RevisionTest | private |
overrideMwServices(Config $configOverrides=null, array $services=[]) | MediaWikiTestCase | protected |
prepareServices(Config $bootstrapConfig) | MediaWikiTestCase | static |
provideConstructFromArray() | RevisionTest | |
provideConstructFromArray_userSetAsExpected() | RevisionTest | |
provideConstructFromArrayThrowsExceptions() | RevisionTest | |
provideConstructFromRow() | RevisionTest | |
provideDecompressRevisionText() | RevisionTest | |
provideGetArchiveQueryInfo() | RevisionTest | |
provideGetId() | RevisionTest | |
provideGetParentId() | RevisionTest | |
provideGetQueryInfo() | RevisionTest | |
provideGetRevisionText() | RevisionTest | |
provideGetRevisionTextWithGzipAndLegacyEncoding() | RevisionTest | |
provideGetRevisionTextWithLegacyEncoding() | RevisionTest | |
provideGetRevisionTextWithZlibExtension() | RevisionTest | |
provideGetTextId() | RevisionTest | |
provideSelectArchiveFields() | RevisionTest | |
provideSelectFields() | RevisionTest | |
provideSetId() | RevisionTest | |
provideSetUserIdAndName() | RevisionTest | |
provideTestGetRevisionText_external_returnsFalseWhenNotEnoughUrlParts() | RevisionTest | |
provideTestGetRevisionText_returnsDecompressedTextFieldWhenNotExternal() | RevisionTest | |
recloneMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
resetDB( $db, $tablesUsed) | MediaWikiTestCase | private |
resetGlobalServices(Config $bootstrapConfig=null) | MediaWikiTestCase | protectedstatic |
restoreLoggers() | MediaWikiTestCase | private |
run(PHPUnit_Framework_TestResult $result=null) | MediaWikiTestCase | |
setCliArg( $offset, $value) | MediaWikiTestCase | |
setContentLang( $lang) | MediaWikiTestCase | |
setGroupPermissions( $newPerms, $newKey=null, $newValue=null) | MediaWikiTestCase | |
setLogger( $channel, LoggerInterface $logger) | MediaWikiTestCase | protected |
setMwGlobals( $pairs, $value=null) | MediaWikiTestCase | protected |
setService( $name, $object) | MediaWikiTestCase | protected |
setTemporaryHook( $hookName, $handler) | MediaWikiTestCase | protected |
setUp() | MediaWikiTestCase | protected |
setupAllTestDBs() | MediaWikiTestCase | |
setUpBeforeClass() | MediaWikiTestCase | static |
setupDatabaseWithTestPrefix(IMaintainableDatabase $db, $prefix) | MediaWikiTestCase | protectedstatic |
setupExternalStoreTestDBs( $testPrefix) | MediaWikiTestCase | protectedstatic |
setUpSchema(IMaintainableDatabase $db) | MediaWikiTestCase | private |
setupTestDB(Database $db, $prefix) | MediaWikiTestCase | static |
setUserLang( $lang) | MediaWikiTestCase | |
stashMwGlobals( $globalKeys) | MediaWikiTestCase | protected |
stripStringKeys(&$r) | MediaWikiTestCase | protectedstatic |
tearDown() | MediaWikiTestCase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testCompressRevisionTextUtf8() | RevisionTest | |
testCompressRevisionTextUtf8Gzip() | RevisionTest | |
testConstructFromArray( $rowArray) | RevisionTest | |
testConstructFromArray_userSetAsExpected(array $rowArray, $expectedUserId, $expectedUserName) | RevisionTest | |
testConstructFromArrayThrowsExceptions( $rowArray, Exception $expectedException) | RevisionTest | |
testConstructFromArrayWithBadPageId() | RevisionTest | |
testConstructFromEmptyArray() | RevisionTest | |
testConstructFromNothing() | RevisionTest | |
testConstructFromRow(array $arrayData, $assertions) | RevisionTest | |
testConstructFromRowWithBadPageId() | RevisionTest | |
testDecompressRevisionText( $legacyEncoding, $text, $flags, $expected) | RevisionTest | |
testGetArchiveQueryInfo( $globals, $expected) | RevisionTest | |
testGetContent() | RevisionTest | |
testGetContent_failure() | RevisionTest | |
testGetId( $rowArray, $expectedId) | RevisionTest | |
testGetParentId( $rowArray, $expected) | RevisionTest | |
testGetQueryInfo( $globals, $options, $expected) | RevisionTest | |
testGetRevisionText( $expected, $rowData, $prefix='old_', $wiki=false) | RevisionTest | |
testGetRevisionText_external_noOldId() | RevisionTest | |
testGetRevisionText_external_oldId() | RevisionTest | |
testGetRevisionText_external_returnsFalseWhenNotEnoughUrlParts( $text) | RevisionTest | |
testGetRevisionText_returnsDecompressedTextFieldWhenNotExternal( $row, $prefix, $expected) | RevisionTest | |
testGetRevisionText_returnsFalseWhenNoTextField() | RevisionTest | |
testGetRevisionWithGzipAndLegacyEncoding( $expected, $lang, $encoding, $rowData) | RevisionTest | |
testGetRevisionWithLegacyEncoding( $expected, $lang, $encoding, $rowData) | RevisionTest | |
testGetRevisionWithZlibExtension( $expected, $rowData) | RevisionTest | |
testGetSha1() | RevisionTest | |
testGetSha1_failure() | RevisionTest | |
testGetSize() | RevisionTest | |
testGetSize_failure() | RevisionTest | |
testGetTextId( $rowArray, $expected) | RevisionTest | |
testLoadFromTitle() | RevisionTest | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testPageJoinCond() | RevisionTest | |
testSelectArchiveFields( $contentHandlerUseDB, $expected) | RevisionTest | |
testSelectFields( $contentHandlerUseDB, $expected) | RevisionTest | |
testSelectPageFields() | RevisionTest | |
testSelectTextFields() | RevisionTest | |
testSelectUserFields() | RevisionTest | |
testSetId( $input, $expected) | RevisionTest | |
testSetUserIdAndName( $inputId, $expectedId, $name) | RevisionTest | |
testUserJoinCond() | RevisionTest | |
undoSchemaOverrides(IMaintainableDatabase $db, $oldOverrides) | MediaWikiTestCase | private |
unprefixTable(&$tableName, $ind, $prefix) | MediaWikiTestCase | privatestatic |
usesTemporaryTables() | MediaWikiTestCase | |
wfResetOutputBuffersBarrier( $buffer) | MediaWikiTestCase | static |