$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 |
$serviceLocator | MediaWikiTestCase | privatestatic |
$supportedDBs | MediaWikiTestCase | protected |
$tablesUsed | MediaWikiTestCase | protected |
$tmpFiles | MediaWikiTestCase | private |
$users | MediaWikiTestCase | static |
$useTemporaryTables | MediaWikiTestCase | privatestatic |
__call( $func, $args) | MediaWikiTestCase | |
__construct( $name=null, array $data=[], $dataName='') | MediaWikiTestCase | |
__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 |
assertSelect( $table, $fields, $condition, array $expectedRows) | MediaWikiTestCase | protected |
assertType( $type, $actual, $message='') | MediaWikiTestCase | protected |
assertTypeOrValue( $type, $actual, $value=false, $message='') | MediaWikiTestCase | protected |
assertValidHtmlDocument( $html) | MediaWikiTestCase | protected |
assertValidHtmlSnippet( $html) | MediaWikiTestCase | protected |
canShallowCopy( $value) | MediaWikiTestCase | privatestatic |
checkDbIsSupported() | MediaWikiTestCase | protected |
checkPHPExtension( $extName) | MediaWikiTestCase | protected |
containsClosure( $var, $maxDepth=15) | MediaWikiTestCase | private |
createMock2( $originalClassName) | MediaWikiTestCase | private |
DB_PREFIX | MediaWikiTestCase | |
dbPrefix() | MediaWikiTestCase | |
doLightweightServiceReset() | MediaWikiTestCase | private |
getAnonUser() | WatchedItemStoreUnitTest | private |
getCliArg( $offset) | MediaWikiTestCase | |
getDefaultWikitextNS() | MediaWikiTestCase | protected |
getExternalStoreDatabaseConnections() | MediaWikiTestCase | protectedstatic |
getFakeRow(array $rowValues) | WatchedItemStoreUnitTest | private |
getMockCache() | WatchedItemStoreUnitTest | private |
getMockDb() | WatchedItemStoreUnitTest | private |
getMockLoadBalancer( $mockDb, $expectedConnectionType=null) | WatchedItemStoreUnitTest | private |
getMockNonAnonUserWithId( $id) | WatchedItemStoreUnitTest | private |
getMockReadOnlyMode( $readOnly=false) | WatchedItemStoreUnitTest | private |
getMockTitle( $text, $ns=0) | WatchedItemStoreUnitTest | private |
getMutableTestUser( $groups=[]) | MediaWikiTestCase | static |
getNewTempDirectory() | MediaWikiTestCase | protected |
getNewTempFile() | 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 |
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 |
needsDB() | MediaWikiTestCase | |
newWatchedItemStore(LoadBalancer $loadBalancer, HashBagOStuff $cache, ReadOnlyMode $readOnlyMode) | WatchedItemStoreUnitTest | 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 |
provideDbTypes() | WatchedItemStoreUnitTest | |
provideIntWithDbUnsafeVersion() | WatchedItemStoreUnitTest | |
provideLinkTargetPairs() | WatchedItemStoreUnitTest | |
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 | |
setLogger( $channel, LoggerInterface $logger) | MediaWikiTestCase | protected |
setMwGlobals( $pairs, $value=null) | MediaWikiTestCase | protected |
setService( $name, $object) | MediaWikiTestCase | protected |
setTemporaryHook( $hookName, $handler) | MediaWikiTestCase | protected |
setUp() | MediaWikiTestCase | protected |
setupAllTestDBs() | MediaWikiTestCase | |
setUpBeforeClass() | MediaWikiTestCase | static |
setupDatabaseWithTestPrefix(IMaintainableDatabase $db, $prefix) | MediaWikiTestCase | protectedstatic |
setupExternalStoreTestDBs( $testPrefix) | MediaWikiTestCase | protectedstatic |
setupTestDB(Database $db, $prefix) | MediaWikiTestCase | static |
setUserLang( $lang) | MediaWikiTestCase | |
stashMwGlobals( $globalKeys) | MediaWikiTestCase | protected |
stripStringKeys(&$r) | MediaWikiTestCase | protectedstatic |
tearDown() | MediaWikiTestCase | protected |
teardownTestDB() | MediaWikiTestCase | static |
testAddWatch_anonymousUser() | WatchedItemStoreUnitTest | |
testAddWatch_nonAnonymousUser() | WatchedItemStoreUnitTest | |
testAddWatchBatchForUser_anonymousUsersAreSkipped() | WatchedItemStoreUnitTest | |
testAddWatchBatchForUser_nonAnonymousUser() | WatchedItemStoreUnitTest | |
testAddWatchBatchForUser_readOnlyDBReturnsFalse() | WatchedItemStoreUnitTest | |
testAddWatchBatchReturnsTrue_whenGivenEmptyList() | WatchedItemStoreUnitTest | |
testCountUnreadNotifications() | WatchedItemStoreUnitTest | |
testCountUnreadNotifications_withUnreadLimit_overLimit( $limit) | WatchedItemStoreUnitTest | |
testCountUnreadNotifications_withUnreadLimit_underLimit( $limit) | WatchedItemStoreUnitTest | |
testCountVisitingWatchers() | WatchedItemStoreUnitTest | |
testCountVisitingWatchersMultiple() | WatchedItemStoreUnitTest | |
testCountVisitingWatchersMultiple_withMinimumWatchers( $minWatchers) | WatchedItemStoreUnitTest | |
testCountVisitingWatchersMultiple_withMissingTargets() | WatchedItemStoreUnitTest | |
testCountWatchedItems() | WatchedItemStoreUnitTest | |
testCountWatchers() | WatchedItemStoreUnitTest | |
testCountWatchersMultiple() | WatchedItemStoreUnitTest | |
testCountWatchersMultiple_withMinimumWatchers( $minWatchers) | WatchedItemStoreUnitTest | |
testDuplicateAllAssociatedEntries_nothingToDuplicate() | WatchedItemStoreUnitTest | |
testDuplicateAllAssociatedEntries_somethingToDuplicate(LinkTarget $oldTarget, LinkTarget $newTarget) | WatchedItemStoreUnitTest | |
testDuplicateEntry_nothingToDuplicate() | WatchedItemStoreUnitTest | |
testDuplicateEntry_somethingToDuplicate() | WatchedItemStoreUnitTest | |
testGetNotificationTimestampsBatch() | WatchedItemStoreUnitTest | |
testGetNotificationTimestampsBatch_allItemsCached() | WatchedItemStoreUnitTest | |
testGetNotificationTimestampsBatch_anonymousUser() | WatchedItemStoreUnitTest | |
testGetNotificationTimestampsBatch_cachedItem() | WatchedItemStoreUnitTest | |
testGetNotificationTimestampsBatch_notWatchedTarget() | WatchedItemStoreUnitTest | |
testGetWatchedItem_anonymousUser() | WatchedItemStoreUnitTest | |
testGetWatchedItem_cachedItem() | WatchedItemStoreUnitTest | |
testGetWatchedItem_existingItem() | WatchedItemStoreUnitTest | |
testGetWatchedItem_noItem() | WatchedItemStoreUnitTest | |
testGetWatchedItemsForUser() | WatchedItemStoreUnitTest | |
testGetWatchedItemsForUser_badSortOptionThrowsException() | WatchedItemStoreUnitTest | |
testGetWatchedItemsForUser_optionsAndEmptyResult( $forWrite, $dbType) | WatchedItemStoreUnitTest | |
testIsWatchedItem_anonymousUser() | WatchedItemStoreUnitTest | |
testIsWatchedItem_existingItem() | WatchedItemStoreUnitTest | |
testIsWatchedItem_noItem() | WatchedItemStoreUnitTest | |
testLoadWatchedItem_anonymousUser() | WatchedItemStoreUnitTest | |
testLoadWatchedItem_existingItem() | WatchedItemStoreUnitTest | |
testLoadWatchedItem_noItem() | WatchedItemStoreUnitTest | |
testMediaWikiTestCaseParentSetupCalled() | MediaWikiTestCase | |
testRemoveWatch_anonymousUser() | WatchedItemStoreUnitTest | |
testRemoveWatch_existingItem() | WatchedItemStoreUnitTest | |
testRemoveWatch_noItem() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_anonymousUser() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_futureNotificationTimestampForced() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_futureNotificationTimestampNotForced() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_item() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_noItem() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_noItemForced() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_notWatchedPageForced() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_oldidSpecifiedLatestRevisionForced() | WatchedItemStoreUnitTest | |
testResetNotificationTimestamp_oldidSpecifiedNotLatestRevisionForced() | WatchedItemStoreUnitTest | |
testSetNotificationTimestampsForUser_allRows() | WatchedItemStoreUnitTest | |
testSetNotificationTimestampsForUser_anonUser() | WatchedItemStoreUnitTest | |
testSetNotificationTimestampsForUser_nullTimestamp() | WatchedItemStoreUnitTest | |
testSetNotificationTimestampsForUser_specificTargets() | WatchedItemStoreUnitTest | |
testUpdateNotificationTimestamp_clearsCachedItems() | WatchedItemStoreUnitTest | |
testUpdateNotificationTimestamp_noWatchers() | WatchedItemStoreUnitTest | |
testUpdateNotificationTimestamp_watchersExist() | WatchedItemStoreUnitTest | |
unprefixTable(&$tableName, $ind, $prefix) | MediaWikiTestCase | privatestatic |
usesTemporaryTables() | MediaWikiTestCase | |
verifyCallbackJob( $callback, LinkTarget $expectedTitle, $expectedUserId, callable $notificationTimestampCondition) | WatchedItemStoreUnitTest | private |
wfResetOutputBuffersBarrier( $buffer) | MediaWikiTestCase | static |