MediaWiki  REL1_24
ParserMethodsTest Class Reference
Inheritance diagram for ParserMethodsTest:
Collaboration diagram for ParserMethodsTest:

List of all members.

Public Member Functions

 helperParserFunc ($input, $args, $parser)
 testCallParserFunction ()
 Parser::callParserFunction
 testGetSections ()
 Parser::parse ParserOutput::getSections
 testNormalizeLinkUrl ($explanation, $url, $expected)
 provideNormalizeLinkUrl Parser::normalizeLinkUrl Parser::normalizeUrlComponent
 testPreSaveTransform ($text, $expected)
 providePreSaveTransform Parser::preSaveTransform
 testRecursiveParse ()
 MWException Parser state cleared while parsing.
 testStripOuterParagraph ($text, $expected)
 provideStripOuterParagraph Parser::stripOuterParagraph

Static Public Member Functions

static provideNormalizeLinkUrl ()
static providePreSaveTransform ()
static provideStripOuterParagraph ()

Detailed Description

Definition at line 3 of file ParserMethodsTest.php.


Member Function Documentation

ParserMethodsTest::helperParserFunc ( input,
args,
parser 
)

Definition at line 81 of file ParserMethodsTest.php.

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

Definition at line 160 of file ParserMethodsTest.php.

References array().

Definition at line 5 of file ParserMethodsTest.php.

References array().

Definition at line 32 of file ParserMethodsTest.php.

References array().

ParserMethodsTest::testNormalizeLinkUrl ( explanation,
url,
expected 
)

provideNormalizeLinkUrl Parser::normalizeLinkUrl Parser::normalizeUrlComponent

Definition at line 156 of file ParserMethodsTest.php.

References Parser\normalizeLinkUrl().

ParserMethodsTest::testPreSaveTransform ( text,
expected 
)

providePreSaveTransform Parser::preSaveTransform

Definition at line 20 of file ParserMethodsTest.php.

References $title, $user, $wgParser, global, Title\newFromText(), ParserOptions\newFromUser(), and User.

MWException Parser state cleared while parsing.

Did you call Parser::parse recursively? Parser::lock

Definition at line 73 of file ParserMethodsTest.php.

References $title, $wgParser, array(), global, and Title\newFromText().

ParserMethodsTest::testStripOuterParagraph ( text,
expected 
)

provideStripOuterParagraph Parser::stripOuterParagraph

Definition at line 64 of file ParserMethodsTest.php.

References Parser\stripOuterParagraph().


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