$called | MediaWikiTestCase | private |
$cliArgs | MediaWikiTestCase | private |
$db | MediaWikiTestCase | protected |
$dbSetup | MediaWikiTestCase | privatestatic |
$iniSettings | MediaWikiTestCase | private |
$localServices | MediaWikiTestCase | private |
$loggers | MediaWikiTestCase | private |
$mwGlobals | MediaWikiTestCase | private |
$mwGlobalsToUnset | MediaWikiTestCase | private |
$oldTablePrefix | MediaWikiTestCase | privatestatic |
$originalServices | MediaWikiTestCase | privatestatic |
$overriddenServices | MediaWikiTestCase | private |
$phpErrorLevel | MediaWikiTestCase | private |
$reuseDB | MediaWikiTestCase | privatestatic |
$schemaOverrideDefaults | MediaWikiTestCase | privatestatic |
$supportedDBs | MediaWikiTestCase | protected |
$tablesUsed | MediaWikiTestCase | protected |
$testPage | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | private |
$testPageTitle | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | private |
$tmpFiles | MediaWikiTestCase | private |
$users | MediaWikiTestCase | static |
$useTemporaryTables | MediaWikiTestCase | privatestatic |
__construct( $name=null, array $data=[], $dataName='') | MediaWikiTestCase | |
__destruct() | MediaWikiTestCase | |
addCoreDBData() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
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=false, $msg='') | MediaWikiTestCase | protected |
assertHTMLEquals( $expected, $actual, $msg='') | MediaWikiTestCase | protected |
assertLinkTargetsEqual(LinkTarget $l1, LinkTarget $l2) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
assertRevisionCompleteness(RevisionRecord $r) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
assertRevisionExistsInDatabase(RevisionRecord $rev) | MediaWiki\Tests\Revision\PreMcrRevisionStoreDbTest | protected |
assertRevisionRecordMatchesRevision(Revision $rev, RevisionRecord $record) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
assertRevisionRecordsEqual(RevisionRecord $r1, RevisionRecord $r2) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
assertSameSlotContent(SlotRecord $a, SlotRecord $b) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
assertSelect( $table, $fields, $condition, array $expectedRows, array $options=[], array $join_conds=[]) | MediaWikiTestCase | protected |
assertSlotCompleteness(RevisionRecord $r, SlotRecord $slot) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
assertSlotRecordsEqual(SlotRecord $s1, SlotRecord $s2) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | 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 |
copyTestData(IDatabase $source, IDatabase $target) | MediaWikiTestCase | |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doSetMwGlobals( $pairs, $value=null) | MediaWikiTestCase | private |
doStashMwGlobals( $globalKeys) | MediaWikiTestCase | private |
dropMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
editPage( $pageName, $text, $summary='', $defaultNs=NS_MAIN) | MediaWikiTestCase | protected |
ensureMockDatabaseConnection(IDatabase $db) | MediaWikiTestCase | protected |
getCliArg( $offset) | MediaWikiTestCase | |
getContentHandlerUseDB() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
getDatabaseMock(array $params) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | private |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExistingTestPage( $title=null) | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getLoadBalancerMock(array $server) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | private |
getMcrMigrationStage() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
getMcrTablesToReset() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | MediaWikiTestCase | protected |
getNonexistingTestPage( $title=null) | MediaWikiTestCase | protected |
getRandomCommentStoreComment() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
getRevisionRecordFromDetailsArray( $details=[]) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | private |
getSchemaOverrides(IMaintainableDatabase $db) | MediaWikiTestCase | protected |
getTestPage() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
getTestPageTitle() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | protected |
getTestPrefixFor(IDatabase $db) | MediaWikiTestCase | static |
getTestSysop() | MediaWikiTestCase | static |
getTestUser( $groups=[]) | MediaWikiTestCase | static |
hideDeprecated( $function) | MediaWikiTestCase | |
insertPage( $pageName, $text='Sample page for unit test.', $namespace=null, User $user=null) | MediaWikiTestCase | protected |
installMockMwServices(Config $configOverrides=null) | MediaWikiTestCase | static |
isNotUnittest( $table) | MediaWikiTestCase | privatestatic |
isTestInDatabaseGroup() | MediaWikiTestCase | protected |
isUsingExternalStoreDB() | MediaWikiTestCase | protectedstatic |
isWikitextNS( $ns) | MediaWikiTestCase | protected |
listOriginalTables(IMaintainableDatabase $db, $prefix='prefixed') | MediaWikiTestCase | private |
listTables(IMaintainableDatabase $db) | MediaWikiTestCase | static |
makeTestConfig(Config $baseConfig=null, Config $customOverrides=null) | MediaWikiTestCase | privatestatic |
makeTestConfigFactoryInstantiator(ConfigFactory $oldFactory, array $configurations) | MediaWikiTestCase | privatestatic |
markTestSkippedIfDbType( $type) | MediaWikiTestCase | protected |
markTestSkippedIfNoDiff3() | MediaWikiTestCase | protected |
mergeMwGlobalArrayValue( $name, $values) | MediaWikiTestCase | protected |
mungeSchemaUpdateQuery( $cmd) | MediaWikiTestCase | private |
needsDB() | MediaWikiTestCase | |
objectAssociativeSort(array &$array) | MediaWikiTestCase | protected |
oncePerClass() | MediaWikiTestCase | private |
ORA_DB_PREFIX | MediaWikiTestCase | |
overrideMwServices(Config $configOverrides=null, array $services=[]) | MediaWikiTestCase | protected |
prepareServices(Config $bootstrapConfig) | MediaWikiTestCase | static |
provideDomainCheck() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
provideInsertRevisionOn_failures() | MediaWiki\Tests\Revision\PreMcrRevisionStoreDbTest | |
provideInsertRevisionOn_successes() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
provideNewMutableRevisionFromArray() | MediaWiki\Tests\Revision\PreMcrRevisionStoreDbTest | |
provideNewNullRevision() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
recloneMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
resetDB( $db, $tablesUsed) | MediaWikiTestCase | private |
resetNamespaces() | MediaWikiTestCase | private |
resetNonServiceCaches() | MediaWikiTestCase | static |
restoreLoggers() | MediaWikiTestCase | private |
restoreMwServices() | MediaWikiTestCase | static |
revisionDelete( $rev, array $value=[Revision::DELETED_TEXT=> 1], $comment='') | MediaWikiTestCase | protected |
revisionToRow(Revision $rev, $options=[ 'page', 'user', 'comment']) | MediaWiki\Tests\Revision\PreMcrRevisionStoreDbTest | protected |
run(PHPUnit_Framework_TestResult $result=null) | MediaWikiTestCase | |
setCliArg( $offset, $value) | MediaWikiTestCase | |
setContentLang( $lang) | MediaWikiTestCase | |
setGroupPermissions( $newPerms, $newKey=null, $newValue=null) | MediaWikiTestCase | |
setIniSetting( $name, $value) | MediaWikiTestCase | protected |
setLogger( $channel, LoggerInterface $logger) | MediaWikiTestCase | protected |
setMwGlobals( $pairs, $value=null) | MediaWikiTestCase | protected |
setService( $name, $object) | MediaWikiTestCase | protected |
setTemporaryHook( $hookName, $handler) | MediaWikiTestCase | protected |
setUp() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
setupAllTestDBs() | MediaWikiTestCase | |
setUpBeforeClass() | MediaWikiTestCase | static |
setupDatabaseWithTestPrefix(IMaintainableDatabase $db, $prefix=null) | MediaWikiTestCase | protectedstatic |
setupExternalStoreTestDBs( $testPrefix=null) | 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 |
testCountRevisionsByPageId() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testCountRevisionsByTitle() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testDomainCheck( $wikiId, $dbName, $dbPrefix) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetKnownCurrentRevision() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetNextRevision() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetParentLengths() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetPreviousRevision() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRcIdIfUnpatrolled_returnsRecentChangesId() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRcIdIfUnpatrolled_returnsZeroIfPatrolled() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRecentChange() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRevisionById() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRevisionByPageId() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRevisionByTimestamp() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetRevisionByTitle() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetTimestampFromId_found() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testGetTimestampFromId_notFound() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testInsertRevisionOn_archive() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testInsertRevisionOn_blobAddressExists() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testInsertRevisionOn_failures(array $revDetails=[], Exception $exception) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testInsertRevisionOn_successes(array $revDetails=[]) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testLoadRevisionFromId() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testLoadRevisionFromPageId() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testLoadRevisionFromTimestamp() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testLoadRevisionFromTitle() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testNewMutableRevisionFromArray(array $array) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewMutableRevisionFromArray_legacyEncoding(array $array) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewNullRevision(Title $title, $revDetails, $comment, $minor=false) | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewNullRevision_nonExistingTitle() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromArchiveRow_getArchiveQueryInfo() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromArchiveRow_legacyEncoding() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromArchiveRow_no_user() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromRow_anonEdit() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromRow_anonEdit_legacyEncoding() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromRow_getQueryInfo() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromRow_no_user() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testNewRevisionFromRow_userEdit() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testUserWasLastToEdit_false() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
testUserWasLastToEdit_true() | MediaWiki\Tests\Revision\RevisionStoreDbTestBase | |
truncateTable( $tableName, IDatabase $db=null) | MediaWikiTestCase | protected |
undoSchemaOverrides(IMaintainableDatabase $db, $oldOverrides) | MediaWikiTestCase | private |
unprefixTable(&$tableName, $ind, $prefix) | MediaWikiTestCase | privatestatic |
usesTemporaryTables() | MediaWikiTestCase | |
wfResetOutputBuffersBarrier( $buffer) | MediaWikiTestCase | static |