Marked some test classes abstract

1. SchemaManagerFunctionalTestCase can be run only via an extending class. Otherwise, it skips all tests. If the test case is represented as an abstract class, PhpStorm will offer a choise of concrete classes which is very handy when debugging test failures.
2. DbalFunctionalTestCase and DbalPerformanceTestCase are meant to be used as base classes and don't contain any tests.
parent 29c7ba6a
......@@ -46,7 +46,7 @@ use function strlen;
use function strtolower;
use function substr;
class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
abstract class SchemaManagerFunctionalTestCase extends DbalFunctionalTestCase
{
/** @var AbstractSchemaManager */
protected $schemaManager;
......
......@@ -18,7 +18,7 @@ use function is_scalar;
use function strpos;
use function var_export;
class DbalFunctionalTestCase extends DbalTestCase
abstract class DbalFunctionalTestCase extends DbalTestCase
{
/**
* Shared connection when a TestCase is run alone (outside of it's functional suite)
......
......@@ -11,7 +11,7 @@ use function microtime;
* and stopTiming at the end of all tests. Tests that do not start or stop
* timing will fail.
*/
class DbalPerformanceTestCase extends DbalFunctionalTestCase
abstract class DbalPerformanceTestCase extends DbalFunctionalTestCase
{
/**
* time the test started
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment