Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4141970
PhpunitTestRecorder.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
PhpunitTestRecorder.php
View Options
<?php
use
PHPUnit\Framework\TestCase
;
use
Wikimedia\Parsoid\ParserTests\Test
as
ParserTest
;
use
Wikimedia\Parsoid\ParserTests\TestMode
as
ParserTestMode
;
class
PhpunitTestRecorder
extends
TestRecorder
{
/** @var TestCase */
private
$testCase
;
public
function
setTestCase
(
TestCase
$testCase
)
{
$this
->
testCase
=
$testCase
;
}
/**
* Mark a test skipped
* @param ParserTest $test
* @param ParserTestMode $mode
* @param string $reason
*/
public
function
skipped
(
ParserTest
$test
,
ParserTestMode
$mode
,
string
$reason
)
{
$this
->
testCase
->
markTestSkipped
(
"SKIPPED: $reason"
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 16:10 (4 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
76/89/3981d66c0ae8bdd7fa27b97d101e
Default Alt Text
PhpunitTestRecorder.php (604 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment