$apiContext | ApiTestCase | protected |
$apiUrl | ApiTestCase | protectedstatic |
$called | MediaWikiTestCase | private |
$db | MediaWikiTestCase | protected |
$dbSetup | MediaWikiTestCase | privatestatic |
$errorFormatter | ApiTestCase | protectedstatic |
$loggers | MediaWikiTestCase | private |
$mwGlobals | MediaWikiTestCase | private |
$mwGlobalsToUnset | MediaWikiTestCase | private |
$oldTablePrefix | MediaWikiTestCase | privatestatic |
$pageId | ApiParseTest | protectedstatic |
$phpErrorLevel | MediaWikiTestCase | private |
$reuseDB | MediaWikiTestCase | privatestatic |
$revIds | ApiParseTest | protectedstatic |
$schemaOverrideDefaults | MediaWikiTestCase | privatestatic |
$serviceLocator | 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 | private |
addDBData() | MediaWikiTestCase | |
addDBDataOnce() | ApiParseTest | |
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=true, $msg='') | MediaWikiTestCase | protected |
assertHTMLEquals( $expected, $actual, $msg='') | MediaWikiTestCase | protected |
assertParsedTo( $expected, array $res, $warnings=null) | ApiParseTest | protected |
assertParsedToRegExp( $expected, array $res, $warnings=null) | ApiParseTest | 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 |
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 |
doAssertParsedTo( $expected, array $res, $warnings, callable $callback) | ApiParseTest | private |
doLightweightServiceReset() | MediaWikiTestCase | private |
doLogin( $testUser=null) | ApiTestCase | protected |
doTestLangLinks(array $arr=[]) | ApiParseTest | private |
dropMockTables(IMaintainableDatabase $db, array $tables) | MediaWikiTestCase | private |
editPage( $pageName, $text, $summary='', $defaultNs=NS_MAIN) | ApiTestCase | protected |
ensureMockDatabaseConnection(IDatabase $db) | MediaWikiTestCase | private |
getCliArg( $offset) | MediaWikiTestCase | |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getErrorFormatter() | ApiTestCase | protectedstatic |
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 |
getTokenList(TestUser $user, $session=null) | ApiTestCase | protected |
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 | |
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 |
resetGlobalServices(Config $bootstrapConfig=null) | MediaWikiTestCase | protectedstatic |
restoreLoggers() | MediaWikiTestCase | private |
revisionDelete( $rev, array $value=[Revision::DELETED_TEXT=> 1], $comment='') | ApiTestCase | 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 | |
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) | MediaWikiTestCase | protectedstatic |
setupExternalStoreTestDBs( $testPrefix) | MediaWikiTestCase | protectedstatic |
setupInterwiki() | ApiParseTest | protected |
setUpSchema(IMaintainableDatabase $db) | MediaWikiTestCase | private |
setupSkin() | ApiParseTest | protected |
setupTestDB(Database $db, $prefix) | MediaWikiTestCase | static |
setUserLang( $lang) | MediaWikiTestCase | |
stashMwGlobals( $globalKeys) | MediaWikiTestCase | protected |
stripStringKeys(&$r) | MediaWikiTestCase | protectedstatic |
tearDown() | ApiTestCase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testApiTestGroup() | ApiTestCase | |
testCategoriesHtml() | ApiParseTest | |
testDisableTidy() | ApiParseTest | |
testEffectiveLangLinks() | ApiParseTest | |
testExistingSection() | ApiParseTest | |
testFollowedRedirect() | ApiParseTest | |
testFollowedRedirectById() | ApiParseTest | |
testFormatCategories() | ApiParseTest | |
testHeadHtml() | ApiParseTest | |
testHeadItems() | ApiParseTest | |
testHeadItemsWithSkin() | ApiParseTest | |
testIndicators() | ApiParseTest | |
testIndicatorsWithSkin() | ApiParseTest | |
testInvalidSection() | ApiParseTest | |
testInvalidTitle() | ApiParseTest | |
testIwlinks() | ApiParseTest | |
testLangLinks() | ApiParseTest | |
testLangLinksWithSkin() | ApiParseTest | |
testLimitReports() | ApiParseTest | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testModules() | ApiParseTest | |
testModulesWithSkin() | ApiParseTest | |
testNewSection() | ApiParseTest | |
testNewSectionWithPage() | ApiParseTest | |
testNonexistentOldId() | ApiParseTest | |
testNonexistentPage() | ApiParseTest | |
testNoPst() | ApiParseTest | |
testOnlyPst() | ApiParseTest | |
testParseById() | ApiParseTest | |
testParseByName() | ApiParseTest | |
testParseByOldId() | ApiParseTest | |
testParseTree() | ApiParseTest | |
testParseTreeNonWikitext() | ApiParseTest | |
testPst() | ApiParseTest | |
testRevDel() | ApiParseTest | |
testRevDelNoPermission() | ApiParseTest | |
testRevId() | ApiParseTest | |
testRevidNoText() | ApiParseTest | |
testSection() | ApiParseTest | |
testSectionNoContent() | ApiParseTest | |
testSerializationError() | ApiParseTest | |
testSuppressed() | ApiParseTest | |
testTextNoContentModel() | ApiParseTest | |
testTitleNoText() | ApiParseTest | |
testTitleProvided() | ApiParseTest | |
testTitleWithNonexistentRevId() | ApiParseTest | |
testTitleWithNonMatchingRevId() | ApiParseTest | |
testUnfollowedRedirect() | ApiParseTest | |
undoSchemaOverrides(IMaintainableDatabase $db, $oldOverrides) | MediaWikiTestCase | private |
unprefixTable(&$tableName, $ind, $prefix) | MediaWikiTestCase | privatestatic |
usesTemporaryTables() | MediaWikiTestCase | |
wfResetOutputBuffersBarrier( $buffer) | MediaWikiTestCase | static |