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
dfb44bda
Commit
dfb44bda
authored
Jan 18, 2015
by
Marco Pivetta
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #778 from deeky666/cleanup-phpunit-testsuite-init
[DBAL-1122] Cleanup PHPUnit test suite bootstrap
parents
9e7a971c
d4b2930e
Changes
58
Hide whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
14 additions
and
123 deletions
+14
-123
ConfigurationTest.php
tests/Doctrine/Tests/DBAL/ConfigurationTest.php
+0
-2
ConnectionTest.php
tests/Doctrine/Tests/DBAL/ConnectionTest.php
+0
-2
OCI8StatementTest.php
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
+0
-2
DriverManagerTest.php
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
+5
-7
MysqlSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/MysqlSessionInitTest.php
+0
-2
OracleSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/OracleSessionInitTest.php
+0
-2
SQLSessionInitTest.php
tests/Doctrine/Tests/DBAL/Events/SQLSessionInitTest.php
+0
-2
BlobTest.php
tests/Doctrine/Tests/DBAL/Functional/BlobTest.php
+0
-2
ConnectionTest.php
tests/Doctrine/Tests/DBAL/Functional/ConnectionTest.php
+0
-2
DataAccessTest.php
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
+0
-2
ModifyLimitQueryTest.php
...s/Doctrine/Tests/DBAL/Functional/ModifyLimitQueryTest.php
+0
-2
NamedParametersTest.php
tests/Doctrine/Tests/DBAL/Functional/NamedParametersTest.php
+0
-3
PortabilityTest.php
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
+0
-2
ResultCacheTest.php
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
+1
-3
Db2SchemaManagerTest.php
...ine/Tests/DBAL/Functional/Schema/Db2SchemaManagerTest.php
+0
-2
DrizzleSchemaManagerTest.php
...Tests/DBAL/Functional/Schema/DrizzleSchemaManagerTest.php
+0
-2
MySqlSchemaManagerTest.php
...e/Tests/DBAL/Functional/Schema/MySqlSchemaManagerTest.php
+0
-2
OracleSchemaManagerTest.php
.../Tests/DBAL/Functional/Schema/OracleSchemaManagerTest.php
+0
-2
PostgreSqlSchemaManagerTest.php
...ts/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
+0
-2
SchemaManagerFunctionalTestCase.php
...BAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
+0
-2
SqliteSchemaManagerTest.php
.../Tests/DBAL/Functional/Schema/SqliteSchemaManagerTest.php
+0
-2
TypeConversionTest.php
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
+0
-2
DebugStackTest.php
tests/Doctrine/Tests/DBAL/Logging/DebugStackTest.php
+0
-2
OraclePlatformTest.php
tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php
+0
-2
SqlitePlatformTest.php
tests/Doctrine/Tests/DBAL/Platforms/SqlitePlatformTest.php
+0
-2
StatementTest.php
tests/Doctrine/Tests/DBAL/Portability/StatementTest.php
+0
-2
CompositeExpressionTest.php
...e/Tests/DBAL/Query/Expression/CompositeExpressionTest.php
+0
-2
ExpressionBuilderTest.php
...ine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php
+0
-2
QueryBuilderTest.php
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
+0
-2
SQLParserUtilsTest.php
tests/Doctrine/Tests/DBAL/SQLParserUtilsTest.php
+0
-2
ColumnTest.php
tests/Doctrine/Tests/DBAL/Schema/ColumnTest.php
+0
-2
ComparatorTest.php
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
+0
-2
IndexTest.php
tests/Doctrine/Tests/DBAL/Schema/IndexTest.php
+0
-2
MySQLSchemaTest.php
.../Doctrine/Tests/DBAL/Schema/Platforms/MySQLSchemaTest.php
+0
-2
SchemaDiffTest.php
tests/Doctrine/Tests/DBAL/Schema/SchemaDiffTest.php
+0
-2
SchemaTest.php
tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php
+0
-2
SchemaSqlCollectorTest.php
...rine/Tests/DBAL/Schema/Visitor/SchemaSqlCollectorTest.php
+0
-2
ArrayTest.php
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
+0
-2
BinaryTest.php
tests/Doctrine/Tests/DBAL/Types/BinaryTest.php
+0
-2
BlobTest.php
tests/Doctrine/Tests/DBAL/Types/BlobTest.php
+0
-2
BooleanTest.php
tests/Doctrine/Tests/DBAL/Types/BooleanTest.php
+0
-2
DateTest.php
tests/Doctrine/Tests/DBAL/Types/DateTest.php
+0
-2
DateTimeTest.php
tests/Doctrine/Tests/DBAL/Types/DateTimeTest.php
+0
-2
DateTimeTzTest.php
tests/Doctrine/Tests/DBAL/Types/DateTimeTzTest.php
+0
-2
DecimalTest.php
tests/Doctrine/Tests/DBAL/Types/DecimalTest.php
+0
-2
FloatTest.php
tests/Doctrine/Tests/DBAL/Types/FloatTest.php
+0
-2
IntegerTest.php
tests/Doctrine/Tests/DBAL/Types/IntegerTest.php
+0
-2
JsonArrayTest.php
tests/Doctrine/Tests/DBAL/Types/JsonArrayTest.php
+0
-2
ObjectTest.php
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
+0
-2
SmallIntTest.php
tests/Doctrine/Tests/DBAL/Types/SmallIntTest.php
+0
-2
StringTest.php
tests/Doctrine/Tests/DBAL/Types/StringTest.php
+0
-2
TimeTest.php
tests/Doctrine/Tests/DBAL/Types/TimeTest.php
+0
-2
VarDateTimeTest.php
tests/Doctrine/Tests/DBAL/Types/VarDateTimeTest.php
+0
-2
UtilTest.php
tests/Doctrine/Tests/DBAL/UtilTest.php
+0
-2
mysql.travis.xml
tests/travis/mysql.travis.xml
+2
-2
mysqli.travis.xml
tests/travis/mysqli.travis.xml
+2
-2
pgsql.travis.xml
tests/travis/pgsql.travis.xml
+2
-2
sqlite.travis.xml
tests/travis/sqlite.travis.xml
+2
-2
No files found.
tests/Doctrine/Tests/DBAL/ConfigurationTest.php
View file @
dfb44bda
...
...
@@ -22,8 +22,6 @@ namespace Doctrine\Tests\DBAL;
use
Doctrine\DBAL\Configuration
;
use
Doctrine\Tests\DbalTestCase
;
require_once
__DIR__
.
'/../TestInit.php'
;
/**
* Unit tests for the configuration container.
*
...
...
tests/Doctrine/Tests/DBAL/ConnectionTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL
;
require_once
__DIR__
.
'/../TestInit.php'
;
use
Doctrine\Common\EventManager
;
use
Doctrine\DBAL\Configuration
;
use
Doctrine\DBAL\Connection
;
...
...
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
OCI8StatementTest
extends
\Doctrine\Tests\DbalTestCase
{
public
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL
;
require_once
__DIR__
.
'/../TestInit.php'
;
class
DriverManagerTest
extends
\Doctrine\Tests\DbalTestCase
{
/**
...
...
@@ -114,7 +112,7 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
$conn
=
\Doctrine\DBAL\DriverManager
::
getConnection
(
$options
);
$this
->
assertInstanceOf
(
'Doctrine\DBAL\Driver\PDOMySql\Driver'
,
$conn
->
getDriver
());
}
/**
* @dataProvider databaseUrls
*/
...
...
@@ -123,13 +121,13 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
$options
=
is_array
(
$url
)
?
$url
:
array
(
'url'
=>
$url
,
);
if
(
$expected
===
false
)
{
$this
->
setExpectedException
(
'Doctrine\DBAL\DBALException'
);
}
$conn
=
\Doctrine\DBAL\DriverManager
::
getConnection
(
$options
);
$params
=
$conn
->
getParams
();
foreach
(
$expected
as
$key
=>
$value
)
{
if
(
$key
==
'driver'
)
{
...
...
@@ -139,7 +137,7 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
}
}
}
public
function
databaseUrls
()
{
return
array
(
...
...
tests/Doctrine/Tests/DBAL/Events/MysqlSessionInitTest.php
View file @
dfb44bda
...
...
@@ -7,8 +7,6 @@ use Doctrine\DBAL\Event\Listeners\MysqlSessionInit;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\DbalTestCase
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
MysqlSessionInitTest
extends
DbalTestCase
{
public
function
testPostConnect
()
...
...
tests/Doctrine/Tests/DBAL/Events/OracleSessionInitTest.php
View file @
dfb44bda
...
...
@@ -7,8 +7,6 @@ use Doctrine\DBAL\Event\Listeners\OracleSessionInit;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\DbalTestCase
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
OracleSessionInitTest
extends
DbalTestCase
{
public
function
testPostConnect
()
...
...
tests/Doctrine/Tests/DBAL/Events/SQLSessionInitTest.php
View file @
dfb44bda
...
...
@@ -7,8 +7,6 @@ use Doctrine\DBAL\Event\Listeners\SQLSessionInit;
use
Doctrine\DBAL\Events
;
use
Doctrine\Tests\DbalTestCase
;
require_once
__DIR__
.
'/../../TestInit.php'
;
/**
* @group DBAL-169
*/
...
...
tests/Doctrine/Tests/DBAL/Functional/BlobTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\Types\Type
;
use
PDO
;
require_once
__DIR__
.
'/../../TestInit.php'
;
/**
* @group DBAL-6
*/
...
...
tests/Doctrine/Tests/DBAL/Functional/ConnectionTest.php
View file @
dfb44bda
...
...
@@ -6,8 +6,6 @@ use Doctrine\DBAL\ConnectionException;
use
Doctrine\DBAL\DriverManager
;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
ConnectionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
public
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
View file @
dfb44bda
...
...
@@ -7,8 +7,6 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Types\Type
;
use
PDO
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
DataAccessTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
static
private
$generated
=
false
;
...
...
tests/Doctrine/Tests/DBAL/Functional/ModifyLimitQueryTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Functional
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
ModifyLimitQueryTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
private
static
$tableCreated
=
false
;
...
...
tests/Doctrine/Tests/DBAL/Functional/NamedParametersTest.php
View file @
dfb44bda
...
...
@@ -5,9 +5,6 @@ namespace Doctrine\Tests\DBAL\Functional\Ticket;
use
Doctrine\DBAL\Connection
;
use
PDO
;
require_once
__DIR__
.
'/../../TestInit.php'
;
/**
* @group DDC-1372
*/
...
...
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
View file @
dfb44bda
...
...
@@ -7,8 +7,6 @@ use Doctrine\DBAL\DriverManager;
use
Doctrine\DBAL\Portability\Connection
as
ConnectionPortability
;
use
PDO
;
require_once
__DIR__
.
'/../../TestInit.php'
;
/**
* @group DBAL-56
*/
...
...
tests/Doctrine/Tests/DBAL/Functional/ResultCacheTest.php
View file @
dfb44bda
...
...
@@ -4,8 +4,6 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\Cache\QueryCacheProfile
;
use
PDO
;
require_once
__DIR__
.
'/../../TestInit.php'
;
/**
* @group DDC-217
*/
...
...
@@ -64,7 +62,7 @@ class ResultCacheTest extends \Doctrine\Tests\DbalFunctionalTestCase
}
$this
->
assertCacheNonCacheSelectSameFetchModeAreEqual
(
$expectedResult
,
\PDO
::
FETCH_BOTH
);
}
public
function
testFetchColumn
()
{
$expectedResult
=
array
();
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/Db2SchemaManagerTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Functional\Schema
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
Db2SchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/DrizzleSchemaManagerTest.php
View file @
dfb44bda
...
...
@@ -4,8 +4,6 @@ namespace Doctrine\Tests\DBAL\Functional\Schema;
use
Doctrine\DBAL\Schema\Table
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
DrizzleSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
public
function
testListTableWithBinary
()
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/MySqlSchemaManagerTest.php
View file @
dfb44bda
...
...
@@ -8,8 +8,6 @@ use Doctrine\DBAL\Schema\Schema;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
MySqlSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
protected
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/OracleSchemaManagerTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Functional\Schema;
use
Doctrine\DBAL\Schema
;
use
Doctrine\Tests\TestUtil
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
OracleSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
public
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/PostgreSqlSchemaManagerTest.php
View file @
dfb44bda
...
...
@@ -6,8 +6,6 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
use
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
PostgreSqlSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
public
function
tearDown
()
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
View file @
dfb44bda
...
...
@@ -11,8 +11,6 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
SchemaManagerFunctionalTestCase
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
/**
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SqliteSchemaManagerTest.php
View file @
dfb44bda
...
...
@@ -4,8 +4,6 @@ namespace Doctrine\Tests\DBAL\Functional\Schema;
use
Doctrine\DBAL\Schema
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
class
SqliteSchemaManagerTest
extends
SchemaManagerFunctionalTestCase
{
/**
...
...
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
View file @
dfb44bda
...
...
@@ -4,8 +4,6 @@ namespace Doctrine\Tests\DBAL\Functional;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
TypeConversionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
static
private
$typeCounter
=
0
;
...
...
tests/Doctrine/Tests/DBAL/Logging/DebugStackTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Logging
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
DebugStackTest
extends
\Doctrine\Tests\DbalTestCase
{
public
function
setUp
()
...
...
tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php
View file @
dfb44bda
...
...
@@ -9,8 +9,6 @@ use Doctrine\DBAL\Schema\ForeignKeyConstraint;
use
Doctrine\DBAL\Schema\Table
;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
OraclePlatformTest
extends
AbstractPlatformTestCase
{
static
public
function
dataValidIdentifiers
()
...
...
tests/Doctrine/Tests/DBAL/Platforms/SqlitePlatformTest.php
View file @
dfb44bda
...
...
@@ -9,8 +9,6 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\Types\Type
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
SqlitePlatformTest
extends
AbstractPlatformTestCase
{
public
function
createPlatform
()
...
...
tests/Doctrine/Tests/DBAL/Portability/StatementTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Portability;
use
Doctrine\DBAL\Portability\Connection
;
use
Doctrine\DBAL\Portability\Statement
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
StatementTest
extends
\Doctrine\Tests\DbalTestCase
{
/**
...
...
tests/Doctrine/Tests/DBAL/Query/Expression/CompositeExpressionTest.php
View file @
dfb44bda
...
...
@@ -4,8 +4,6 @@ namespace Doctrine\Tests\DBAL\Query\Expression;
use
Doctrine\DBAL\Query\Expression\CompositeExpression
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
/**
* @group DBAL-12
*/
...
...
tests/Doctrine/Tests/DBAL/Query/Expression/ExpressionBuilderTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Query\Expression;
use
Doctrine\DBAL\Query\Expression\CompositeExpression
;
use
Doctrine\DBAL\Query\Expression\ExpressionBuilder
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
/**
* @group DBAL-12
*/
...
...
tests/Doctrine/Tests/DBAL/Query/QueryBuilderTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Query;
use
Doctrine\DBAL\Query\Expression\ExpressionBuilder
;
use
Doctrine\DBAL\Query\QueryBuilder
;
require_once
__DIR__
.
'/../../TestInit.php'
;
/**
* @group DBAL-12
*/
...
...
tests/Doctrine/Tests/DBAL/SQLParserUtilsTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL;
use
Doctrine\DBAL\Connection
;
use
Doctrine\DBAL\SQLParserUtils
;
require_once
__DIR__
.
'/../TestInit.php'
;
/**
* @group DBAL-78
* @group DDC-1372
...
...
tests/Doctrine/Tests/DBAL/Schema/ColumnTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Schema
;
require_once
__DIR__
.
'/../../TestInit.php'
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Types\Type
;
...
...
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
View file @
dfb44bda
...
...
@@ -19,8 +19,6 @@
namespace
Doctrine\Tests\DBAL\Schema
;
require_once
__DIR__
.
'/../../TestInit.php'
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Schema\Comparator
;
...
...
tests/Doctrine/Tests/DBAL/Schema/IndexTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Schema
;
require_once
__DIR__
.
'/../../TestInit.php'
;
use
Doctrine\DBAL\Schema\Index
;
class
IndexTest
extends
\PHPUnit_Framework_TestCase
...
...
tests/Doctrine/Tests/DBAL/Schema/Platforms/MySQLSchemaTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Schema\Platforms
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
use
Doctrine\DBAL\Schema\Table
;
class
MySQLSchemaTest
extends
\PHPUnit_Framework_TestCase
...
...
tests/Doctrine/Tests/DBAL/Schema/SchemaDiffTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Schema
;
require_once
__DIR__
.
'/../../TestInit.php'
;
use
Doctrine\DBAL\Schema\SchemaDiff
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Table
;
...
...
tests/Doctrine/Tests/DBAL/Schema/SchemaTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Schema
;
require_once
__DIR__
.
'/../../TestInit.php'
;
use
Doctrine\DBAL\Schema\Schema
;
use
Doctrine\DBAL\Schema\Sequence
;
use
Doctrine\DBAL\Schema\Table
;
...
...
tests/Doctrine/Tests/DBAL/Schema/Visitor/SchemaSqlCollectorTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL\Schema\Visitor
;
require_once
__DIR__
.
'/../../../TestInit.php'
;
use
Doctrine\DBAL\Schema\Schema
;
class
SchemaSqlCollectorTest
extends
\PHPUnit_Framework_TestCase
...
...
tests/Doctrine/Tests/DBAL/Types/ArrayTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
ArrayTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/BinaryTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
BinaryTest
extends
\Doctrine\Tests\DbalTestCase
{
/**
...
...
tests/Doctrine/Tests/DBAL/Types/BlobTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
BlobTest
extends
\Doctrine\Tests\DbalTestCase
{
/**
...
...
tests/Doctrine/Tests/DBAL/Types/BooleanTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
BooleanTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/DateTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
DateTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/DateTimeTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
DateTimeTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/DateTimeTzTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
DateTimeTzTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/DecimalTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
DecimalTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/FloatTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
FloatTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
$_platform
,
$_type
;
...
...
tests/Doctrine/Tests/DBAL/Types/IntegerTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
IntegerTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/JsonArrayTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
JsonArrayTest
extends
\Doctrine\Tests\DbalTestCase
{
/**
...
...
tests/Doctrine/Tests/DBAL/Types/ObjectTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
ObjectTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/SmallIntTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
SmallIntTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/StringTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
StringTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/TimeTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
TimeTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/Types/VarDateTimeTest.php
View file @
dfb44bda
...
...
@@ -5,8 +5,6 @@ namespace Doctrine\Tests\DBAL\Types;
use
Doctrine\DBAL\Types\Type
;
use
Doctrine\Tests\DBAL\Mocks\MockPlatform
;
require_once
__DIR__
.
'/../../TestInit.php'
;
class
VarDateTimeTest
extends
\Doctrine\Tests\DbalTestCase
{
protected
...
...
tests/Doctrine/Tests/DBAL/UtilTest.php
View file @
dfb44bda
...
...
@@ -2,8 +2,6 @@
namespace
Doctrine\Tests\DBAL
;
require_once
__DIR__
.
'/../TestInit.php'
;
class
UtilTest
extends
\Doctrine\Tests\DbalTestCase
{
static
public
function
dataConvertPositionalToNamedParameters
()
...
...
tests/travis/mysql.travis.xml
View file @
dfb44bda
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<phpunit
bootstrap=
"../Doctrine/Tests/TestInit.php"
>
<php>
<var
name=
"db_type"
value=
"pdo_mysql"
/>
<var
name=
"db_host"
value=
"localhost"
/>
...
...
@@ -17,7 +17,7 @@
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
.
/.
./Doctrine/Tests/DBAL
</directory>
<directory>
../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
...
...
tests/travis/mysqli.travis.xml
View file @
dfb44bda
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<phpunit
bootstrap=
"../Doctrine/Tests/TestInit.php"
>
<php>
<var
name=
"db_type"
value=
"mysqli"
/>
<var
name=
"db_host"
value=
"localhost"
/>
...
...
@@ -17,7 +17,7 @@
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
.
/.
./Doctrine/Tests/DBAL
</directory>
<directory>
../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
...
...
tests/travis/pgsql.travis.xml
View file @
dfb44bda
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<phpunit
bootstrap=
"../Doctrine/Tests/TestInit.php"
>
<php>
<var
name=
"db_type"
value=
"pdo_pgsql"
/>
<var
name=
"db_host"
value=
"localhost"
/>
...
...
@@ -16,7 +16,7 @@
</php>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
.
/.
./Doctrine/Tests/DBAL
</directory>
<directory>
../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
...
...
tests/travis/sqlite.travis.xml
View file @
dfb44bda
<?xml version="1.0" encoding="utf-8"?>
<phpunit>
<phpunit
bootstrap=
"../Doctrine/Tests/TestInit.php"
>
<testsuites>
<testsuite
name=
"Doctrine DBAL Test Suite"
>
<directory>
.
/.
./Doctrine/Tests/DBAL
</directory>
<directory>
../Doctrine/Tests/DBAL
</directory>
</testsuite>
</testsuites>
<groups>
...
...
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