BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
ParserTestResult Class Reference

Public Member Functions

 __construct ($test, $expected, $actual)
 
 isSuccess ()
 
 getDescription ()
 

Public Attributes

 $test
 
 $expected
 
 $actual
 

Detailed Description

Represent the result of a parser test.

Since
1.22

Constructor & Destructor Documentation

ParserTestResult::__construct (   $test,
  $expected,
  $actual 
)
Parameters
array$testThe test info array from TestIterator
string$expectedThe normalized expected output
string$actualThe actual output

Member Function Documentation

ParserTestResult::isSuccess ( )

Whether the test passed

Returns
bool

Member Data Documentation

ParserTestResult::$actual

Actual text rendered

ParserTestResult::$expected

Text that was expected

ParserTestResult::$test

The test info array


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