MediaWiki
REL1_24
|
Public Member Functions | |
testGetAutosummary ($old, $new, $flags, $expected) | |
dataGetAutosummary WikitextContentHandler::getAutosummary | |
testIsSupportedFormat ($format, $supported) | |
dataIsSupportedFormat WikitextContentHandler::isSupportedFormat | |
testMakeEmptyContent () | |
WikitextContentHandler::makeEmptyContent | |
testMakeRedirectContent ($title, $expected) | |
provideMakeRedirectContent | |
testMerge3 ($old, $mine, $yours, $expected) | |
dataMerge3 WikitextContentHandler::merge3 | |
testSerializeContent () | |
WikitextContentHandler::serializeContent | |
testUnserializeContent () | |
WikitextContentHandler::unserializeContent | |
Static Public Member Functions | |
static | dataGetAutosummary () |
static | dataIsSupportedFormat () |
static | dataMerge3 () |
static | provideMakeRedirectContent () |
Protected Member Functions | |
setUp () | |
Private Attributes | |
ContentHandler | $handler |
Definition at line 6 of file WikitextContentHandlerTest.php.
static WikitextContentHandlerTest::dataGetAutosummary | ( | ) | [static] |
Definition at line 166 of file WikitextContentHandlerTest.php.
References array().
static WikitextContentHandlerTest::dataIsSupportedFormat | ( | ) | [static] |
Definition at line 65 of file WikitextContentHandlerTest.php.
References array().
static WikitextContentHandlerTest::dataMerge3 | ( | ) | [static] |
Definition at line 117 of file WikitextContentHandlerTest.php.
References array().
static WikitextContentHandlerTest::provideMakeRedirectContent | ( | ) | [static] |
Definition at line 92 of file WikitextContentHandlerTest.php.
References array(), and Title\makeTitle().
WikitextContentHandlerTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiLangTestCase.
Definition at line 11 of file WikitextContentHandlerTest.php.
References ContentHandler\getForModelID().
WikitextContentHandlerTest::testGetAutosummary | ( | $ | old, |
$ | new, | ||
$ | flags, | ||
$ | expected | ||
) |
dataGetAutosummary WikitextContentHandler::getAutosummary
Definition at line 212 of file WikitextContentHandlerTest.php.
WikitextContentHandlerTest::testIsSupportedFormat | ( | $ | format, |
$ | supported | ||
) |
dataIsSupportedFormat WikitextContentHandler::isSupportedFormat
Definition at line 113 of file WikitextContentHandlerTest.php.
WikitextContentHandler::makeEmptyContent
Definition at line 58 of file WikitextContentHandlerTest.php.
WikitextContentHandlerTest::testMakeRedirectContent | ( | $ | title, |
$ | expected | ||
) |
provideMakeRedirectContent
Title | string | $title | Title object or string for Title::newFromText() |
string | $expected | Serialized form of the content object built WikitextContentHandler::makeRedirectContent |
Definition at line 79 of file WikitextContentHandlerTest.php.
WikitextContentHandlerTest::testMerge3 | ( | $ | old, |
$ | mine, | ||
$ | yours, | ||
$ | expected | ||
) |
dataMerge3 WikitextContentHandler::merge3
Definition at line 153 of file WikitextContentHandlerTest.php.
WikitextContentHandler::serializeContent
Definition at line 20 of file WikitextContentHandlerTest.php.
WikitextContentHandler::unserializeContent
Definition at line 40 of file WikitextContentHandlerTest.php.
ContentHandler WikitextContentHandlerTest::$handler [private] |
Definition at line 9 of file WikitextContentHandlerTest.php.