File tree Expand file tree Collapse file tree 7 files changed +22
-0
lines changed Expand file tree Collapse file tree 7 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 9
9
*/
10
10
namespace SebastianBergmann \CodeCoverage \Data ;
11
11
12
+ use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
12
14
use SebastianBergmann \CodeCoverage \TestCase ;
13
15
16
+ #[CoversClass(ProcessedCodeCoverageData::class)]
17
+ #[Small]
14
18
final class ProcessedCodeCoverageDataTest extends TestCase
15
19
{
16
20
public function testMergeWithLineCoverage (): void
Original file line number Diff line number Diff line change 9
9
*/
10
10
namespace SebastianBergmann \CodeCoverage \Data ;
11
11
12
+ use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
12
14
use SebastianBergmann \CodeCoverage \TestCase ;
13
15
16
+ #[CoversClass(RawCodeCoverageData::class)]
17
+ #[Small]
14
18
final class RawCodeCoverageDataTest extends TestCase
15
19
{
16
20
/**
Original file line number Diff line number Diff line change 15
15
use function iterator_count ;
16
16
use function str_replace ;
17
17
use FilesystemIterator ;
18
+ use PHPUnit \Framework \Attributes \CoversNamespace ;
18
19
use RegexIterator ;
19
20
use SebastianBergmann \CodeCoverage \TestCase ;
20
21
22
+ #[CoversNamespace('SebastianBergmann\CodeCoverage\Report\Html ' )]
21
23
final class EndToEndTest extends TestCase
22
24
{
23
25
protected function tearDown (): void
Original file line number Diff line number Diff line change 9
9
*/
10
10
namespace SebastianBergmann \CodeCoverage \Report ;
11
11
12
+ use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
12
14
use ReflectionProperty ;
13
15
use SebastianBergmann \CodeCoverage \TestCase ;
14
16
17
+ #[CoversClass(PHP ::class)]
18
+ #[Small]
15
19
final class PhpTest extends TestCase
16
20
{
17
21
protected function tearDown (): void
Original file line number Diff line number Diff line change 12
12
use const PHP_EOL ;
13
13
use function str_replace ;
14
14
use PHPUnit \Framework \Attributes \CoversClass ;
15
+ use PHPUnit \Framework \Attributes \Small ;
15
16
use SebastianBergmann \CodeCoverage \TestCase ;
16
17
17
18
#[CoversClass(Text::class)]
19
+ #[Small]
18
20
final class TextTest extends TestCase
19
21
{
20
22
public function testLineCoverageForBankAccountTest (): void
Original file line number Diff line number Diff line change 14
14
use function iterator_count ;
15
15
use function unlink ;
16
16
use FilesystemIterator ;
17
+ use PHPUnit \Framework \Attributes \CoversNamespace ;
18
+ use PHPUnit \Framework \Attributes \Small ;
17
19
use SebastianBergmann \CodeCoverage \TestCase ;
18
20
21
+ #[CoversNamespace('SebastianBergmann\CodeCoverage\Report\Xml ' )]
22
+ #[Small]
19
23
final class XmlTest extends TestCase
20
24
{
21
25
private static string $ TEST_REPORT_PATH_SOURCE ;
Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \CodeCoverage \Util ;
11
11
12
12
use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
13
14
use PHPUnit \Framework \TestCase ;
14
15
15
16
#[CoversClass(Percentage::class)]
17
+ #[Small]
16
18
final class PercentageTest extends TestCase
17
19
{
18
20
public function testCanBeRepresentedAsFloat (): void
You can’t perform that action at this time.
0 commit comments