mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 01:29:51 +02:00
Optimize tests
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user