BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHPUnit_Extensions_PhptTestCase Class Reference
Inheritance diagram for PHPUnit_Extensions_PhptTestCase:
Collaboration diagram for PHPUnit_Extensions_PhptTestCase:

Public Member Functions

 __construct ($filename)
 
 count ()
 
 run (PHPUnit_Framework_TestResult $result=null)
 
 getName ()
 
 toString ()
 

Protected Member Functions

 parseIniSection ($content)
 

Detailed Description

Runner for PHPT test cases.

Since
Class available since Release 3.1.4

Constructor & Destructor Documentation

PHPUnit_Extensions_PhptTestCase::__construct (   $filename)

Constructs a test case with the given filename.

Parameters
string$filename
Exceptions
PHPUnit_Framework_Exception

Member Function Documentation

PHPUnit_Extensions_PhptTestCase::count ( )

Counts the number of test cases executed by run(TestResult result).

Returns
int

Implements Countable.

PHPUnit_Extensions_PhptTestCase::getName ( )

Returns the name of the test case.

Returns
string
PHPUnit_Extensions_PhptTestCase::parseIniSection (   $content)
protected

Parse –INI– section key value pairs and return as array.

Parameters
string
Returns
array
PHPUnit_Extensions_PhptTestCase::run ( PHPUnit_Framework_TestResult  $result = null)

Runs a test and collects its result in a TestResult instance.

Parameters
PHPUnit_Framework_TestResult$result
Returns
PHPUnit_Framework_TestResult

Implements PHPUnit_Framework_Test.

PHPUnit_Extensions_PhptTestCase::toString ( )

Returns a string representation of the test case.

Returns
string

Implements PHPUnit_Framework_SelfDescribing.


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