wiki.techinc.nl/tests/parser/PhpunitTestRecorder.php
Umherirrender f739a8f368 Improve some parameter docs
Add missing @return and @param to function docs and fixed some @param

Change-Id: I810727961057cfdcc274428b239af5975c57468d
2017-09-10 20:32:31 +02:00

18 lines
375 B
PHP

<?php
class PhpunitTestRecorder extends TestRecorder {
private $testCase;
public function setTestCase( PHPUnit_Framework_TestCase $testCase ) {
$this->testCase = $testCase;
}
/**
* Mark a test skipped
* @param string $test
* @param string $reason
*/
public function skipped( $test, $reason ) {
$this->testCase->markTestSkipped( "SKIPPED: $reason" );
}
}