MediaWiki  REL1_22
ParserPreloadTest Class Reference

Basic tests for Parser::getPreloadText. More...

Inheritance diagram for ParserPreloadTest:
Collaboration diagram for ParserPreloadTest:

List of all members.

Public Member Functions

 testPreloadedNowikiIsUnstripped ()
 Parser::getPreloadText
 testPreloadedPreIsUnstripped ()
 Parser::getPreloadText
 testPreloadSimpleText ()
 Parser::getPreloadText

Protected Member Functions

 assertPreloaded ($expected, $text, $msg= '')
 setUp ()
 setUp and tearDown should (where significant) happen in reverse order.
 tearDown ()

Private Attributes

Parser $testParser
ParserOptions $testParserOptions
Title $title

Detailed Description

Basic tests for Parser::getPreloadText.

Author:
Antoine Musso

Definition at line 6 of file ParserPreloadTest.php.


Member Function Documentation

ParserPreloadTest::assertPreloaded ( expected,
text,
msg = '' 
) [protected]

Definition at line 66 of file ParserPreloadTest.php.

ParserPreloadTest::setUp ( ) [protected]

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

Reimplemented from MediaWikiTestCase.

Definition at line 17 of file ParserPreloadTest.php.

ParserPreloadTest::tearDown ( ) [protected]

Reimplemented from MediaWikiTestCase.

Definition at line 30 of file ParserPreloadTest.php.


Member Data Documentation

Parser ParserPreloadTest::$testParser [private]

Definition at line 9 of file ParserPreloadTest.php.

ParserOptions ParserPreloadTest::$testParserOptions [private]

Definition at line 12 of file ParserPreloadTest.php.

Title ParserPreloadTest::$title [private]

Definition at line 15 of file ParserPreloadTest.php.


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