3 use PHPUnit\Framework\TestCase
;
4 use Wikimedia\Parsoid\ParserTests\Test
as ParserTest
;
5 use Wikimedia\Parsoid\ParserTests\TestMode
as ParserTestMode
;
7 class PhpunitTestRecorder
extends TestRecorder
{
11 public function setTestCase( TestCase
$testCase ) {
12 $this->testCase
= $testCase;
17 * @param ParserTest $test
18 * @param ParserTestMode $mode
19 * @param string $reason
21 public function skipped( ParserTest
$test, ParserTestMode
$mode, string $reason ) {
22 $this->testCase
->markTestSkipped( "SKIPPED: $reason" );