$called | MediaWikiTestCase | private |
$db | MediaWikiTestCase | protected |
$dbSetup | MediaWikiTestCase | privatestatic |
$loggers | MediaWikiTestCase | private |
$mwGlobals | MediaWikiTestCase | private |
$mwGlobalsToUnset | MediaWikiTestCase | private |
$oldTablePrefix | MediaWikiTestCase | privatestatic |
$pagesToDelete | WikiPageDbTestBase | private |
$phpErrorLevel | MediaWikiTestCase | private |
$reuseDB | MediaWikiTestCase | privatestatic |
$schemaOverrideDefaults | MediaWikiTestCase | privatestatic |
$sections | WikiPageDbTestBase | static |
$serviceLocator | MediaWikiTestCase | privatestatic |
$supportedDBs | MediaWikiTestCase | protected |
$tablesUsed | MediaWikiTestCase | protected |
$tmpFiles | MediaWikiTestCase | private |
$users | MediaWikiTestCase | static |
$useTemporaryTables | MediaWikiTestCase | privatestatic |
__construct( $name=null, array $data=[], $dataName='') | WikiPageDbTestBase | |
__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 |
assertRedirectTableCountForPageId( $pageId, $expected) | WikiPageDbTestBase | private |
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 |
createPage( $page, $text, $model=null) | WikiPageDbTestBase | protected |
dataReplaceSection() | WikiPageDbTestBase | |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doLightweightServiceReset() | MediaWikiTestCase | private |
dropMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
ensureMockDatabaseConnection(IDatabase $db) | MediaWikiTestCase | private |
getCliArg( $offset) | MediaWikiTestCase | |
getContentHandlerUseDB() | WikiPageContentHandlerDbTest | protected |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | MediaWikiTestCase | protected |
getRow(array $overrides=[]) | WikiPageDbTestBase | private |
getSchemaOverrides(IMaintainableDatabase $db) | MediaWikiTestCase | protected |
getTestSysop() | MediaWikiTestCase | static |
getTestUser( $groups=[]) | MediaWikiTestCase | static |
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 |
mungeSchemaUpdateQuery( $cmd) | MediaWikiTestCase | private |
needsDB() | MediaWikiTestCase | |
newPage( $title, $model=null) | WikiPageDbTestBase | private |
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 |
provideCommentMigrationOnDeletion() | WikiPageDbTestBase | |
provideGetAutoDeleteReason() | WikiPageDbTestBase | |
provideGetParserOutput() | WikiPageDbTestBase | |
provideGetRedirectTarget() | WikiPageDbTestBase | |
provideHasViewableContent() | WikiPageDbTestBase | |
provideIsCountable() | WikiPageDbTestBase | |
provideNewFromRowSuccess() | WikiPageDbTestBase | |
providePreSaveTransform() | WikiPageDbTestBase | |
provideTestDoUpdateRestrictions_setBasicRestrictions() | WikiPageDbTestBase | |
provideTestInsertProtectNullRevision() | WikiPageDbTestBase | |
provideTestNewFromId_returnsNullOnBadPageId() | WikiPageDbTestBase | |
provideUpdateRedirectOn() | WikiPageDbTestBase | |
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() | WikiPageDbTestBase | 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() | WikiPageDbTestBase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testCommentMigrationOnDeletion( $writeStage, $readStage) | WikiPageDbTestBase | |
testDoDeleteArticle() | WikiPageDbTestBase | |
testDoDeleteUpdates() | WikiPageDbTestBase | |
testDoEditContent() | WikiPageDbTestBase | |
testDoRollback() | WikiPageDbTestBase | |
testDoRollback_simple() | WikiPageDbTestBase | |
testDoRollbackFailureSameContent() | WikiPageDbTestBase | |
testDoRollbackTagging() | WikiPageDbTestBase | |
testDoUpdateRestrictions_failsOnReadOnly() | WikiPageDbTestBase | |
testDoUpdateRestrictions_logEntryTypeAndAction() | WikiPageDbTestBase | |
testDoUpdateRestrictions_returnsGoodIfNothingChanged() | WikiPageDbTestBase | |
testDoUpdateRestrictions_setBasicRestrictions( $pageExists, array $limit, array $expiry, array $expectedRestrictions, array $expectedRestrictionExpiries) | WikiPageDbTestBase | |
testExists() | WikiPageDbTestBase | |
testGetAutoDeleteReason( $edits, $expectedResult, $expectedHistory) | WikiPageDbTestBase | |
testGetContent() | WikiPageDbTestBase | |
testGetContentHandler() | WikiPageContentHandlerDbTest | |
testGetContentModel() | WikiPageContentHandlerDbTest | |
testGetOldestRevision() | WikiPageDbTestBase | |
testGetParserOutput( $model, $text, $expectedHtml) | WikiPageDbTestBase | |
testGetParserOutput_badrev() | WikiPageDbTestBase | |
testGetParserOutput_nonexisting() | WikiPageDbTestBase | |
testGetRedirectTarget( $title, $model, $text, $target) | WikiPageDbTestBase | |
testGetRevision() | WikiPageDbTestBase | |
testHasViewableContent( $title, $viewable, $create=false) | WikiPageDbTestBase | |
testInsertOn() | WikiPageDbTestBase | |
testInsertOn_idSpecified() | WikiPageDbTestBase | |
testInsertProtectNullRevision( $revCommentMsg, array $limit, array $expiry, $cascade, $reason, $user, $expectedComment) | WikiPageDbTestBase | |
testInsertRedirectEntry_doesNotInsertIfPageLatestIncorrect() | WikiPageDbTestBase | |
testInsertRedirectEntry_insertsRedirectEntry() | WikiPageDbTestBase | |
testInsertRedirectEntry_insertsRedirectEntryWithPageLatest() | WikiPageDbTestBase | |
testIsCountable( $title, $model, $text, $mode, $expected) | WikiPageDbTestBase | |
testIsRedirect( $title, $model, $text, $target) | WikiPageDbTestBase | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testNewFromId_appearsToFetchCorrectRow() | WikiPageDbTestBase | |
testNewFromId_returnsNullOnBadPageId( $pageId) | WikiPageDbTestBase | |
testNewFromId_returnsNullOnNonExistingId() | WikiPageDbTestBase | |
testNewFromRow( $row, $assertions) | WikiPageDbTestBase | |
testReplaceSectionAtRev( $title, $model, $text, $section, $with, $sectionTitle, $expected) | WikiPageDbTestBase | |
testReplaceSectionContent( $title, $model, $text, $section, $with, $sectionTitle, $expected) | WikiPageDbTestBase | |
testUpdateCategoryCounts() | WikiPageDbTestBase | |
testUpdateIfNewerOn_newerRevision() | WikiPageDbTestBase | |
testUpdateIfNewerOn_olderRevision() | WikiPageDbTestBase | |
testUpdateRedirectOn( $initialText, $initialRedirectState, $redirectTitle, $lastRevIsRedirect, $expectedSuccess, $expectedRowCount) | WikiPageDbTestBase | |
testUpdateRevisionOn_existingPage() | WikiPageDbTestBase | |
testUpdateRevisionOn_NonExistingPage() | WikiPageDbTestBase | |
testWikiPageFactory() | WikiPageDbTestBase | |
undoSchemaOverrides(IMaintainableDatabase $db, $oldOverrides) | MediaWikiTestCase | private |
unprefixTable(&$tableName, $ind, $prefix) | MediaWikiTestCase | privatestatic |
usesTemporaryTables() | MediaWikiTestCase | |
wfResetOutputBuffersBarrier( $buffer) | MediaWikiTestCase | static |