Skip to content

Commit

Permalink
Add phpunit annotations in test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Oct 24, 2024
1 parent 26aaec8 commit ca02252
Show file tree
Hide file tree
Showing 24 changed files with 96 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Migrations/MySQL/AtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/MySQL/BlueprintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/MySQL/ComplexAtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/MySQL/ExceptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/MySQL/MigratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/MySQL/TableSorterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/Postgres/AtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/Postgres/BlueprintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/Postgres/ComplexAtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/Postgres/ExceptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/Postgres/MigratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/Postgres/TableSorterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLServer/AtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLServer/BlueprintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLServer/ComplexAtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLServer/ExceptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLServer/MigratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLServer/TableSorterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLite/AtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLite/BlueprintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLite/ComplexAtomizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLite/ExceptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLite/MigratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
4 changes: 4 additions & 0 deletions tests/Migrations/SQLite/TableSorterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit ca02252

Please sign in to comment.