MediaWiki  REL1_24
WikitextContentHandlerTest Class Reference

ContentHandler More...

Inheritance diagram for WikitextContentHandlerTest:
Collaboration diagram for WikitextContentHandlerTest:

List of all members.

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

Detailed Description

ContentHandler

Definition at line 6 of file WikitextContentHandlerTest.php.


Member Function Documentation

Definition at line 166 of file WikitextContentHandlerTest.php.

References array().

Definition at line 65 of file WikitextContentHandlerTest.php.

References array().

Definition at line 117 of file WikitextContentHandlerTest.php.

References array().

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.

provideMakeRedirectContent

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


Member Data Documentation

ContentHandler WikitextContentHandlerTest::$handler [private]

Definition at line 9 of file WikitextContentHandlerTest.php.


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