Skip to content

Commit 51d0a3f

Browse files
committed
SubTest fix test names for Windows/Linux OS
1 parent cfa1bb9 commit 51d0a3f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/Common/Driver/StubTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class StubTest extends TestCase
2121
/**
2222
* @requires OS Linux
2323
*/
24-
public function testGetterSetter()
24+
public function testGetterSetterXdebug()
2525
{
2626
$mock = $this->getMock('PHP_CodeCoverage_Driver_Xdebug');
2727

@@ -35,7 +35,7 @@ public function testGetterSetter()
3535
/**
3636
* @requires OS Linux
3737
*/
38-
public function testStart()
38+
public function testStartXdebug()
3939
{
4040
$mock = $this->getMock('PHP_CodeCoverage_Driver_Xdebug');
4141
$mock->expects($this->once())
@@ -49,7 +49,7 @@ public function testStart()
4949
/**
5050
* @requires OS Linux
5151
*/
52-
public function testStop()
52+
public function testStopXdebug()
5353
{
5454
$mock = $this->getMock('PHP_CodeCoverage_Driver_Xdebug');
5555
$mock->expects($this->once())
@@ -63,7 +63,7 @@ public function testStop()
6363
/**
6464
* @requires OS WIN
6565
*/
66-
public function testGetterSetter()
66+
public function testGetterSetterPHPDBG()
6767
{
6868
$mock = $this->getMock('PHP_CodeCoverage_Driver_PHPDBG');
6969

@@ -77,21 +77,21 @@ public function testGetterSetter()
7777
/**
7878
* @requires OS WIN
7979
*/
80-
public function testStart()
80+
public function testStartPHPDBG()
8181
{
8282
$mock = $this->getMock('PHP_CodeCoverage_Driver_PHPDBG');
8383
$mock->expects($this->once())
8484
->method('start');
8585

8686
$driver = new Stub();
8787
$driver->setDriver($mock);
88-
$driver->start();
88+
$driver->startPHPDBG();
8989
}
9090

9191
/**
9292
* @requires OS WIN
9393
*/
94-
public function testStop()
94+
public function testStopPHPDBG()
9595
{
9696
$mock = $this->getMock('PHP_CodeCoverage_Driver_PHPDBG');
9797
$mock->expects($this->once())

0 commit comments

Comments
 (0)