]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blob - tests/parser/PhpunitTestRecorder.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / tests / parser / PhpunitTestRecorder.php
1 <?php
2
3 class PhpunitTestRecorder extends TestRecorder {
4         private $testCase;
5
6         public function setTestCase( PHPUnit_Framework_TestCase $testCase ) {
7                 $this->testCase = $testCase;
8         }
9
10         /**
11          * Mark a test skipped
12          * @param string $test
13          * @param string $reason
14          */
15         public function skipped( $test, $reason ) {
16                 $this->testCase->markTestSkipped( "SKIPPED: $reason" );
17         }
18 }