Skip to content

Commit 5a4c9c4

Browse files
committed
TODO - temporarily disable integration tests
1 parent 5c3eaa1 commit 5a4c9c4

File tree

9 files changed

+57
-17
lines changed

9 files changed

+57
-17
lines changed

tests/Common/Driver/StubTest.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
*
1717
* @group Unit
1818
*/
19+
/**
20+
* TODO - reimplement integration tests'
21+
*
1922
class StubTest extends TestCase
2023
{
2124
/**
2225
* @requires extension xdebug
23-
*/
2426
public function testGetterSetterXdebug()
2527
{
2628
$mock = $this->createMock('SebastianBergmann\CodeCoverage\Driver\Xdebug');
@@ -34,7 +36,6 @@ public function testGetterSetterXdebug()
3436
3537
/**
3638
* @requires extension xdebug
37-
*/
3839
public function testStartXdebug()
3940
{
4041
$mock = $this->createMock('SebastianBergmann\CodeCoverage\Driver\Xdebug');
@@ -48,7 +49,6 @@ public function testStartXdebug()
4849
4950
/**
5051
* @requires extension xdebug
51-
*/
5252
public function testStopXdebug()
5353
{
5454
$mock = $this->createMock('SebastianBergmann\CodeCoverage\Driver\Xdebug');
@@ -62,7 +62,6 @@ public function testStopXdebug()
6262
6363
/**
6464
* @requires extension phpdbg
65-
*/
6665
public function testGetterSetterPHPDBG()
6766
{
6867
$mock = $this->createMock('SebastianBergmann\CodeCoverage\Driver\PHPDBG');
@@ -76,7 +75,6 @@ public function testGetterSetterPHPDBG()
7675
7776
/**
7877
* @requires extension phpdbg
79-
*/
8078
public function testStartPHPDBG()
8179
{
8280
$mock = $this->createMock('SebastianBergmann\CodeCoverage\Driver\PHPDBG');
@@ -90,7 +88,6 @@ public function testStartPHPDBG()
9088
9189
/**
9290
* @requires extension phpdbg
93-
*/
9491
public function testStopPHPDBG()
9592
{
9693
$mock = $this->createMock('SebastianBergmann\CodeCoverage\Driver\PHPDBG');
@@ -102,4 +99,4 @@ public function testStopPHPDBG()
10299
$driver->stop();
103100
}
104101
105-
}
102+
}*/

tests/Common/Report/CloverTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
*
1717
* @group Unit
1818
*/
19+
/**
20+
* TODO - reimplement integration tests'
21+
*
1922
class CloverTest extends TestCase
2023
{
2124
public function testProcess()
@@ -34,4 +37,4 @@ public function testProcess()
3437
3538
$this->assertTrue(strpos($result, '<?xml version="1.0" encoding="UTF-8"?>') === 0);
3639
}
37-
}
40+
}*/

tests/Common/Report/Crap4jTest.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,15 @@
1717
*
1818
* @group Unit
1919
*/
20+
/**
21+
* TODO - reimplement integration tests'
22+
*
2023
class Crap4jTest extends TestCase
2124
{
25+
/**
26+
* TODO - reimplement integration tests'
27+
*
28+
2229
public function testProcess()
2330
{
2431
if ( ! class_exists('SebastianBergmann\CodeCoverage\Report\Crap4j')) {
@@ -42,4 +49,4 @@ public function testProcess()
4249
$this->assertTrue(strpos($result, '<?xml version="1.0" encoding="UTF-8"?>') === 0);
4350
4451
}
45-
}
52+
}*/

tests/Common/Report/FactoryTest.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,17 @@
1616
*
1717
* @group Unit
1818
*/
19+
/**
20+
* TODO - reimplement integration tests'
1921
class FactoryTest extends TestCase
2022
{
2123
/**
2224
* @dataProvider legacyCreateProvider
2325
*/
26+
/**
27+
* TODO - reimplement integration tests'
28+
*
29+
2430
public function testLegacyCreate($expected, $reportType)
2531
{
2632
$factory = new Factory();
@@ -52,7 +58,6 @@ public function legacyCreateProvider()
5258
5359
/**
5460
* @dataProvider createProvider
55-
*/
5661
public function testCreate($expected, $reportType)
5762
{
5863
$factory = new Factory();
@@ -84,4 +89,4 @@ public function testCreateInvalid()
8489
8590
$this->assertTrue($factory->create('HTML', array()) === null);
8691
}
87-
}
92+
}*/

tests/Common/Report/HtmlTest.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,15 @@
1818
*
1919
* @group Unit
2020
*/
21+
/**
22+
* TODO - reimplement integration tests'
23+
2124
class HtmlTest extends TestCase
2225
{
26+
/**
27+
* TODO - reimplement integration tests'
28+
*
29+
2330
public function testProcess()
2431
{
2532
vfsStream::setup('tmp');
@@ -46,4 +53,4 @@ public function testProcess()
4653
$this->fail();
4754
}
4855
}
49-
}
56+
}*/

tests/Common/Report/PhpTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,14 @@
1919
*
2020
* @group Unit
2121
*/
22+
/**
23+
* TODO - reimplement integration tests'
24+
2225
class PhpTest extends TestCase
2326
{
27+
/**
28+
* TODO - reimplement integration tests'
29+
*
2430
public function testProcess()
2531
{
2632
$coverage = $this->createMock('SebastianBergmann\CodeCoverage\CodeCoverage');
@@ -39,4 +45,4 @@ public function testProcess()
3945
4046
$this->assertTrue(strncmp($result, '<?php', 2) === 0);
4147
}
42-
}
48+
}*/

tests/Common/Report/TextTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@
1717
*
1818
* @group Unit
1919
*/
20+
/**
21+
* TODO - reimplement integration tests'
22+
2023
class TextTest extends TestCase
2124
{
25+
/**
26+
* TODO - reimplement integration tests'
27+
*
2228
public function testProcess()
2329
{
2430
$report = $this->getMockBuilder('SebastianBergmann\CodeCoverage\Node\File')
@@ -37,4 +43,4 @@ public function testProcess()
3743
3844
$this->assertTrue($result === '');
3945
}
40-
}
46+
}*/

tests/Common/Report/XmlTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,16 @@
1818
*
1919
* @group Unit
2020
*/
21+
/**
22+
* TODO - reimplement integration tests'
2123
class XmlTest extends TestCase
2224
{
25+
/**
26+
* TODO - reimplement integration tests'
27+
*
2328
public function testProcess()
2429
{
30+
2531
vfsStream::setup('tmp');
2632
$target = vfsStream::url('tmp');
2733
@@ -52,4 +58,4 @@ public function testProcess()
5258
$this->fail();
5359
}
5460
}
55-
}
61+
}*/

tests/Listener/EventListenerTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,17 @@
1919
*
2020
* @group Unit
2121
*/
22+
23+
/**
24+
* TODO - reimplement integration tests'
25+
*
2226
class EventListenerTest extends TestCase
2327
{
2428
private $coverage;
2529
private $service;
2630
2731
/**
2832
* {@inheritdoc}
29-
*/
3033
protected function setUp()
3134
{
3235
parent::setUp();
@@ -137,4 +140,4 @@ public function testAfterScenario()
137140
$listener = new EventListener($this->coverage, $this->service);
138141
$listener->afterScenario($event);
139142
}
140-
}
143+
}*/

0 commit comments

Comments
 (0)