MediaWiki
REL1_33
PhpunitTestRecorder.php
Go to the documentation of this file.
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
15
public
function
skipped
( $test, $reason ) {
16
$this->testCase->markTestSkipped(
"SKIPPED: $reason"
);
17
}
18
}
PhpunitTestRecorder
Definition
PhpunitTestRecorder.php:3
PhpunitTestRecorder\$testCase
$testCase
Definition
PhpunitTestRecorder.php:4
PhpunitTestRecorder\setTestCase
setTestCase(PHPUnit\Framework\TestCase $testCase)
Definition
PhpunitTestRecorder.php:6
PhpunitTestRecorder\skipped
skipped( $test, $reason)
Mark a test skipped.
Definition
PhpunitTestRecorder.php:15
TestRecorder
Interface to record parser test results.
Definition
TestRecorder.php:35
tests
parser
PhpunitTestRecorder.php
Generated on Mon Nov 25 2024 15:50:48 for MediaWiki by
1.10.0