MediaWiki  REL1_22
ExtraParserTest Class Reference

Parser-related tests that don't suit for parserTests.txt. More...

Inheritance diagram for ExtraParserTest:
Collaboration diagram for ExtraParserTest:

List of all members.

Public Member Functions

 testBug8689 ()
 testCleanSig ()
 cleanSig() makes all templates substs and removes tildes
 testCleanSigDisabled ()
 cleanSig() should do nothing if disabled
 testCleanSigInSig ($in, $out)
 cleanSigInSig() just removes tildes provideStringsForCleanSigInSig
 testGetPreloadText ()
 Templates and comments are not affected, but noinclude/onlyinclude is.
 testGetSection ()
 testParse ()
 testPreprocess ()
 testPreSaveTransform ()
 testReplaceSection ()
 testTrackingCategory ()
 Database
 testTrackingCategorySpecial ()
 Database

Static Public Member Functions

static provideStringsForCleanSigInSig ()
static statelessFetchTemplate ($title, $parser=false)

Protected Member Functions

 setUp ()
 setUp and tearDown should (where significant) happen in reverse order.

Detailed Description

Parser-related tests that don't suit for parserTests.txt.

Definition at line 6 of file ExtraParserTest.php.


Member Function Documentation

Definition at line 92 of file ExtraParserTest.php.

References array().

ExtraParserTest::setUp ( ) [protected]

setUp and tearDown should (where significant) happen in reverse order.

Reimplemented from MediaWikiTestCase.

Definition at line 8 of file ExtraParserTest.php.

References array(), MagicWord\clearCache(), Language\factory(), ParserOptions\newFromUserAndLang(), options(), Parser, and MediaWikiTestCase\setMwGlobals().

static ExtraParserTest::statelessFetchTemplate ( title,
parser = false 
) [static]

Definition at line 124 of file ExtraParserTest.php.

References $title, and array().

cleanSig() makes all templates substs and removes tildes

Definition at line 65 of file ExtraParserTest.php.

References $title, and Title\newFromText().

cleanSig() should do nothing if disabled

Definition at line 75 of file ExtraParserTest.php.

References $title, Title\newFromText(), and MediaWikiTestCase\setMwGlobals().

ExtraParserTest::testCleanSigInSig ( in,
out 
)

cleanSigInSig() just removes tildes provideStringsForCleanSigInSig

Definition at line 88 of file ExtraParserTest.php.

References $in, $out, and Parser\cleanSigInSig().

Templates and comments are not affected, but noinclude/onlyinclude is.

Definition at line 117 of file ExtraParserTest.php.

References $title, Title\newFromText(), and options().

Definition at line 100 of file ExtraParserTest.php.

Definition at line 41 of file ExtraParserTest.php.

References $title, Title\newFromText(), and options().


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