From ca02252eb9b25ffcda3856e893e630ff3dd19faa Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Thu, 24 Oct 2024 21:13:51 +0400 Subject: [PATCH] Add phpunit annotations in test classes --- tests/Migrations/MySQL/AtomizerTest.php | 4 ++++ tests/Migrations/MySQL/BlueprintTest.php | 4 ++++ tests/Migrations/MySQL/ComplexAtomizerTest.php | 4 ++++ tests/Migrations/MySQL/ExceptionsTest.php | 4 ++++ tests/Migrations/MySQL/MigratorTest.php | 4 ++++ tests/Migrations/MySQL/TableSorterTest.php | 4 ++++ tests/Migrations/Postgres/AtomizerTest.php | 4 ++++ tests/Migrations/Postgres/BlueprintTest.php | 4 ++++ tests/Migrations/Postgres/ComplexAtomizerTest.php | 4 ++++ tests/Migrations/Postgres/ExceptionsTest.php | 4 ++++ tests/Migrations/Postgres/MigratorTest.php | 4 ++++ tests/Migrations/Postgres/TableSorterTest.php | 4 ++++ tests/Migrations/SQLServer/AtomizerTest.php | 4 ++++ tests/Migrations/SQLServer/BlueprintTest.php | 4 ++++ tests/Migrations/SQLServer/ComplexAtomizerTest.php | 4 ++++ tests/Migrations/SQLServer/ExceptionsTest.php | 4 ++++ tests/Migrations/SQLServer/MigratorTest.php | 4 ++++ tests/Migrations/SQLServer/TableSorterTest.php | 4 ++++ tests/Migrations/SQLite/AtomizerTest.php | 4 ++++ tests/Migrations/SQLite/BlueprintTest.php | 4 ++++ tests/Migrations/SQLite/ComplexAtomizerTest.php | 4 ++++ tests/Migrations/SQLite/ExceptionsTest.php | 4 ++++ tests/Migrations/SQLite/MigratorTest.php | 4 ++++ tests/Migrations/SQLite/TableSorterTest.php | 4 ++++ 24 files changed, 96 insertions(+) diff --git a/tests/Migrations/MySQL/AtomizerTest.php b/tests/Migrations/MySQL/AtomizerTest.php index 4f8a17b..609e5d4 100644 --- a/tests/Migrations/MySQL/AtomizerTest.php +++ b/tests/Migrations/MySQL/AtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\MySQL; +/** + * @group driver + * @group driver-mysql + */ class AtomizerTest extends \Cycle\Migrations\Tests\AtomizerTest { public const DRIVER = 'mysql'; diff --git a/tests/Migrations/MySQL/BlueprintTest.php b/tests/Migrations/MySQL/BlueprintTest.php index 1d7af87..72f8c51 100644 --- a/tests/Migrations/MySQL/BlueprintTest.php +++ b/tests/Migrations/MySQL/BlueprintTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\MySQL; +/** + * @group driver + * @group driver-mysql + */ class BlueprintTest extends \Cycle\Migrations\Tests\BlueprintTest { public const DRIVER = 'mysql'; diff --git a/tests/Migrations/MySQL/ComplexAtomizerTest.php b/tests/Migrations/MySQL/ComplexAtomizerTest.php index 1f11319..482ce1c 100644 --- a/tests/Migrations/MySQL/ComplexAtomizerTest.php +++ b/tests/Migrations/MySQL/ComplexAtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\MySQL; +/** + * @group driver + * @group driver-mysql + */ class ComplexAtomizerTest extends \Cycle\Migrations\Tests\ComplexAtomizerTest { public const DRIVER = 'mysql'; diff --git a/tests/Migrations/MySQL/ExceptionsTest.php b/tests/Migrations/MySQL/ExceptionsTest.php index 2afbfa2..e7cae98 100644 --- a/tests/Migrations/MySQL/ExceptionsTest.php +++ b/tests/Migrations/MySQL/ExceptionsTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\MySQL; +/** + * @group driver + * @group driver-mysql + */ class ExceptionsTest extends \Cycle\Migrations\Tests\ExceptionsTest { public const DRIVER = 'mysql'; diff --git a/tests/Migrations/MySQL/MigratorTest.php b/tests/Migrations/MySQL/MigratorTest.php index 49538cf..88189f3 100644 --- a/tests/Migrations/MySQL/MigratorTest.php +++ b/tests/Migrations/MySQL/MigratorTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\MySQL; +/** + * @group driver + * @group driver-mysql + */ class MigratorTest extends \Cycle\Migrations\Tests\MigratorTest { public const DRIVER = 'mysql'; diff --git a/tests/Migrations/MySQL/TableSorterTest.php b/tests/Migrations/MySQL/TableSorterTest.php index 78c9c4a..e8dcbe8 100644 --- a/tests/Migrations/MySQL/TableSorterTest.php +++ b/tests/Migrations/MySQL/TableSorterTest.php @@ -4,6 +4,10 @@ namespace Cycle\Migrations\Tests\MySQL; +/** + * @group driver + * @group driver-mysql + */ final class TableSorterTest extends \Cycle\Migrations\Tests\TableSorterTest { public const DRIVER = 'mysql'; diff --git a/tests/Migrations/Postgres/AtomizerTest.php b/tests/Migrations/Postgres/AtomizerTest.php index 10edacd..0e964da 100644 --- a/tests/Migrations/Postgres/AtomizerTest.php +++ b/tests/Migrations/Postgres/AtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\Postgres; +/** + * @group driver + * @group driver-postgres + */ class AtomizerTest extends \Cycle\Migrations\Tests\AtomizerTest { public const DRIVER = 'postgres'; diff --git a/tests/Migrations/Postgres/BlueprintTest.php b/tests/Migrations/Postgres/BlueprintTest.php index b4c8260..b5464ec 100644 --- a/tests/Migrations/Postgres/BlueprintTest.php +++ b/tests/Migrations/Postgres/BlueprintTest.php @@ -14,6 +14,10 @@ use Cycle\Migrations\Capsule; use Cycle\Migrations\TableBlueprint; +/** + * @group driver + * @group driver-postgres + */ class BlueprintTest extends \Cycle\Migrations\Tests\BlueprintTest { public const DRIVER = 'postgres'; diff --git a/tests/Migrations/Postgres/ComplexAtomizerTest.php b/tests/Migrations/Postgres/ComplexAtomizerTest.php index 793cdb3..416e569 100644 --- a/tests/Migrations/Postgres/ComplexAtomizerTest.php +++ b/tests/Migrations/Postgres/ComplexAtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\Postgres; +/** + * @group driver + * @group driver-postgres + */ class ComplexAtomizerTest extends \Cycle\Migrations\Tests\ComplexAtomizerTest { public const DRIVER = 'postgres'; diff --git a/tests/Migrations/Postgres/ExceptionsTest.php b/tests/Migrations/Postgres/ExceptionsTest.php index 3f4e916..e55a1b0 100644 --- a/tests/Migrations/Postgres/ExceptionsTest.php +++ b/tests/Migrations/Postgres/ExceptionsTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\Postgres; +/** + * @group driver + * @group driver-postgres + */ class ExceptionsTest extends \Cycle\Migrations\Tests\ExceptionsTest { public const DRIVER = 'postgres'; diff --git a/tests/Migrations/Postgres/MigratorTest.php b/tests/Migrations/Postgres/MigratorTest.php index ca1b5ba..1f097b2 100644 --- a/tests/Migrations/Postgres/MigratorTest.php +++ b/tests/Migrations/Postgres/MigratorTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\Postgres; +/** + * @group driver + * @group driver-postgres + */ class MigratorTest extends \Cycle\Migrations\Tests\MigratorTest { public const DRIVER = 'postgres'; diff --git a/tests/Migrations/Postgres/TableSorterTest.php b/tests/Migrations/Postgres/TableSorterTest.php index 8c1648e..69f31aa 100644 --- a/tests/Migrations/Postgres/TableSorterTest.php +++ b/tests/Migrations/Postgres/TableSorterTest.php @@ -4,6 +4,10 @@ namespace Cycle\Migrations\Tests\Postgres; +/** + * @group driver + * @group driver-postgres + */ final class TableSorterTest extends \Cycle\Migrations\Tests\TableSorterTest { public const DRIVER = 'postgres'; diff --git a/tests/Migrations/SQLServer/AtomizerTest.php b/tests/Migrations/SQLServer/AtomizerTest.php index 8fe1f83..3928081 100644 --- a/tests/Migrations/SQLServer/AtomizerTest.php +++ b/tests/Migrations/SQLServer/AtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLServer; +/** + * @group driver + * @group driver-sqlserver + */ class AtomizerTest extends \Cycle\Migrations\Tests\AtomizerTest { public const DRIVER = 'sqlserver'; diff --git a/tests/Migrations/SQLServer/BlueprintTest.php b/tests/Migrations/SQLServer/BlueprintTest.php index 47ff503..52672b4 100644 --- a/tests/Migrations/SQLServer/BlueprintTest.php +++ b/tests/Migrations/SQLServer/BlueprintTest.php @@ -14,6 +14,10 @@ use Cycle\Migrations\Capsule; use Cycle\Migrations\TableBlueprint; +/** + * @group driver + * @group driver-sqlserver + */ class BlueprintTest extends \Cycle\Migrations\Tests\BlueprintTest { public const DRIVER = 'sqlserver'; diff --git a/tests/Migrations/SQLServer/ComplexAtomizerTest.php b/tests/Migrations/SQLServer/ComplexAtomizerTest.php index 0c841cf..87c670e 100644 --- a/tests/Migrations/SQLServer/ComplexAtomizerTest.php +++ b/tests/Migrations/SQLServer/ComplexAtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLServer; +/** + * @group driver + * @group driver-sqlserver + */ class ComplexAtomizerTest extends \Cycle\Migrations\Tests\ComplexAtomizerTest { public const DRIVER = 'sqlserver'; diff --git a/tests/Migrations/SQLServer/ExceptionsTest.php b/tests/Migrations/SQLServer/ExceptionsTest.php index d9ca0f4..56cd553 100644 --- a/tests/Migrations/SQLServer/ExceptionsTest.php +++ b/tests/Migrations/SQLServer/ExceptionsTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLServer; +/** + * @group driver + * @group driver-sqlserver + */ class ExceptionsTest extends \Cycle\Migrations\Tests\ExceptionsTest { public const DRIVER = 'sqlserver'; diff --git a/tests/Migrations/SQLServer/MigratorTest.php b/tests/Migrations/SQLServer/MigratorTest.php index 6e373ed..cfd6b13 100644 --- a/tests/Migrations/SQLServer/MigratorTest.php +++ b/tests/Migrations/SQLServer/MigratorTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLServer; +/** + * @group driver + * @group driver-sqlserver + */ class MigratorTest extends \Cycle\Migrations\Tests\MigratorTest { public const DRIVER = 'sqlserver'; diff --git a/tests/Migrations/SQLServer/TableSorterTest.php b/tests/Migrations/SQLServer/TableSorterTest.php index 26308f1..13eb0d9 100644 --- a/tests/Migrations/SQLServer/TableSorterTest.php +++ b/tests/Migrations/SQLServer/TableSorterTest.php @@ -4,6 +4,10 @@ namespace Cycle\Migrations\Tests\SQLServer; +/** + * @group driver + * @group driver-sqlserver + */ final class TableSorterTest extends \Cycle\Migrations\Tests\TableSorterTest { public const DRIVER = 'sqlserver'; diff --git a/tests/Migrations/SQLite/AtomizerTest.php b/tests/Migrations/SQLite/AtomizerTest.php index 3212711..35aede7 100644 --- a/tests/Migrations/SQLite/AtomizerTest.php +++ b/tests/Migrations/SQLite/AtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLite; +/** + * @group driver + * @group driver-sqlite + */ class AtomizerTest extends \Cycle\Migrations\Tests\AtomizerTest { public const DRIVER = 'sqlite'; diff --git a/tests/Migrations/SQLite/BlueprintTest.php b/tests/Migrations/SQLite/BlueprintTest.php index a0fd212..bdc5a5e 100644 --- a/tests/Migrations/SQLite/BlueprintTest.php +++ b/tests/Migrations/SQLite/BlueprintTest.php @@ -14,6 +14,10 @@ use Cycle\Migrations\Capsule; use Cycle\Migrations\TableBlueprint; +/** + * @group driver + * @group driver-sqlite + */ class BlueprintTest extends \Cycle\Migrations\Tests\BlueprintTest { public const DRIVER = 'sqlite'; diff --git a/tests/Migrations/SQLite/ComplexAtomizerTest.php b/tests/Migrations/SQLite/ComplexAtomizerTest.php index 5dd335d..2727106 100644 --- a/tests/Migrations/SQLite/ComplexAtomizerTest.php +++ b/tests/Migrations/SQLite/ComplexAtomizerTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLite; +/** + * @group driver + * @group driver-sqlite + */ class ComplexAtomizerTest extends \Cycle\Migrations\Tests\ComplexAtomizerTest { public const DRIVER = 'sqlite'; diff --git a/tests/Migrations/SQLite/ExceptionsTest.php b/tests/Migrations/SQLite/ExceptionsTest.php index c4d8719..f8f5ae5 100644 --- a/tests/Migrations/SQLite/ExceptionsTest.php +++ b/tests/Migrations/SQLite/ExceptionsTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLite; +/** + * @group driver + * @group driver-sqlite + */ class ExceptionsTest extends \Cycle\Migrations\Tests\ExceptionsTest { public const DRIVER = 'sqlite'; diff --git a/tests/Migrations/SQLite/MigratorTest.php b/tests/Migrations/SQLite/MigratorTest.php index 0725286..9a636c9 100644 --- a/tests/Migrations/SQLite/MigratorTest.php +++ b/tests/Migrations/SQLite/MigratorTest.php @@ -11,6 +11,10 @@ namespace Cycle\Migrations\Tests\SQLite; +/** + * @group driver + * @group driver-sqlite + */ class MigratorTest extends \Cycle\Migrations\Tests\MigratorTest { public const DRIVER = 'sqlite'; diff --git a/tests/Migrations/SQLite/TableSorterTest.php b/tests/Migrations/SQLite/TableSorterTest.php index da7adda..0be3d08 100644 --- a/tests/Migrations/SQLite/TableSorterTest.php +++ b/tests/Migrations/SQLite/TableSorterTest.php @@ -4,6 +4,10 @@ namespace Cycle\Migrations\Tests\SQLite; +/** + * @group driver + * @group driver-sqlite + */ final class TableSorterTest extends \Cycle\Migrations\Tests\TableSorterTest { public const DRIVER = 'sqlite';