MediaWiki  REL1_22
WikitextContentHandlerTest Class Reference

ContentHandler More...

Inheritance diagram for WikitextContentHandlerTest:
Collaboration diagram for WikitextContentHandlerTest:

List of all members.

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

Detailed Description

ContentHandler

Definition at line 6 of file WikitextContentHandlerTest.php.


Member Function Documentation

Definition at line 159 of file WikitextContentHandlerTest.php.

References array().

Definition at line 63 of file WikitextContentHandlerTest.php.

References array().

Definition at line 110 of file WikitextContentHandlerTest.php.

References array().

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.

provideMakeRedirectContent

Parameters:
Title | string$titleTitle object or string for Title::newFromText()
string$expectedSerialized 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.


Member Data Documentation

ContentHandler WikitextContentHandlerTest::$handler

Definition at line 10 of file WikitextContentHandlerTest.php.


The documentation for this class was generated from the following file: