MediaWiki  REL1_24
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

 testCleanSig ()
 cleanSig() makes all templates substs and removes tildes Parser::cleanSig
 testCleanSigDisabled ()
 cleanSig() should do nothing if disabled Parser::cleanSig
 testCleanSigInSig ($in, $out)
 cleanSigInSig() just removes tildes provideStringsForCleanSigInSig Parser::cleanSigInSig
 testGetPreloadText ()
 Templates and comments are not affected, but noinclude/onlyinclude is.
 testGetSection ()
 Parser::getSection
 testLongNumericLinesDontKillTheParser ()
 testParse ()
 Test the parser entry points Parser::parse.
 testPreprocess ()
 Parser::preprocess
 testPreSaveTransform ()
 Parser::preSaveTransform
 testReplaceSection ()
 Parser::replaceSection
 testTrackingCategory ()
 Database Parser::parse
 testTrackingCategorySpecial ()
 Database Parser::parse

Static Public Member Functions

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

Protected Member Functions

 setUp ()

Protected Attributes

ParserOptions $options
 *
Parser $parser
 *

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 119 of file ExtraParserTest.php.

static ExtraParserTest::statelessFetchTemplate ( title,
parser = false 
) [static]
Parameters:
Title$title
bool$parser
Returns:
array

Definition at line 181 of file ExtraParserTest.php.

cleanSig() makes all templates substs and removes tildes Parser::cleanSig

Definition at line 90 of file ExtraParserTest.php.

cleanSig() should do nothing if disabled Parser::cleanSig

Definition at line 101 of file ExtraParserTest.php.

ExtraParserTest::testCleanSigInSig ( in,
out 
)

cleanSigInSig() just removes tildes provideStringsForCleanSigInSig Parser::cleanSigInSig

Definition at line 115 of file ExtraParserTest.php.

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

Parser::getPreloadText

Definition at line 164 of file ExtraParserTest.php.

Test the parser entry points Parser::parse.

Definition at line 49 of file ExtraParserTest.php.


Member Data Documentation

ParserOptions ExtraParserTest::$options [protected]

*

Definition at line 8 of file ExtraParserTest.php.

Parser ExtraParserTest::$parser [protected]

*

Definition at line 9 of file ExtraParserTest.php.


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