Lines Matching refs:test

117      * @param PHPUnit_Framework_Test $test
121 public function addError(PHPUnit_Framework_Test $test, Exception $e, $time) argument
123 $this->doAddFault($test, $e, $time, 'error');
130 * @param PHPUnit_Framework_Test $test
134 public function addWarning(PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, $time) argument
140 $this->doAddFault($test, $e, $time, 'warning');
147 * @param PHPUnit_Framework_Test $test
151 …public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e… argument
153 $this->doAddFault($test, $e, $time, 'failure');
160 * @param PHPUnit_Framework_Test $test
164 public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time) argument
188 * @param PHPUnit_Framework_Test $test
192 public function addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, $time) argument
216 * @param PHPUnit_Framework_Test $test
220 public function addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time) argument
321 * @param PHPUnit_Framework_Test $test
323 public function startTest(PHPUnit_Framework_Test $test) argument
326 $testCase->setAttribute('name', $test->getName());
328 if ($test instanceof PHPUnit_Framework_TestCase) {
329 $class = new ReflectionClass($test);
330 $methodName = $test->getName();
333 $method = $class->getMethod($test->getName());
347 * @param PHPUnit_Framework_Test $test
350 public function endTest(PHPUnit_Framework_Test $test, $time) argument
353 if ($test instanceof PHPUnit_Framework_TestCase) {
354 $numAssertions = $test->getNumAssertions();
375 if (method_exists($test, 'hasOutput') && $test->hasOutput()) {
378 $this->document->createTextNode($test->getActualOutput())
417 * @param PHPUnit_Framework_Test $test
422 private function doAddFault(PHPUnit_Framework_Test $test, Exception $e, $time, $type) argument
428 if ($test instanceof PHPUnit_Framework_SelfDescribing) {
429 $buffer = $test->toString() . PHP_EOL;