MediaWiki
REL1_23
|
Public Member Functions | |
deleteChangeProvider () | |
editChangeProvider () | |
revUserDeleteProvider () | |
testNewForDeleteChange ($expected, $context, $messages, $recentChange, $watched) | |
deleteChangeProvider | |
testNewForRevUserDeleteChange ($expected, $context, $messages, $recentChange, $watched) | |
revUserDeleteProvider | |
testNewFromRecentChange ($expected, $context, $messages, $recentChange, $watched) | |
editChangeProvider | |
Protected Member Functions | |
setUp () | |
Private Member Functions | |
assertDeleteLogLink ($cacheEntry) | |
assertQueryLink ($content, $params, $link) | |
assertRevDel ($cacheEntry) | |
assertTitleLink ($title, $cacheEntry) | |
assertUserLinks ($user, $cacheEntry) | |
getContext () | |
getDefaultAttributes ($title, $timestamp) | |
getMessages () | |
getTestUser () | |
makeDeletedEditRecentChange ($title, $user, $timestamp, $curid, $thisid, $lastid, $counter, $watchingUsers) | |
makeEditRecentChange ($title, $user, $curid, $thisid, $lastid, $timestamp, $counter, $watchingUsers) | |
makeLogRecentChange ($title, $user, $timestamp, $counter, $watchingUsers) | |
makeRecentChange ($attribs, $counter, $watchingUsers) |
RCCacheEntryFactoryTest::assertDeleteLogLink | ( | $ | cacheEntry | ) | [private] |
Definition at line 285 of file RCCacheEntryFactoryTest.php.
References array().
Referenced by testNewForDeleteChange().
RCCacheEntryFactoryTest::assertQueryLink | ( | $ | content, |
$ | params, | ||
$ | link | ||
) | [private] |
Definition at line 329 of file RCCacheEntryFactoryTest.php.
References $key, $link, $params, $value, array(), and as.
Referenced by testNewFromRecentChange().
RCCacheEntryFactoryTest::assertRevDel | ( | $ | cacheEntry | ) | [private] |
Definition at line 300 of file RCCacheEntryFactoryTest.php.
References array().
Referenced by testNewForRevUserDeleteChange().
RCCacheEntryFactoryTest::assertTitleLink | ( | $ | title, |
$ | cacheEntry | ||
) | [private] |
Definition at line 314 of file RCCacheEntryFactoryTest.php.
References $title, and array().
Referenced by testNewForRevUserDeleteChange(), and testNewFromRecentChange().
RCCacheEntryFactoryTest::assertUserLinks | ( | $ | user, |
$ | cacheEntry | ||
) | [private] |
Definition at line 241 of file RCCacheEntryFactoryTest.php.
References $user, and array().
Referenced by testNewForDeleteChange(), and testNewFromRecentChange().
Definition at line 120 of file RCCacheEntryFactoryTest.php.
References array(), getContext(), getMessages(), getTestUser(), and makeLogRecentChange().
Definition at line 47 of file RCCacheEntryFactoryTest.php.
References array(), getContext(), getMessages(), getTestUser(), and makeEditRecentChange().
RCCacheEntryFactoryTest::getContext | ( | ) | [private] |
Definition at line 403 of file RCCacheEntryFactoryTest.php.
References $title, $user, Language\factory(), getTestUser(), and Title\newFromText().
Referenced by deleteChangeProvider(), editChangeProvider(), and revUserDeleteProvider().
RCCacheEntryFactoryTest::getDefaultAttributes | ( | $ | title, |
$ | timestamp | ||
) | [private] |
Definition at line 353 of file RCCacheEntryFactoryTest.php.
References $timestamp, $title, and array().
Referenced by makeDeletedEditRecentChange(), makeEditRecentChange(), and makeLogRecentChange().
RCCacheEntryFactoryTest::getMessages | ( | ) | [private] |
Definition at line 389 of file RCCacheEntryFactoryTest.php.
References array().
Referenced by deleteChangeProvider(), editChangeProvider(), and revUserDeleteProvider().
RCCacheEntryFactoryTest::getTestUser | ( | ) | [private] |
Definition at line 379 of file RCCacheEntryFactoryTest.php.
References $user, and User\newFromName().
Referenced by deleteChangeProvider(), editChangeProvider(), getContext(), and revUserDeleteProvider().
RCCacheEntryFactoryTest::makeDeletedEditRecentChange | ( | $ | title, |
$ | user, | ||
$ | timestamp, | ||
$ | curid, | ||
$ | thisid, | ||
$ | lastid, | ||
$ | counter, | ||
$ | watchingUsers | ||
) | [private] |
Definition at line 223 of file RCCacheEntryFactoryTest.php.
References $attribs, $timestamp, $title, $user, array(), getDefaultAttributes(), and makeRecentChange().
Referenced by revUserDeleteProvider().
RCCacheEntryFactoryTest::makeEditRecentChange | ( | $ | title, |
$ | user, | ||
$ | curid, | ||
$ | thisid, | ||
$ | lastid, | ||
$ | timestamp, | ||
$ | counter, | ||
$ | watchingUsers | ||
) | [private] |
Definition at line 77 of file RCCacheEntryFactoryTest.php.
References $attribs, $timestamp, $title, $user, array(), getDefaultAttributes(), and makeRecentChange().
Referenced by editChangeProvider().
RCCacheEntryFactoryTest::makeLogRecentChange | ( | $ | title, |
$ | user, | ||
$ | timestamp, | ||
$ | counter, | ||
$ | watchingUsers | ||
) | [private] |
Definition at line 145 of file RCCacheEntryFactoryTest.php.
References $attribs, $timestamp, $title, $user, array(), getDefaultAttributes(), and makeRecentChange().
Referenced by deleteChangeProvider().
RCCacheEntryFactoryTest::makeRecentChange | ( | $ | attribs, |
$ | counter, | ||
$ | watchingUsers | ||
) | [private] |
Definition at line 344 of file RCCacheEntryFactoryTest.php.
References $attribs.
Referenced by makeDeletedEditRecentChange(), makeEditRecentChange(), and makeLogRecentChange().
Definition at line 193 of file RCCacheEntryFactoryTest.php.
References array(), getContext(), getMessages(), getTestUser(), and makeDeletedEditRecentChange().
RCCacheEntryFactoryTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiLangTestCase.
Definition at line 12 of file RCCacheEntryFactoryTest.php.
References array(), and MediaWikiTestCase\setMwGlobals().
RCCacheEntryFactoryTest::testNewForDeleteChange | ( | $ | expected, |
$ | context, | ||
$ | messages, | ||
$ | recentChange, | ||
$ | watched | ||
) |
deleteChangeProvider
Definition at line 98 of file RCCacheEntryFactoryTest.php.
References $messages, assertDeleteLogLink(), and assertUserLinks().
RCCacheEntryFactoryTest::testNewForRevUserDeleteChange | ( | $ | expected, |
$ | context, | ||
$ | messages, | ||
$ | recentChange, | ||
$ | watched | ||
) |
revUserDeleteProvider
Definition at line 169 of file RCCacheEntryFactoryTest.php.
References $messages, assertRevDel(), and assertTitleLink().
RCCacheEntryFactoryTest::testNewFromRecentChange | ( | $ | expected, |
$ | context, | ||
$ | messages, | ||
$ | recentChange, | ||
$ | watched | ||
) |
editChangeProvider
Definition at line 23 of file RCCacheEntryFactoryTest.php.
References $messages, assertQueryLink(), assertTitleLink(), and assertUserLinks().