PHPUnit_Extensions_PhptTestCase
class PHPUnit_Extensions_PhptTestCase implements PHPUnit_Framework_Test, PHPUnit_Framework_SelfDescribing (View source)
Runner for PHPT test cases.
Methods
Constructs a test case with the given filename.
Counts the number of test cases executed by run(TestResult result).
Runs a test and collects its result in a TestResult instance.
Returns the name of the test case.
Returns a string representation of the test case.
Parse --INI-- section key value pairs and return as array.
No description
Details
at line 60
__construct(string $filename, PHPUnit_Util_PHP $phpUtil = null)
Constructs a test case with the given filename.
at line 84
int
count()
Counts the number of test cases executed by run(TestResult result).
at line 123
PHPUnit_Framework_TestResult
run(PHPUnit_Framework_TestResult $result = null)
Runs a test and collects its result in a TestResult instance.
at line 241
string
getName()
Returns the name of the test case.
at line 251
string
toString()
Returns a string representation of the test case.
at line 411
protected array
parseIniSection(string $content)
Parse --INI-- section key value pairs and return as array.