MediaWiki
REL1_22
|
Public Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
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 () |
Public Attributes | |
ContentHandler | $handler |
Definition at line 6 of file WikitextContentHandlerTest.php.
static WikitextContentHandlerTest::dataGetAutosummary | ( | ) | [static] |
Definition at line 159 of file WikitextContentHandlerTest.php.
References array().
static WikitextContentHandlerTest::dataIsSupportedFormat | ( | ) | [static] |
Definition at line 63 of file WikitextContentHandlerTest.php.
References array().
static WikitextContentHandlerTest::dataMerge3 | ( | ) | [static] |
Definition at line 110 of file WikitextContentHandlerTest.php.
References array().
static WikitextContentHandlerTest::provideMakeRedirectContent | ( | ) | [static] |
Definition at line 88 of file WikitextContentHandlerTest.php.
References array(), and Title\makeTitle().
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiLangTestCase.
Definition at line 12 of file WikitextContentHandlerTest.php.
References ContentHandler\getForModelID().
WikitextContentHandlerTest::testGetAutosummary | ( | $ | old, |
$ | new, | ||
$ | flags, | ||
$ | expected | ||
) |
dataGetAutosummary WikitextContentHandler::getAutosummary
Definition at line 204 of file WikitextContentHandlerTest.php.
WikitextContentHandlerTest::testIsSupportedFormat | ( | $ | format, |
$ | supported | ||
) |
dataIsSupportedFormat WikitextContentHandler::isSupportedFormat
Definition at line 106 of file WikitextContentHandlerTest.php.
WikitextContentHandler::makeEmptyContent
Definition at line 56 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 77 of file WikitextContentHandlerTest.php.
WikitextContentHandlerTest::testMerge3 | ( | $ | old, |
$ | mine, | ||
$ | yours, | ||
$ | expected | ||
) |
dataMerge3 WikitextContentHandler::merge3
Definition at line 146 of file WikitextContentHandlerTest.php.
WikitextContentHandler::serializeContent
Definition at line 21 of file WikitextContentHandlerTest.php.
WikitextContentHandler::unserializeContent
Definition at line 38 of file WikitextContentHandlerTest.php.
ContentHandler WikitextContentHandlerTest::$handler |
Definition at line 10 of file WikitextContentHandlerTest.php.