MediaWiki  REL1_22
JavaScriptContentTest Class Reference

ContentHandler Database ^--- needed, because we do need the database to test link updates More...

Inheritance diagram for JavaScriptContentTest:
Collaboration diagram for JavaScriptContentTest:

List of all members.

Public Member Functions

 newContent ($text)
 testAddSectionHeader ()
 JavaScriptContent::addSectionHeader
 testGetContentHandler ()
 JavaScriptContent::getContentHandler
 testGetModel ()
 JavaScriptContent::getModel
 testMatchMagicWord ()
 JavaScriptContent::matchMagicWord
 testUpdateRedirect ()
 JavaScriptContent::updateRedirect

Static Public Member Functions

static dataEquals ()
static dataGetParserOutput ()
static dataGetRedirectTarget ()
static dataGetSection ()
static dataGetTextForSummary ()
static dataIsCountable ()
static dataPreloadTransform ()
static dataPreSaveTransform ()
static dataReplaceSection ()

Detailed Description

ContentHandler Database ^--- needed, because we do need the database to test link updates

Definition at line 8 of file JavaScriptContentTest.php.


Member Function Documentation

static JavaScriptContentTest::dataEquals ( ) [static]

Reimplemented from TextContentTest.

Definition at line 279 of file JavaScriptContentTest.php.

References array().

Reimplemented from TextContentTest.

Definition at line 14 of file JavaScriptContentTest.php.

References array().

Reimplemented from TextContentTest.

Definition at line 128 of file JavaScriptContentTest.php.

References array().

Definition at line 39 of file JavaScriptContentTest.php.

References WikitextContentTest\$sections, and array().

Reimplemented from TextContentTest.

Definition at line 222 of file JavaScriptContentTest.php.

References array().

Todo:
Test needs database!
Todo:
Test needs database!

Reimplemented from TextContentTest.

Definition at line 162 of file JavaScriptContentTest.php.

References array().

Reimplemented from TextContentTest.

Definition at line 117 of file JavaScriptContentTest.php.

References array().

Reimplemented from TextContentTest.

Definition at line 103 of file JavaScriptContentTest.php.

References array().

Definition at line 57 of file JavaScriptContentTest.php.

References WikitextContentTest\$sections, and array().


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