Skip to content

Commit e1c6a61

Browse files
Make it obvious the code in the SebastianBergmann\CodeCoverage\Node namespace is currently not tested specifically
1 parent d091a62 commit e1c6a61

File tree

7 files changed

+22
-0
lines changed

7 files changed

+22
-0
lines changed

tests/tests/Data/ProcessedCodeCoverageDataTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99
*/
1010
namespace SebastianBergmann\CodeCoverage\Data;
1111

12+
use PHPUnit\Framework\Attributes\CoversClass;
13+
use PHPUnit\Framework\Attributes\Small;
1214
use SebastianBergmann\CodeCoverage\TestCase;
1315

16+
#[CoversClass(ProcessedCodeCoverageData::class)]
17+
#[Small]
1418
final class ProcessedCodeCoverageDataTest extends TestCase
1519
{
1620
public function testMergeWithLineCoverage(): void

tests/tests/Data/RawCodeCoverageDataTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99
*/
1010
namespace SebastianBergmann\CodeCoverage\Data;
1111

12+
use PHPUnit\Framework\Attributes\CoversClass;
13+
use PHPUnit\Framework\Attributes\Small;
1214
use SebastianBergmann\CodeCoverage\TestCase;
1315

16+
#[CoversClass(RawCodeCoverageData::class)]
17+
#[Small]
1418
final class RawCodeCoverageDataTest extends TestCase
1519
{
1620
/**

tests/tests/Report/Html/EndToEndTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
use function iterator_count;
1616
use function str_replace;
1717
use FilesystemIterator;
18+
use PHPUnit\Framework\Attributes\CoversNamespace;
1819
use RegexIterator;
1920
use SebastianBergmann\CodeCoverage\TestCase;
2021

22+
#[CoversNamespace('SebastianBergmann\CodeCoverage\Report\Html')]
2123
final class EndToEndTest extends TestCase
2224
{
2325
protected function tearDown(): void

tests/tests/Report/PhpTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@
99
*/
1010
namespace SebastianBergmann\CodeCoverage\Report;
1111

12+
use PHPUnit\Framework\Attributes\CoversClass;
13+
use PHPUnit\Framework\Attributes\Small;
1214
use ReflectionProperty;
1315
use SebastianBergmann\CodeCoverage\TestCase;
1416

17+
#[CoversClass(PHP::class)]
18+
#[Small]
1519
final class PhpTest extends TestCase
1620
{
1721
protected function tearDown(): void

tests/tests/Report/TextTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
use const PHP_EOL;
1313
use function str_replace;
1414
use PHPUnit\Framework\Attributes\CoversClass;
15+
use PHPUnit\Framework\Attributes\Small;
1516
use SebastianBergmann\CodeCoverage\TestCase;
1617

1718
#[CoversClass(Text::class)]
19+
#[Small]
1820
final class TextTest extends TestCase
1921
{
2022
public function testLineCoverageForBankAccountTest(): void

tests/tests/Report/XmlTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@
1414
use function iterator_count;
1515
use function unlink;
1616
use FilesystemIterator;
17+
use PHPUnit\Framework\Attributes\CoversNamespace;
18+
use PHPUnit\Framework\Attributes\Small;
1719
use SebastianBergmann\CodeCoverage\TestCase;
1820

21+
#[CoversNamespace('SebastianBergmann\CodeCoverage\Report\Xml')]
22+
#[Small]
1923
final class XmlTest extends TestCase
2024
{
2125
private static string $TEST_REPORT_PATH_SOURCE;

tests/tests/Util/PercentageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
namespace SebastianBergmann\CodeCoverage\Util;
1111

1212
use PHPUnit\Framework\Attributes\CoversClass;
13+
use PHPUnit\Framework\Attributes\Small;
1314
use PHPUnit\Framework\TestCase;
1415

1516
#[CoversClass(Percentage::class)]
17+
#[Small]
1618
final class PercentageTest extends TestCase
1719
{
1820
public function testCanBeRepresentedAsFloat(): void

0 commit comments

Comments
 (0)