$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 |
$pagesToDelete | WikiPageDbTestBase | private |
$phpErrorLevel | MediaWikiTestCase | private |
$reuseDB | MediaWikiTestCase | privatestatic |
$schemaOverrideDefaults | MediaWikiTestCase | privatestatic |
$sections | WikiPageDbTestBase | static |
$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() | WikiPageDbTestBase | 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 |
assertPreparedEditEquals(PreparedEdit $edit, PreparedEdit $edit2, $message='') | WikiPageDbTestBase | protected |
assertPreparedEditNotEquals(PreparedEdit $edit, PreparedEdit $edit2, $message='') | WikiPageDbTestBase | 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 |
copyTestData(IDatabase $source, IDatabase $target) | MediaWikiTestCase | |
createMockContent(ContentHandler $handler, $text) | WikiPageDbTestBase | protected |
createPage( $page, $content, $model=null, $user=null) | WikiPageDbTestBase | protected |
dataReplaceSection() | WikiPageDbTestBase | |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
defineMockContentModelForUpdateTesting( $name) | WikiPageDbTestBase | protected |
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() | WikiPageNoContentModelDbTest | protected |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExistingTestPage( $title=null) | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getMcrMigrationStage() | WikiPageDbTestBase | protected |
getMcrTablesToReset() | WikiPageDbTestBase | protected |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | MediaWikiTestCase | protected |
getNonexistingTestPage( $title=null) | MediaWikiTestCase | protected |
getRow(array $overrides=[]) | WikiPageDbTestBase | private |
getSchemaOverrides(IMaintainableDatabase $db) | MediaWikiTestCase | 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 | |
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 |
resetNamespaces() | MediaWikiTestCase | private |
resetNonServiceCaches() | MediaWikiTestCase | static |
restoreLoggers() | MediaWikiTestCase | private |
restoreMwServices() | MediaWikiTestCase | static |
revisionDelete( $rev, array $value=[Revision::DELETED_TEXT=> 1], $comment='') | MediaWikiTestCase | 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() | WikiPageDbTestBase | protected |
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() | WikiPageDbTestBase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testCommentMigrationOnDeletion( $writeStage, $readStage) | WikiPageDbTestBase | |
testDoDeleteArticle() | WikiPageDbTestBase | |
testDoDeleteArticleReal_suppress() | WikiPageDbTestBase | |
testDoDeleteArticleReal_user0() | WikiPageDbTestBase | |
testDoDeleteArticleReal_userSysop() | WikiPageDbTestBase | |
testDoDeleteUpdates() | WikiPageDbTestBase | |
testDoEditContent() | WikiPageDbTestBase | |
testDoEditContent_twice() | WikiPageDbTestBase | |
testDoEditUpdates() | WikiPageDbTestBase | |
testDoRollback() | 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 | |
testGetDeletionUpdates() | WikiPageNoContentModelDbTest | |
testGetDerivedDataUpdater() | WikiPageDbTestBase | |
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 | |
testLoadPageData() | WikiPageDbTestBase | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testNewFromId_appearsToFetchCorrectRow() | WikiPageDbTestBase | |
testNewFromId_returnsNullOnBadPageId( $pageId) | WikiPageDbTestBase | |
testNewFromId_returnsNullOnNonExistingId() | WikiPageDbTestBase | |
testNewFromRow( $row, $assertions) | WikiPageDbTestBase | |
testNewPageUpdater() | WikiPageDbTestBase | |
testPrepareContentForEdit() | 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 | |
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 |