File tree Expand file tree Collapse file tree 8 files changed +20
-6
lines changed Expand file tree Collapse file tree 8 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Diff ;
11
11
12
12
use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
13
14
use PHPUnit \Framework \Attributes \UsesClass ;
14
15
use PHPUnit \Framework \TestCase ;
15
16
16
17
#[CoversClass(Chunk::class)]
17
18
#[UsesClass(Line::class)]
19
+ #[Small]
18
20
final class ChunkTest extends TestCase
19
21
{
20
22
private Chunk $ chunk ;
Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Diff ;
11
11
12
12
use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
13
14
use PHPUnit \Framework \Attributes \UsesClass ;
14
15
use PHPUnit \Framework \TestCase ;
15
16
16
17
#[CoversClass(Diff::class)]
17
18
#[UsesClass(Chunk::class)]
19
+ #[Small]
18
20
final class DiffTest extends TestCase
19
21
{
20
22
public function testGettersAfterConstructionWithDefault (): void
Original file line number Diff line number Diff line change 11
11
12
12
use PHPUnit \Framework \Attributes \CoversClass ;
13
13
use PHPUnit \Framework \Attributes \DataProvider ;
14
+ use PHPUnit \Framework \Attributes \Small ;
14
15
use PHPUnit \Framework \Attributes \UsesClass ;
15
16
use PHPUnit \Framework \TestCase ;
16
17
use ReflectionObject ;
22
23
#[UsesClass(MemoryEfficientLongestCommonSubsequenceCalculator::class)]
23
24
#[UsesClass(TimeEfficientLongestCommonSubsequenceCalculator::class)]
24
25
#[UsesClass(AbstractChunkOutputBuilder::class)]
26
+ #[Small]
25
27
final class DifferTest extends TestCase
26
28
{
27
29
private Differ $ differ ;
Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Diff ;
11
11
12
12
use BadMethodCallException ;
13
+ use PHPUnit \Framework \Attributes \CoversClass ;
14
+ use PHPUnit \Framework \Attributes \Small ;
13
15
use PHPUnit \Framework \TestCase ;
14
16
use SplFileInfo ;
15
17
16
- /**
17
- * @covers \SebastianBergmann\Diff\ConfigurationException
18
- */
18
+ #[CoversClass(ConfigurationException::class)]
19
+ #[Small]
19
20
final class ConfigurationExceptionTest extends TestCase
20
21
{
21
22
public function testConstructWithDefaults (): void
Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Diff ;
11
11
12
12
use LogicException ;
13
+ use PHPUnit \Framework \Attributes \CoversClass ;
14
+ use PHPUnit \Framework \Attributes \Small ;
13
15
use PHPUnit \Framework \TestCase ;
14
16
15
- /**
16
- * @covers \SebastianBergmann\Diff\InvalidArgumentException
17
- */
17
+ #[CoversClass(InvalidArgumentException::class)]
18
+ #[Small]
18
19
final class InvalidArgumentExceptionTest extends TestCase
19
20
{
20
21
public function testInvalidArgumentException (): void
Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Diff ;
11
11
12
12
use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
13
14
14
15
#[CoversClass(MemoryEfficientLongestCommonSubsequenceCalculator::class)]
16
+ #[Small]
15
17
final class MemoryEfficientImplementationTest extends LongestCommonSubsequenceTestCase
16
18
{
17
19
protected function createImplementation (): LongestCommonSubsequenceCalculator
Original file line number Diff line number Diff line change 12
12
use function unserialize ;
13
13
use PHPUnit \Framework \Attributes \CoversClass ;
14
14
use PHPUnit \Framework \Attributes \DataProvider ;
15
+ use PHPUnit \Framework \Attributes \Small ;
15
16
use PHPUnit \Framework \Attributes \UsesClass ;
16
17
use PHPUnit \Framework \TestCase ;
17
18
use SebastianBergmann \Diff \Utils \FileUtils ;
20
21
#[UsesClass(Chunk::class)]
21
22
#[UsesClass(Diff::class)]
22
23
#[UsesClass(Line::class)]
24
+ #[Small]
23
25
final class ParserTest extends TestCase
24
26
{
25
27
private Parser $ parser ;
Original file line number Diff line number Diff line change 10
10
namespace SebastianBergmann \Diff ;
11
11
12
12
use PHPUnit \Framework \Attributes \CoversClass ;
13
+ use PHPUnit \Framework \Attributes \Small ;
13
14
14
15
#[CoversClass(TimeEfficientLongestCommonSubsequenceCalculator::class)]
16
+ #[Small]
15
17
final class TimeEfficientImplementationTest extends LongestCommonSubsequenceTestCase
16
18
{
17
19
protected function createImplementation (): LongestCommonSubsequenceCalculator
You can’t perform that action at this time.
0 commit comments