MediaWiki  REL1_24
HtmlFormatterTest Class Reference

HtmlFormatter More...

Inheritance diagram for HtmlFormatterTest:
Collaboration diagram for HtmlFormatterTest:

List of all members.

Public Member Functions

 getHtmlData ()
 testQuickProcessing ()
 testTransform ($input, $expectedText, $expectedRemoved=array(), $callback=false)
 getHtmlData

Static Private Member Functions

static normalize ($s)

Detailed Description

HtmlFormatter

Definition at line 6 of file HtmlFormatterTest.php.


Member Function Documentation

Definition at line 42 of file HtmlFormatterTest.php.

References $f, and array().

static HtmlFormatterTest::normalize ( s) [static, private]

Definition at line 36 of file HtmlFormatterTest.php.

References $s.

Referenced by testTransform().

Definition at line 113 of file HtmlFormatterTest.php.

References $f.

HtmlFormatterTest::testTransform ( input,
expectedText,
expectedRemoved = array(),
callback = false 
)

getHtmlData

Parameters:
string$input
string$expectedText
array$expectedRemoved
callable | bool$callback

Definition at line 15 of file HtmlFormatterTest.php.

References $html, array(), as, MediaWikiTestCase\assertValidHtmlSnippet(), normalize(), and HtmlFormatter\wrapHTML().


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