$apiContext | ApiTestCase | protected |
$apiUrl | ApiTestCase | protectedstatic |
$called | MediaWikiTestCase | private |
$cliArgs | MediaWikiTestCase | private |
$db | MediaWikiTestCase | protected |
$dbSetup | MediaWikiTestCase | privatestatic |
$errorFormatter | ApiTestCase | protectedstatic |
$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 |
$tmpFiles | MediaWikiTestCase | private |
$users | MediaWikiTestCase | static |
$useTemporaryTables | MediaWikiTestCase | privatestatic |
__construct( $name=null, array $data=[], $dataName='') | MediaWikiTestCase | |
__destruct() | MediaWikiTestCase | |
addCoreDBData() | MediaWikiTestCase | protected |
addDBData() | MediaWikiTestCase | |
addDBDataOnce() | MediaWikiTestCase | |
addTmpFiles( $files) | MediaWikiTestCase | protected |
apiExceptionHasCode(ApiUsageException $ex, $code) | ApiTestCase | static |
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 |
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 | |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doApiRequest(array $params, array $session=null, $appendModule=false, User $user=null, $tokenType=null) | ApiTestCase | protected |
doApiRequestWithToken(array $params, array $session=null, User $user=null, $tokenType='auto') | ApiTestCase | protected |
doLogin( $testUser=null) | ApiTestCase | 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 | |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getErrorFormatter() | ApiTestCase | protectedstatic |
getExistingTestPage( $title=null) | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | MediaWikiTestCase | protected |
getNonexistingTestPage( $title=null) | MediaWikiTestCase | protected |
getSchemaOverrides(IMaintainableDatabase $db) | MediaWikiTestCase | protected |
getTestPrefixFor(IDatabase $db) | MediaWikiTestCase | static |
getTestSysop() | MediaWikiTestCase | static |
getTestUser( $groups=[]) | MediaWikiTestCase | static |
getTokenList(TestUser $user, $session=null) | ApiTestCase | protected |
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) | 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 |
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 | |
setExpectedApiException( $msg, $code=null, array $data=null, $httpCode=0) | ApiTestCase | protected |
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() | ApiTestCase | protected |
setupAllTestDBs() | MediaWikiTestCase | |
setUpBeforeClass() | MediaWikiTestCase | static |
setupDatabaseWithTestPrefix(IMaintainableDatabase $db, $prefix=null) | MediaWikiTestCase | protectedstatic |
setupExternalStoreTestDBs( $testPrefix=null) | MediaWikiTestCase | protectedstatic |
setUpSchema(IMaintainableDatabase $db) | MediaWikiTestCase | private |
setupTestDB(IMaintainableDatabase $db, $prefix) | MediaWikiTestCase | static |
setUserLang( $lang) | MediaWikiTestCase | |
stashMwGlobals( $globalKeys) | MediaWikiTestCase | protected |
stripStringKeys(&$r) | MediaWikiTestCase | protectedstatic |
tearDown() | ApiTestCase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testApiTestGroup() | ApiTestCase | |
testContentComesWithContentModelAndFormat() | ApiQueryRevisionsTest | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
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 |