Symbiote\TestAssist\PhingPHPUnit3ResultFormatter
This abstract class describes classes that format the results of a PHPUnit2 testrun.
- Author: Michiel Rook <michiel.rook@gmail.com>
Synopsis
class PhingPHPUnit3ResultFormatter
implements
PHPUnit_Framework_TestListener
{
- // members
- protected $out = NULL;
- protected $project = NULL;
- private boolean $timers = false;
- private boolean $runCounts = false;
- private boolean $failureCounts = false;
- private boolean $errorCounts = false;
- private boolean $incompleteCounts = false;
- private boolean $skipCounts = false;
- // methods
- public void setOutput()
- public string getExtension()
- public void setProject()
- public void getPreferredOutfile()
- public void startTestRun()
- public void endTestRun()
- public void startTestSuite()
- public void endTestSuite()
- public void startTest()
- public void endTest()
- public void addError()
- public void addFailure()
- public void addIncompleteTest()
- public void addSkippedTest()
- public void getRunCount()
- public void getFailureCount()
- public void getErrorCount()
- public void getIncompleteCount()
- public void getSkippedCount()
- public void getElapsedTime()
- private void getMicrotime()
Hierarchy
Implements
- PHPUnit_Framework_TestListener
Members
private
- $errorCounts
- $failureCounts
- $incompleteCounts
- $runCounts
- $skipCounts
- $timers
protected
- $out
- $project
Methods
private
public
- addError()
- addFailure()
- addIncompleteTest()
- addSkippedTest()
- endTest()
- endTestRun()
- endTestSuite()
- getElapsedTime()
- getErrorCount()
- getExtension() — Returns the extension used for this formatter
- getFailureCount()
- getIncompleteCount()
- getPreferredOutfile()
- getRunCount()
- getSkippedCount()
- setOutput() — Sets the writer the formatter is supposed to write its results to.
- setProject() — Sets the project
- startTest()
- startTestRun()
- startTestSuite()