$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 |
$testPage | RevisionDbTestBase | private |
$tmpFiles | MediaWikiTestCase | private |
$users | MediaWikiTestCase | static |
$useTemporaryTables | MediaWikiTestCase | privatestatic |
__construct( $name=null, array $data=[], $dataName='') | RevisionDbTestBase | |
__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 |
assertRevEquals(Revision $orig, Revision $rev=null) | RevisionDbTestBase | 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( $titleString, $text, $model=null) | RevisionDbTestBase | private |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doLightweightServiceReset() | MediaWikiTestCase | private |
dropMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
ensureMockDatabaseConnection(IDatabase $db) | MediaWikiTestCase | private |
getCliArg( $offset) | MediaWikiTestCase | |
getContentHandlerUseDB() | RevisionContentHandlerDbTest | protected |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | MediaWikiTestCase | protected |
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 |
makeRevisionWithProps( $props=null) | RevisionDbTestBase | private |
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 | |
newTestRevision( $text, $title="Test", $model=CONTENT_MODEL_WIKITEXT, $format=null) | RevisionDbTestBase | 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 |
provideGetContent() | RevisionDbTestBase | |
provideGetContentFormat() | RevisionDbTestBase | |
provideGetContentHandler() | RevisionDbTestBase | |
provideGetContentModel() | RevisionDbTestBase | |
provideGetSha1() | RevisionDbTestBase | |
provideGetSize() | RevisionDbTestBase | |
provideNewFromArchiveRow() | RevisionDbTestBase | |
provideUserCan() | RevisionDbTestBase | |
provideUserCanBitfield() | RevisionDbTestBase | |
provideUserWasLastToEdit() | RevisionDbTestBase | static |
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() | RevisionDbTestBase | 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() | RevisionDbTestBase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testFetchRevision() | RevisionDbTestBase | |
testGetComment_notDeleted() | RevisionDbTestBase | |
testGetContent( $text, $title, $model, $format, $audience, $expectedSerialization) | RevisionDbTestBase | |
testGetContent_failure() | RevisionDbTestBase | |
testGetContentClone() | RevisionDbTestBase | |
testGetContentFormat( $text, $title, $model, $format, $expectedFormat) | RevisionDbTestBase | |
testGetContentHandler( $text, $title, $model, $format, $expectedClass) | RevisionDbTestBase | |
testGetContentModel( $text, $title, $model, $format, $expectedModel) | RevisionDbTestBase | |
testGetContentUncloned() | RevisionDbTestBase | |
testGetNext() | RevisionDbTestBase | |
testGetPage() | RevisionDbTestBase | |
testGetParentLengths_multipleRevIds() | RevisionDbTestBase | |
testGetParentLengths_noRevIds() | RevisionDbTestBase | |
testGetParentLengths_oneRevId() | RevisionDbTestBase | |
testGetPrevious() | RevisionDbTestBase | |
testGetRecentChange() | RevisionDbTestBase | |
testGetSha1( $text, $model, $expected_hash) | RevisionDbTestBase | |
testGetSize( $text, $model, $expected_size) | RevisionDbTestBase | |
testGetTimestamp() | RevisionDbTestBase | |
testGetTitle_fromExistingRevision() | RevisionDbTestBase | |
testGetTitle_fromRevisionWhichWillLoadTheTitle() | RevisionDbTestBase | |
testGetUserAndText() | RevisionDbTestBase | |
testGetVisibility_nothingDeleted() | RevisionDbTestBase | |
testInsertOn() | RevisionDbTestBase | |
testInsertOn_exceptionOnNoPage() | RevisionDbTestBase | |
testInsertOn_success() | RevisionDbTestBase | |
testIsCurrent() | RevisionDbTestBase | |
testIsDeleted_nothingDeleted() | RevisionDbTestBase | |
testIsMinor_false() | RevisionDbTestBase | |
testIsMinor_true() | RevisionDbTestBase | |
testIsUnpatrolled_returnsRecentChangesId() | RevisionDbTestBase | |
testIsUnpatrolled_returnsZeroIfPatrolled() | RevisionDbTestBase | |
testLoadFromId() | RevisionDbTestBase | |
testLoadFromPageId() | RevisionDbTestBase | |
testLoadFromPageIdWithLatestRevId() | RevisionDbTestBase | |
testLoadFromPageIdWithNotLatestRevId() | RevisionDbTestBase | |
testLoadFromTimestamp() | RevisionDbTestBase | |
testLoadFromTitle() | RevisionDbTestBase | |
testLoadFromTitleWithLatestRevId() | RevisionDbTestBase | |
testLoadFromTitleWithNotLatestRevId() | RevisionDbTestBase | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testNewFromArchiveRow( $selectModifier) | RevisionDbTestBase | |
testNewFromArchiveRowOverrides() | RevisionDbTestBase | |
testNewFromId() | RevisionDbTestBase | |
testNewFromPageId() | RevisionDbTestBase | |
testNewFromPageIdWithLatestId() | RevisionDbTestBase | |
testNewFromPageIdWithNotLatestId() | RevisionDbTestBase | |
testNewFromRow() | RevisionDbTestBase | |
testNewFromTitle_withBadId() | RevisionDbTestBase | |
testNewFromTitle_withId() | RevisionDbTestBase | |
testNewFromTitle_withoutId() | RevisionDbTestBase | |
testNewKnownCurrent() | RevisionDbTestBase | |
testNewKnownCurrent_returnsFalseWhenTitleDoesntExist() | RevisionDbTestBase | |
testNewKnownCurrent_withPageId() | RevisionDbTestBase | |
testNewNullRevision() | RevisionDbTestBase | |
testNewNullRevision_badPage() | RevisionDbTestBase | |
testSimpleContentGetters() | RevisionDbTestBase | |
testUserCan( $bitField, $field, $userGroups, $expected) | RevisionDbTestBase | |
testUserCanBitfield( $bitField, $field, $userGroups, $title, $expected) | RevisionDbTestBase | |
testUserWasLastToEdit( $sinceIdx, $expectedLast) | RevisionDbTestBase | |
undoSchemaOverrides(IMaintainableDatabase $db, $oldOverrides) | MediaWikiTestCase | private |
unprefixTable(&$tableName, $ind, $prefix) | MediaWikiTestCase | privatestatic |
usesTemporaryTables() | MediaWikiTestCase | |
wfResetOutputBuffersBarrier( $buffer) | MediaWikiTestCase | static |