PTShell Class Reference

Inherits ParserTest.

List of all members.

Public Member Functions

 showTesting ($desc)
 "Running test $desc..."
 showRunFile ($path)
 Show "Reading tests from ...".
 showSuccess ($desc)
 Print a happy success message.
 showFailure ($desc, $expected, $got)
 Print a failure message and provide some explanatory output about what went wrong if so configured.


Detailed Description

Definition at line 265 of file MediaWikiParserTest.php.


Member Function Documentation

PTShell::showFailure ( desc,
result,
html 
)

Print a failure message and provide some explanatory output about what went wrong if so configured.

Parameters:
string $desc The test name
string $result Expected HTML output
string $html Actual HTML output
Returns:
bool

Reimplemented from ParserTest.

Definition at line 277 of file MediaWikiParserTest.php.

PTShell::showRunFile ( path  ) 

Show "Reading tests from ...".

Parameters:
String $path

Reimplemented from ParserTest.

Definition at line 269 of file MediaWikiParserTest.php.

PTShell::showSuccess ( desc  ) 

Print a happy success message.

Parameters:
string $desc The test name
Returns:
bool

Reimplemented from ParserTest.

Definition at line 272 of file MediaWikiParserTest.php.

PTShell::showTesting ( desc  ) 

"Running test $desc..."

Reimplemented from ParserTest.

Definition at line 266 of file MediaWikiParserTest.php.


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

Generated on Sat Apr 30 22:57:47 2011 for MediaWiki by  doxygen 1.5.9