$called | MediaWikiTestCase | private |
$cliArgs | MediaWikiTestCase | private |
$db | MediaWikiTestCase | protected |
$dbSetup | MediaWikiTestCase | privatestatic |
$fakeTime | OutputPageTest | 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 |
$parserOutputHookCalled | OutputPageTest | privatestatic |
$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 |
arrayWrap(array $elements) | MediaWikiTestCase | protected |
assertArrayEquals(array $expected, array $actual, $ordered=false, $named=false) | MediaWikiTestCase | protected |
assertFeedLinks( $outputPage, $message, $present, $non_present) | OutputPageTest | private |
assertFeedUILinks( $outputPage, $ui_links) | OutputPageTest | private |
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 |
assertTransformCssMediaCase( $args) | OutputPageTest | protected |
assertType( $type, $actual, $message='') | MediaWikiTestCase | protected |
assertTypeOrValue( $type, $actual, $value=false, $message='') | MediaWikiTestCase | protected |
ATOM_RC_LINK | OutputPageTest | |
ATOM_TEST_LINK | OutputPageTest | |
canShallowCopy( $value) | MediaWikiTestCase | privatestatic |
checkDbIsSupported() | MediaWikiTestCase | protected |
checkPHPExtension( $extName) | MediaWikiTestCase | protected |
containsClosure( $var, $maxDepth=15) | MediaWikiTestCase | private |
copyTestData(IDatabase $source, IDatabase $target) | MediaWikiTestCase | |
createParserOutputStub(... $args) | OutputPageTest | private |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doCategoryAsserts( $op, $expectedNormal, $expectedHidden) | OutputPageTest | private |
doCategoryLinkAsserts( $op, $expectedNormal, $expectedHidden) | OutputPageTest | private |
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 |
extractExpectedCategories(array $expected, $key) | OutputPageTest | private |
extractHTMLTitle(OutputPage $op) | OutputPageTest | private |
getCliArg( $offset) | MediaWikiTestCase | |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExistingTestPage( $title=null) | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getMsgText( $op,... $msgParams) | OutputPageTest | privatestatic |
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 |
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 | |
newInstance( $config=[], WebRequest $request=null, $options=[]) | OutputPageTest | private |
objectAssociativeSort(array &$array) | MediaWikiTestCase | protected |
oncePerClass() | MediaWikiTestCase | private |
ORA_DB_PREFIX | MediaWikiTestCase | |
overrideMwServices(Config $configOverrides=null, array $services=[]) | MediaWikiTestCase | protected |
parserOutputHookCallback(OutputPage $op, ParserOutput $pOut, $data) | OutputPageTest | |
parserOutputHookCallbackStatic(OutputPage $op, ParserOutput $pOut, $data) | OutputPageTest | static |
prepareServices(Config $bootstrapConfig) | MediaWikiTestCase | static |
provideAdaptCdnTTL() | OutputPageTest | |
provideAddAcceptLanguage() | OutputPageTest | |
provideAdditionalFeedData() | OutputPageTest | static |
provideAddWikiText() | OutputPageTest | |
provideBacklinkSubtitle() | OutputPageTest | |
provideBuildExemptModules() | OutputPageTest | static |
provideCdnCacheEpoch() | OutputPageTest | static |
provideCheckLastModified() | OutputPageTest | |
provideFeedLinkData() | OutputPageTest | static |
provideGetCategories() | OutputPageTest | |
provideGetFrameOptions() | OutputPageTest | |
provideLinkHeaders() | OutputPageTest | |
provideMakeResourceLoaderLink() | OutputPageTest | static |
provideParse() | OutputPageTest | |
provideParseAs() | OutputPageTest | |
providePreloadLinkHeaders() | OutputPageTest | |
provideRedirect() | OutputPageTest | |
provideRevisionId() | OutputPageTest | |
provideTransformFilePath() | OutputPageTest | static |
provideVaryHeaders() | OutputPageTest | |
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 |
RSS_RC_LINK | OutputPageTest | |
RSS_TEST_LINK | OutputPageTest | |
run(PHPUnit_Framework_TestResult $result=null) | MediaWikiTestCase | |
SCREEN_MEDIA_QUERY | OutputPageTest | |
SCREEN_ONLY_MEDIA_QUERY | OutputPageTest | |
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() | OutputPageTest | protected |
setupAllTestDBs() | MediaWikiTestCase | |
setUpBeforeClass() | MediaWikiTestCase | static |
setupCategoryTests(array $fakeResults, callable $variantLinkCallback=null) | OutputPageTest | private |
setupDatabaseWithTestPrefix(IMaintainableDatabase $db, $prefix=null) | MediaWikiTestCase | protectedstatic |
setupExternalStoreTestDBs( $testPrefix=null) | MediaWikiTestCase | protectedstatic |
setupFeedLinks( $feed, $types) | OutputPageTest | private |
setUpSchema(IMaintainableDatabase $db) | MediaWikiTestCase | private |
setupTestDB(IMaintainableDatabase $db, $prefix) | MediaWikiTestCase | static |
setUserLang( $lang) | MediaWikiTestCase | |
stashMwGlobals( $globalKeys) | MediaWikiTestCase | protected |
stripStringKeys(&$r) | MediaWikiTestCase | protectedstatic |
tearDown() | OutputPageTest | protected |
teardownTestDB() | MediaWikiTestCase | static |
testAdaptCdnTTL(array $args, $expected, array $options=[]) | OutputPageTest | |
testAddAcceptLanguage( $code, array $variants, array $expected, array $options=[]) | OutputPageTest | |
testAddBacklinkSubtitle( $titles, $queries, $contains, $notContains) | OutputPageTest | |
testAddBodyClasses() | OutputPageTest | |
testAddCategoryLinks(array $args, array $fakeResults, callable $variantLinkCallback=null, array $expectedNormal, array $expectedHidden) | OutputPageTest | |
testAddCategoryLinksOneByOne(array $args, array $fakeResults, callable $variantLinkCallback=null, array $expectedNormal, array $expectedHidden) | OutputPageTest | |
testAddDeprecatedScriptFileNoOp() | OutputPageTest | |
testAddDeprecatedScriptFileWarning() | OutputPageTest | |
testAddHelpLink() | OutputPageTest | |
testAddInlineScript() | OutputPageTest | |
testAdditionalFeeds( $feed, $advertised_feed_types, $message, $additional_feed_type, $present, $non_present, $any_ui_links) | OutputPageTest | |
testAddLink() | OutputPageTest | |
testAddParserOutput() | OutputPageTest | |
testAddParserOutputText() | OutputPageTest | |
testAddScript() | OutputPageTest | |
testAddScriptFile() | OutputPageTest | |
testAddTemplate() | OutputPageTest | |
testAddWikiMsg() | OutputPageTest | |
testAddWikiText( $method, array $args, $expected) | OutputPageTest | |
testAddWikiTextAsContentNoTitle() | OutputPageTest | |
testAddWikiTextAsInterfaceNoTitle() | OutputPageTest | |
testAddWikiTextNoTitle() | OutputPageTest | |
testArticleBodyOnly() | OutputPageTest | |
testArticleFlags() | OutputPageTest | |
testBodyHTML() | OutputPageTest | |
testBuildBacklinkSubtitle( $titles, $queries, $contains, $notContains) | OutputPageTest | |
testBuildExemptModules(array $exemptStyleModules, $expect) | OutputPageTest | |
testCdnCacheEpoch( $params) | OutputPageTest | |
testCdnMaxage() | OutputPageTest | |
testCheckLastModified( $timestamp, $ifModifiedSince, $expected, $config=[], $callback=null) | OutputPageTest | |
testClickjacking() | OutputPageTest | |
testClientCache() | OutputPageTest | |
testDisable() | OutputPageTest | |
testFeedLinks() | OutputPageTest | |
testFileSearchOptions() | OutputPageTest | |
testFileVersion() | OutputPageTest | |
testForceHideNewSectionLink() | OutputPageTest | |
testGetCacheVaryCookies() | OutputPageTest | |
testGetCategoriesInvalid() | OutputPageTest | |
testGetFrameOptions( $breakFrames, $preventClickjacking, $editPageFrameOptions, $expected) | OutputPageTest | |
testHandheld() | OutputPageTest | |
testHaveCacheVaryCookies() | OutputPageTest | |
testHeadItems() | OutputPageTest | |
testHeadItemsParserOutput() | OutputPageTest | |
testHTMLTitle() | OutputPageTest | |
testIndicators() | OutputPageTest | |
testIsTOCEnabled() | OutputPageTest | |
testLanguageLinks() | OutputPageTest | |
testLinkHeaders(array $headers, $result) | OutputPageTest | |
testMakeResourceLoaderLink( $args, $expectedHtml) | OutputPageTest | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testMetaTags() | OutputPageTest | |
testNoGallery() | OutputPageTest | |
testPageTitle() | OutputPageTest | |
testParse(array $args, $expectedHTML) | OutputPageTest | |
testParseAsContent(array $args, $expectedHTML, $expectedHTMLInline=null) | OutputPageTest | |
testParseAsContentNullTitle() | OutputPageTest | |
testParseAsInterface(array $args, $expectedHTML, $expectedHTMLInline=null) | OutputPageTest | |
testParseAsInterfaceNullTitle() | OutputPageTest | |
testParseInline(array $args, $expectedHTML, $expectedHTMLInline=null) | OutputPageTest | |
testParseInlineAsInterface(array $args, $expectedHTML, $expectedHTMLInline=null) | OutputPageTest | |
testParseInlineAsInterfaceNullTitle() | OutputPageTest | |
testParseInlineNullTitle() | OutputPageTest | |
testParseNullTitle() | OutputPageTest | |
testParserOutputCategoryLinks(array $args, array $fakeResults, callable $variantLinkCallback=null, array $expectedNormal, array $expectedHidden) | OutputPageTest | |
testParserOutputHooks() | OutputPageTest | |
testPreloadLinkHeaders( $config, $result) | OutputPageTest | |
testPrintable() | OutputPageTest | |
testPrintRequests() | OutputPageTest | |
testProperties() | OutputPageTest | |
testRecentChangesFeed( $feed, $advertised_feed_types, $message, $present, $non_present) | OutputPageTest | |
testRedirect( $url, $code=null) | OutputPageTest | |
testRevisionId( $newVal, $expected) | OutputPageTest | |
testRevisionTimestamp() | OutputPageTest | |
testScreenRequests() | OutputPageTest | |
testSetCanonicalUrl() | OutputPageTest | |
testSetCategoryLinks(array $args, array $fakeResults, callable $variantLinkCallback=null, array $expectedNormal, array $expectedHidden) | OutputPageTest | |
testSetCopyrightUrl() | OutputPageTest | |
testSetIndexFollowPolicies() | OutputPageTest | |
testSetRedirectedFrom() | OutputPageTest | |
testSetRobotPolicy() | OutputPageTest | |
testSetSyndicated() | OutputPageTest | |
testSetTarget() | OutputPageTest | |
testSetTitle() | OutputPageTest | |
testShowNewSectionLink() | OutputPageTest | |
testSubtitle() | OutputPageTest | |
testTemplateIds() | OutputPageTest | |
testTransformResourcePath( $baseDir, $basePath, $uploadDir=null, $uploadPath=null, $path=null, $expected=null) | OutputPageTest | |
testVaryHeaderDefault() | OutputPageTest | |
testVaryHeaders(array $calls, array $cookies, $vary, $key) | OutputPageTest | |
testWrapWikiMsg() | OutputPageTest | |
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 |