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


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 |
| * | |
Parser-related tests that don't suit for parserTests.txt.
Definition at line 6 of file ExtraParserTest.php.
| static ExtraParserTest::provideStringsForCleanSigInSig | ( | ) | [static] |
Definition at line 119 of file ExtraParserTest.php.
| ExtraParserTest::setUp | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 11 of file ExtraParserTest.php.
References array(), MagicWord\clearCache(), Language\factory(), ParserOptions\newFromUserAndLang(), options(), Parser, and MediaWikiTestCase\setMwGlobals().
| static ExtraParserTest::statelessFetchTemplate | ( | $ | title, |
| $ | parser = false |
||
| ) | [static] |
| Title | $title | |
| bool | $parser |
Definition at line 164 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.
Definition at line 151 of file ExtraParserTest.php.
Definition at line 130 of file ExtraParserTest.php.
Definition at line 36 of file ExtraParserTest.php.
Test the parser entry points Parser::parse.
Definition at line 49 of file ExtraParserTest.php.
Definition at line 76 of file ExtraParserTest.php.
Definition at line 61 of file ExtraParserTest.php.
Definition at line 141 of file ExtraParserTest.php.
Database Parser::parse
Definition at line 178 of file ExtraParserTest.php.
Database Parser::parse
Definition at line 192 of file ExtraParserTest.php.
ParserOptions ExtraParserTest::$options [protected] |
*
Definition at line 8 of file ExtraParserTest.php.
Parser ExtraParserTest::$parser [protected] |
*
Definition at line 9 of file ExtraParserTest.php.