1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-31 01:29:51 +02:00

Optimize tests

This commit is contained in:
Oliver Vogel
2024-12-06 17:32:55 +01:00
parent 69daa96f66
commit b9a16d4df6
120 changed files with 292 additions and 185 deletions

View File

@@ -7,7 +7,9 @@ namespace Intervention\Image\Tests\Unit\Geometry\Factories;
use Intervention\Image\Geometry\Factories\BezierFactory;
use Intervention\Image\Geometry\Bezier;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(BezierFactory::class)]
final class BezierFactoryTest extends BaseTestCase
{
public function testFactoryCallback(): void

View File

@@ -8,7 +8,9 @@ use Intervention\Image\Geometry\Ellipse;
use Intervention\Image\Geometry\Factories\CircleFactory;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(CircleFactory::class)]
final class CircleFactoryTest extends BaseTestCase
{
public function testFactoryCallback(): void

View File

@@ -12,7 +12,9 @@ use Intervention\Image\Geometry\Factories\LineFactory;
use Intervention\Image\Geometry\Factories\PolygonFactory;
use Intervention\Image\Geometry\Factories\RectangleFactory;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(BezierFactory::class)]
final class DrawableTest extends BaseTestCase
{
public function testBezier(): void

View File

@@ -8,7 +8,9 @@ use Intervention\Image\Geometry\Ellipse;
use Intervention\Image\Geometry\Factories\EllipseFactory;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(EllipseFactory::class)]
final class EllipseFactoryTest extends BaseTestCase
{
public function testFactoryCallback(): void

View File

@@ -7,7 +7,9 @@ namespace Intervention\Image\Tests\Unit\Geometry\Factories;
use Intervention\Image\Geometry\Factories\LineFactory;
use Intervention\Image\Geometry\Line;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(LineFactory::class)]
final class LineFactoryTest extends BaseTestCase
{
public function testFactoryCallback(): void

View File

@@ -7,7 +7,9 @@ namespace Intervention\Image\Tests\Unit\Geometry\Factories;
use Intervention\Image\Geometry\Factories\PolygonFactory;
use Intervention\Image\Geometry\Polygon;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(PolygonFactory::class)]
final class PolygonFactoryTest extends BaseTestCase
{
public function testFactoryCallback(): void

View File

@@ -8,7 +8,9 @@ use Intervention\Image\Geometry\Factories\RectangleFactory;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Geometry\Rectangle;
use Intervention\Image\Tests\BaseTestCase;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(RectangleFactory::class)]
final class RectangleFactoryTest extends BaseTestCase
{
public function testFactoryCallback(): void