Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4009280
PHPUnitCommandTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
715 B
Referenced Files
None
Subscribers
None
PHPUnitCommandTest.php
View Options
<?php
namespace
Eris
;
class
PHPUnitCommandTest
extends
\PHPUnit\Framework\TestCase
{
public
static
function
commandExamples
()
{
return
[
[
'Foo::testBar'
,
'ERIS_SEED=42 vendor/bin/phpunit --filter
\'
Foo::testBar
\'
'
],
[
'Foo
\\
Bar::testBaz'
,
'ERIS_SEED=42 vendor/bin/phpunit --filter
\'
Foo
\\\\
Bar::testBaz
\'
'
]
];
}
/**
* @dataProvider commandExamples
*/
public
function
testItCanComposeFrom
(
$name
,
$fullString
)
{
$command
=
PHPUnitCommand
::
fromSeedAndName
(
42
,
$name
);
$this
->
assertEquals
(
$fullString
,
$command
->
__toString
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 14 2026, 10:52 (14 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1e/ef/88573777f4cbfb275190c78d860d
Default Alt Text
PHPUnitCommandTest.php (715 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment