MediaWiki  REL1_23
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 ()

Public Attributes

ContentHandler $handler

Protected Member Functions

 setUp ()

Detailed Description

ContentHandler

Definition at line 6 of file WikitextContentHandlerTest.php.


Member Function Documentation

Definition at line 161 of file WikitextContentHandlerTest.php.

References array().

Definition at line 63 of file WikitextContentHandlerTest.php.

References array().

Definition at line 112 of file WikitextContentHandlerTest.php.

References array().

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 206 of file WikitextContentHandlerTest.php.

WikitextContentHandlerTest::testIsSupportedFormat ( format,
supported 
)

dataIsSupportedFormat WikitextContentHandler::isSupportedFormat

Definition at line 108 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 148 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: