MediaWiki REL1_31
PhpunitTestRecorder.php
Go to the documentation of this file.
1<?php
2
4 private $testCase;
5
6 public function setTestCase( PHPUnit\Framework\TestCase $testCase ) {
7 $this->testCase = $testCase;
8 }
9
15 public function skipped( $test, $reason ) {
16 $this->testCase->markTestSkipped( "SKIPPED: $reason" );
17 }
18}
setTestCase(PHPUnit\Framework\TestCase $testCase)
skipped( $test, $reason)
Mark a test skipped.
Interface to record parser test results.