Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
2f548d62
Unverified
Commit
2f548d62
authored
Mar 21, 2020
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of the DbalTestCase class
parent
936e7e33
Changes
46
Hide whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
90 additions
and
101 deletions
+90
-101
QueryCacheProfileTest.php
tests/Doctrine/Tests/DBAL/Cache/QueryCacheProfileTest.php
+2
-2
ConfigurationTest.php
tests/Doctrine/Tests/DBAL/ConfigurationTest.php
+2
-2
ConnectionTest.php
tests/Doctrine/Tests/DBAL/ConnectionTest.php
+2
-2
DBALExceptionTest.php
tests/Doctrine/Tests/DBAL/DBALExceptionTest.php
+2
-2
AbstractDriverTest.php
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php
+2
-2
DB2ConnectionTest.php
...s/Doctrine/Tests/DBAL/Driver/IBMDB2/DB2ConnectionTest.php
+2
-2
OCI8ConnectionTest.php
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8ConnectionTest.php
+2
-2
OCI8StatementTest.php
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
+2
-2
PDOExceptionTest.php
tests/Doctrine/Tests/DBAL/Driver/PDOExceptionTest.php
+2
-2
SQLAnywhereConnectionTest.php
...sts/DBAL/Driver/SQLAnywhere/SQLAnywhereConnectionTest.php
+2
-2
SQLSrvConnectionTest.php
...octrine/Tests/DBAL/Driver/SQLSrv/SQLSrvConnectionTest.php
+2
-2
StatementIteratorTest.php
tests/Doctrine/Tests/DBAL/Driver/StatementIteratorTest.php
+2
-2
DriverManagerTest.php
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
+2
-2
MysqlSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/MysqlSessionInitTest.php
+2
-2
OracleSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/OracleSessionInitTest.php
+2
-2
SQLSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/SQLSessionInitTest.php
+2
-2
DebugStackTest.php
tests/Doctrine/Tests/DBAL/Logging/DebugStackTest.php
+2
-2
AbstractPlatformTestCase.php
...octrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php
+2
-2
ReservedKeywordsValidatorTest.php
...ne/Tests/DBAL/Platforms/ReservedKeywordsValidatorTest.php
+2
-2
StatementTest.php
tests/Doctrine/Tests/DBAL/Portability/StatementTest.php
+2
-2
CompositeExpressionTest.php
...e/Tests/DBAL/Query/Expression/CompositeExpressionTest.php
+2
-2
ExpressionBuilderTest.php
...ine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php
+2
-2
QueryBuilderTest.php
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
+2
-2
SQLParserUtilsTest.php
tests/Doctrine/Tests/DBAL/SQLParserUtilsTest.php
+2
-2
SequenceTest.php
tests/Doctrine/Tests/DBAL/Schema/SequenceTest.php
+2
-2
TableTest.php
tests/Doctrine/Tests/DBAL/Schema/TableTest.php
+2
-2
StatementTest.php
tests/Doctrine/Tests/DBAL/StatementTest.php
+2
-2
DumperTest.php
tests/Doctrine/Tests/DBAL/Tools/DumperTest.php
+2
-2
ArrayTest.php
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
+2
-2
BinaryTest.php
tests/Doctrine/Tests/DBAL/Types/BinaryTest.php
+2
-2
BlobTest.php
tests/Doctrine/Tests/DBAL/Types/BlobTest.php
+2
-2
BooleanTest.php
tests/Doctrine/Tests/DBAL/Types/BooleanTest.php
+2
-2
DateIntervalTest.php
tests/Doctrine/Tests/DBAL/Types/DateIntervalTest.php
+2
-2
DecimalTest.php
tests/Doctrine/Tests/DBAL/Types/DecimalTest.php
+2
-2
FloatTest.php
tests/Doctrine/Tests/DBAL/Types/FloatTest.php
+2
-2
GuidTypeTest.php
tests/Doctrine/Tests/DBAL/Types/GuidTypeTest.php
+2
-2
IntegerTest.php
tests/Doctrine/Tests/DBAL/Types/IntegerTest.php
+2
-2
JsonArrayTest.php
tests/Doctrine/Tests/DBAL/Types/JsonArrayTest.php
+2
-2
JsonTest.php
tests/Doctrine/Tests/DBAL/Types/JsonTest.php
+2
-2
ObjectTest.php
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
+2
-2
SmallIntTest.php
tests/Doctrine/Tests/DBAL/Types/SmallIntTest.php
+2
-2
StringTest.php
tests/Doctrine/Tests/DBAL/Types/StringTest.php
+2
-2
VarDateTimeTest.php
tests/Doctrine/Tests/DBAL/Types/VarDateTimeTest.php
+2
-2
UtilTest.php
tests/Doctrine/Tests/DBAL/UtilTest.php
+2
-2
DbalFunctionalTestCase.php
tests/Doctrine/Tests/DbalFunctionalTestCase.php
+2
-1
DbalTestCase.php
tests/Doctrine/Tests/DbalTestCase.php
+0
-12
No files found.
tests/Doctrine/Tests/DBAL/Cache/QueryCacheProfileTest.php
View file @
2f548d62
...
...
@@ -4,10 +4,10 @@ namespace Doctrine\Tests\DBAL\Cache;
use
Doctrine\DBAL\Cache\QueryCacheProfile
;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
use
function
parse_str
;
class
QueryCacheProfileTest
extends
Dbal
TestCase
class
QueryCacheProfileTest
extends
TestCase
{
private
const
LIFETIME
=
3600
;
private
const
CACHE_KEY
=
'user_specified_cache_key'
;
...
...
tests/Doctrine/Tests/DBAL/ConfigurationTest.php
View file @
2f548d62
...
...
@@ -3,12 +3,12 @@
namespace
Doctrine\Tests\DBAL
;
use
Doctrine\DBAL\Configuration
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
/**
* Unit tests for the configuration container.
*/
class
ConfigurationTest
extends
Dbal
TestCase
class
ConfigurationTest
extends
TestCase
{
/**
* The configuration container instance under test.
...
...
tests/Doctrine/Tests/DBAL/ConnectionTest.php
View file @
2f548d62
...
...
@@ -23,15 +23,15 @@ use Doctrine\DBAL\Logging\EchoSQLLogger;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
Doctrine\Tests\DbalTestCase
;
use
Exception
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
stdClass
;
/**
* @requires extension pdo_mysql
*/
class
ConnectionTest
extends
Dbal
TestCase
class
ConnectionTest
extends
TestCase
{
/** @var Connection */
private
$connection
;
...
...
tests/Doctrine/Tests/DBAL/DBALExceptionTest.php
View file @
2f548d62
...
...
@@ -6,14 +6,14 @@ use Doctrine\DBAL\DBALException;
use
Doctrine\DBAL\Driver
;
use
Doctrine\DBAL\Driver\DriverException
as
InnerDriverException
;
use
Doctrine\DBAL\Exception\DriverException
;
use
Doctrine\Tests\DbalTestCase
;
use
Exception
;
use
PHPUnit\Framework\TestCase
;
use
stdClass
;
use
function
chr
;
use
function
fopen
;
use
function
sprintf
;
class
DBALExceptionTest
extends
Dbal
TestCase
class
DBALExceptionTest
extends
TestCase
{
public
function
testDriverExceptionDuringQueryAcceptsBinaryData
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Driver/AbstractDriverTest.php
View file @
2f548d62
...
...
@@ -27,14 +27,14 @@ use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Schema\AbstractSchemaManager
;
use
Doctrine\DBAL\VersionAwarePlatformDriver
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
ReflectionProperty
;
use
function
array_merge
;
use
function
get_class
;
use
function
sprintf
;
abstract
class
AbstractDriverTest
extends
Dbal
TestCase
abstract
class
AbstractDriverTest
extends
TestCase
{
public
const
EXCEPTION_CONNECTION
=
ConnectionException
::
class
;
public
const
EXCEPTION_CONSTRAINT_VIOLATION
=
ConstraintViolationException
::
class
;
...
...
tests/Doctrine/Tests/DBAL/Driver/IBMDB2/DB2ConnectionTest.php
View file @
2f548d62
...
...
@@ -3,11 +3,11 @@
namespace
Doctrine\Tests\DBAL\Driver\IBMDB2
;
use
Doctrine\DBAL\Driver\IBMDB2\DB2Connection
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
extension_loaded
;
class
DB2ConnectionTest
extends
Dbal
TestCase
class
DB2ConnectionTest
extends
TestCase
{
/**
* The ibm_db2 driver connection mock under test.
...
...
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8ConnectionTest.php
View file @
2f548d62
...
...
@@ -3,11 +3,11 @@
namespace
Doctrine\Tests\DBAL\Driver\OCI8
;
use
Doctrine\DBAL\Driver\OCI8\OCI8Connection
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
extension_loaded
;
class
OCI8ConnectionTest
extends
Dbal
TestCase
class
OCI8ConnectionTest
extends
TestCase
{
/**
* The oci8 driver connection mock under test.
...
...
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
View file @
2f548d62
...
...
@@ -5,11 +5,11 @@ namespace Doctrine\Tests\DBAL\Driver\OCI8;
use
Doctrine\DBAL\Driver\OCI8\OCI8Connection
;
use
Doctrine\DBAL\Driver\OCI8\OCI8Exception
;
use
Doctrine\DBAL\Driver\OCI8\OCI8Statement
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
use
ReflectionProperty
;
use
function
extension_loaded
;
class
OCI8StatementTest
extends
Dbal
TestCase
class
OCI8StatementTest
extends
TestCase
{
protected
function
setUp
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Driver/PDOExceptionTest.php
View file @
2f548d62
...
...
@@ -3,13 +3,13 @@
namespace
Doctrine\Tests\DBAL\Driver
;
use
Doctrine\DBAL\Driver\PDOException
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
/**
* @requires extension pdo
*/
class
PDOExceptionTest
extends
Dbal
TestCase
class
PDOExceptionTest
extends
TestCase
{
public
const
ERROR_CODE
=
666
;
...
...
tests/Doctrine/Tests/DBAL/Driver/SQLAnywhere/SQLAnywhereConnectionTest.php
View file @
2f548d62
...
...
@@ -3,11 +3,11 @@
namespace
Doctrine\Tests\DBAL\Driver\SQLAnywhere
;
use
Doctrine\DBAL\Driver\SQLAnywhere\SQLAnywhereConnection
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
extension_loaded
;
class
SQLAnywhereConnectionTest
extends
Dbal
TestCase
class
SQLAnywhereConnectionTest
extends
TestCase
{
/**
* The sqlanywhere driver connection mock under test.
...
...
tests/Doctrine/Tests/DBAL/Driver/SQLSrv/SQLSrvConnectionTest.php
View file @
2f548d62
...
...
@@ -3,11 +3,11 @@
namespace
Doctrine\Tests\DBAL\Driver\SQLSrv
;
use
Doctrine\DBAL\Driver\SQLSrv\SQLSrvConnection
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
extension_loaded
;
class
SQLSrvConnectionTest
extends
Dbal
TestCase
class
SQLSrvConnectionTest
extends
TestCase
{
/**
* The sqlsrv driver connection mock under test.
...
...
tests/Doctrine/Tests/DBAL/Driver/StatementIteratorTest.php
View file @
2f548d62
...
...
@@ -10,13 +10,13 @@ use Doctrine\DBAL\Driver\SQLSrv\SQLSrvStatement;
use
Doctrine\DBAL\Driver\Statement
;
use
Doctrine\DBAL\Driver\StatementIterator
;
use
Doctrine\DBAL\Portability\Statement
as
PortabilityStatement
;
use
Doctrine\Tests\DbalTestCase
;
use
IteratorAggregate
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
Traversable
;
use
function
extension_loaded
;
class
StatementIteratorTest
extends
Dbal
TestCase
class
StatementIteratorTest
extends
TestCase
{
/**
* @dataProvider statementProvider()
...
...
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
View file @
2f548d62
...
...
@@ -11,13 +11,13 @@ use Doctrine\DBAL\Driver\PDOSqlite\Driver as PDOSqliteDriver;
use
Doctrine\DBAL\Driver\SQLSrv\Driver
as
SQLSrvDriver
;
use
Doctrine\DBAL\DriverManager
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
use
stdClass
;
use
function
get_class
;
use
function
in_array
;
use
function
is_array
;
class
DriverManagerTest
extends
Dbal
TestCase
class
DriverManagerTest
extends
TestCase
{
public
function
testCheckParams
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Events/MysqlSessionInitTest.php
View file @
2f548d62
...
...
@@ -6,9 +6,9 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Event\ConnectionEventArgs
;
use
Doctrine\DBAL\Event\Listeners\MysqlSessionInit
;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
class
MysqlSessionInitTest
extends
Dbal
TestCase
class
MysqlSessionInitTest
extends
TestCase
{
public
function
testPostConnect
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Events/OracleSessionInitTest.php
View file @
2f548d62
...
...
@@ -6,10 +6,10 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Event\ConnectionEventArgs
;
use
Doctrine\DBAL\Event\Listeners\OracleSessionInit
;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
use
function
sprintf
;
class
OracleSessionInitTest
extends
Dbal
TestCase
class
OracleSessionInitTest
extends
TestCase
{
public
function
testPostConnect
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Events/SQLSessionInitTest.php
View file @
2f548d62
...
...
@@ -6,12 +6,12 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Event\ConnectionEventArgs
;
use
Doctrine\DBAL\Event\Listeners\SQLSessionInit
;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
/**
* @group DBAL-169
*/
class
SQLSessionInitTest
extends
Dbal
TestCase
class
SQLSessionInitTest
extends
TestCase
{
public
function
testPostConnect
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Logging/DebugStackTest.php
View file @
2f548d62
...
...
@@ -3,9 +3,9 @@
namespace
Doctrine\Tests\DBAL\Logging
;
use
Doctrine\DBAL\Logging\DebugStack
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
class
DebugStackTest
extends
Dbal
TestCase
class
DebugStackTest
extends
TestCase
{
/** @var DebugStack */
private
$logger
;
...
...
tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php
View file @
2f548d62
...
...
@@ -15,14 +15,14 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
Doctrine\Tests\Types\CommentedType
;
use
PHPUnit\Framework\TestCase
;
use
function
get_class
;
use
function
implode
;
use
function
sprintf
;
use
function
str_repeat
;
abstract
class
AbstractPlatformTestCase
extends
Dbal
TestCase
abstract
class
AbstractPlatformTestCase
extends
TestCase
{
/** @var AbstractPlatform */
protected
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Platforms/ReservedKeywordsValidatorTest.php
View file @
2f548d62
...
...
@@ -5,9 +5,9 @@ namespace Doctrine\Tests\DBAL\Platforms;
use
Doctrine\DBAL\Platforms\Keywords\MySQLKeywords
;
use
Doctrine\DBAL\Platforms\Keywords\ReservedKeywordsValidator
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
class
ReservedKeywordsValidatorTest
extends
Dbal
TestCase
class
ReservedKeywordsValidatorTest
extends
TestCase
{
/** @var ReservedKeywordsValidator */
private
$validator
;
...
...
tests/Doctrine/Tests/DBAL/Portability/StatementTest.php
View file @
2f548d62
...
...
@@ -7,12 +7,12 @@ use Doctrine\DBAL\FetchMode;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Portability\Connection
;
use
Doctrine\DBAL\Portability\Statement
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
ReflectionProperty
;
use
function
iterator_to_array
;
class
StatementTest
extends
Dbal
TestCase
class
StatementTest
extends
TestCase
{
/** @var Connection|MockObject */
protected
$conn
;
...
...
tests/Doctrine/Tests/DBAL/Query/Expression/CompositeExpressionTest.php
View file @
2f548d62
...
...
@@ -3,12 +3,12 @@
namespace
Doctrine\Tests\DBAL\Query\Expression
;
use
Doctrine\DBAL\Query\Expression\CompositeExpression
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
/**
* @group DBAL-12
*/
class
CompositeExpressionTest
extends
Dbal
TestCase
class
CompositeExpressionTest
extends
TestCase
{
public
function
testCount
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php
View file @
2f548d62
...
...
@@ -5,12 +5,12 @@ namespace Doctrine\Tests\DBAL\Query\Expression;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\Query\Expression\CompositeExpression
;
use
Doctrine\DBAL\Query\Expression\ExpressionBuilder
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
/**
* @group DBAL-12
*/
class
ExpressionBuilderTest
extends
Dbal
TestCase
class
ExpressionBuilderTest
extends
TestCase
{
/** @var ExpressionBuilder */
protected
$expr
;
...
...
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
View file @
2f548d62
...
...
@@ -7,12 +7,12 @@ use Doctrine\DBAL\ParameterType;
use
Doctrine\DBAL\Query\Expression\ExpressionBuilder
;
use
Doctrine\DBAL\Query\QueryBuilder
;
use
Doctrine\DBAL\Query\QueryException
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
/**
* @group DBAL-12
*/
class
QueryBuilderTest
extends
Dbal
TestCase
class
QueryBuilderTest
extends
TestCase
{
/** @var Connection */
protected
$conn
;
...
...
tests/Doctrine/Tests/DBAL/SQLParserUtilsTest.php
View file @
2f548d62
...
...
@@ -6,13 +6,13 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\SQLParserUtils
;
use
Doctrine\DBAL\SQLParserUtilsException
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
/**
* @group DBAL-78
* @group DDC-1372
*/
class
SQLParserUtilsTest
extends
Dbal
TestCase
class
SQLParserUtilsTest
extends
TestCase
{
/**
* @return mixed[][]
...
...
tests/Doctrine/Tests/DBAL/Schema/SequenceTest.php
View file @
2f548d62
...
...
@@ -4,9 +4,9 @@ namespace Doctrine\Tests\DBAL\Schema;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
class
SequenceTest
extends
Dbal
TestCase
class
SequenceTest
extends
TestCase
{
/**
* @group DDC-1657
...
...
tests/Doctrine/Tests/DBAL/Schema/TableTest.php
View file @
2f548d62
...
...
@@ -11,11 +11,11 @@ use Doctrine\DBAL\Schema\Index;
use
Doctrine\DBAL\Schema\SchemaException
;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
use
function
array_shift
;
use
function
current
;
class
TableTest
extends
Dbal
TestCase
class
TableTest
extends
TestCase
{
public
function
testCreateWithInvalidTableName
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/StatementTest.php
View file @
2f548d62
...
...
@@ -11,11 +11,11 @@ use Doctrine\DBAL\Driver\Statement as DriverStatement;
use
Doctrine\DBAL\Logging\SQLLogger
;
use
Doctrine\DBAL\ParameterType
;
use
Doctrine\DBAL\Statement
;
use
Doctrine\Tests\DbalTestCase
;
use
Exception
;
use
PDOStatement
;
use
PHPUnit\Framework\TestCase
;
class
StatementTest
extends
Dbal
TestCase
class
StatementTest
extends
TestCase
{
/** @var Connection */
private
$conn
;
...
...
tests/Doctrine/Tests/DBAL/Tools/DumperTest.php
View file @
2f548d62
...
...
@@ -8,13 +8,13 @@ use DateTime;
use
DateTimeImmutable
;
use
DateTimeZone
;
use
Doctrine\DBAL\Tools\Dumper
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
use
stdClass
;
use
function
print_r
;
use
function
strpos
;
use
function
substr
;
class
DumperTest
extends
Dbal
TestCase
class
DumperTest
extends
TestCase
{
public
function
testExportObject
()
:
void
{
...
...
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
View file @
2f548d62
...
...
@@ -6,11 +6,11 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ArrayType
;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
serialize
;
class
ArrayTest
extends
Dbal
TestCase
class
ArrayTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/BinaryTest.php
View file @
2f548d62
...
...
@@ -8,13 +8,13 @@ use Doctrine\DBAL\Types\BinaryType;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Types\Types
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
base64_encode
;
use
function
fopen
;
use
function
stream_get_contents
;
class
BinaryTest
extends
Dbal
TestCase
class
BinaryTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
protected
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/BlobTest.php
View file @
2f548d62
...
...
@@ -5,14 +5,14 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\BlobType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
base64_encode
;
use
function
chr
;
use
function
fopen
;
use
function
stream_get_contents
;
class
BlobTest
extends
Dbal
TestCase
class
BlobTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
protected
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/BooleanTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\BooleanType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
BooleanTest
extends
Dbal
TestCase
class
BooleanTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/DateIntervalTest.php
View file @
2f548d62
...
...
@@ -8,11 +8,11 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\DateIntervalType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
stdClass
;
final
class
DateIntervalTest
extends
Dbal
TestCase
final
class
DateIntervalTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/DecimalTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\DecimalType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
DecimalTest
extends
Dbal
TestCase
class
DecimalTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/FloatTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\FloatType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
FloatTest
extends
Dbal
TestCase
class
FloatTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/GuidTypeTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\GuidType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
GuidTypeTest
extends
Dbal
TestCase
class
GuidTypeTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/IntegerTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\IntegerType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
IntegerTest
extends
Dbal
TestCase
class
IntegerTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/JsonArrayTest.php
View file @
2f548d62
...
...
@@ -7,13 +7,13 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\JsonArrayType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Types\Types
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
base64_encode
;
use
function
fopen
;
use
function
json_encode
;
class
JsonArrayTest
extends
Dbal
TestCase
class
JsonArrayTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
protected
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/JsonTest.php
View file @
2f548d62
...
...
@@ -8,13 +8,13 @@ use Doctrine\DBAL\Types\ConversionException;
use
Doctrine\DBAL\Types\JsonType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Types\Types
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
function
base64_encode
;
use
function
fopen
;
use
function
json_encode
;
class
JsonTest
extends
Dbal
TestCase
class
JsonTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
protected
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
View file @
2f548d62
...
...
@@ -6,12 +6,12 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\ObjectType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
use
stdClass
;
use
function
serialize
;
class
ObjectTest
extends
Dbal
TestCase
class
ObjectTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/SmallIntTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\SmallIntType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
SmallIntTest
extends
Dbal
TestCase
class
SmallIntTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/StringTest.php
View file @
2f548d62
...
...
@@ -5,10 +5,10 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Types\StringType
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
StringTest
extends
Dbal
TestCase
class
StringTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/Types/VarDateTimeTest.php
View file @
2f548d62
...
...
@@ -7,10 +7,10 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\ConversionException
;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\DBAL\Types\VarDateTimeType
;
use
Doctrine\Tests\DbalTestCase
;
use
PHPUnit\Framework\MockObject\MockObject
;
use
PHPUnit\Framework\TestCase
;
class
VarDateTimeTest
extends
Dbal
TestCase
class
VarDateTimeTest
extends
TestCase
{
/** @var AbstractPlatform|MockObject */
private
$platform
;
...
...
tests/Doctrine/Tests/DBAL/UtilTest.php
View file @
2f548d62
...
...
@@ -3,9 +3,9 @@
namespace
Doctrine\Tests\DBAL
;
use
Doctrine\DBAL\Driver\OCI8\OCI8Statement
;
use
Doctrine\Tests\Dbal
TestCase
;
use
PHPUnit\Framework\
TestCase
;
class
UtilTest
extends
Dbal
TestCase
class
UtilTest
extends
TestCase
{
/**
* @return mixed[][]
...
...
tests/Doctrine/Tests/DbalFunctionalTestCase.php
View file @
2f548d62
...
...
@@ -6,6 +6,7 @@ use Doctrine\DBAL\Connection;
use
Doctrine\DBAL\Logging\DebugStack
;
use
Exception
;
use
PHPUnit\Framework\AssertionFailedError
;
use
PHPUnit\Framework\TestCase
;
use
Throwable
;
use
const
PHP_EOL
;
use
function
array_map
;
...
...
@@ -18,7 +19,7 @@ use function is_scalar;
use
function
strpos
;
use
function
var_export
;
abstract
class
DbalFunctionalTestCase
extends
Dbal
TestCase
abstract
class
DbalFunctionalTestCase
extends
TestCase
{
/**
* Shared connection when a TestCase is run alone (outside of it's functional suite)
...
...
tests/Doctrine/Tests/DbalTestCase.php
deleted
100644 → 0
View file @
936e7e33
<?php
namespace
Doctrine\Tests
;
use
PHPUnit\Framework\TestCase
;
/**
* Base testcase class for all dbal testcases.
*/
abstract
class
DbalTestCase
extends
TestCase
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment