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
cd68d488
Commit
cd68d488
authored
Feb 13, 2014
by
Steve Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip tests for uninstalled extensions
parent
d68603c4
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
0 deletions
+24
-0
DB2ConnectionTest.php
...s/Doctrine/Tests/DBAL/Driver/IBMDB2/DB2ConnectionTest.php
+4
-0
MysqliConnectionTest.php
...octrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
+4
-0
OCI8ConnectionTest.php
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8ConnectionTest.php
+4
-0
PDOExceptionTest.php
tests/Doctrine/Tests/DBAL/Driver/PDOExceptionTest.php
+4
-0
SQLAnywhereConnectionTest.php
...sts/DBAL/Driver/SQLAnywhere/SQLAnywhereConnectionTest.php
+4
-0
SQLSrvConnectionTest.php
...octrine/Tests/DBAL/Driver/SQLSrv/SQLSrvConnectionTest.php
+4
-0
No files found.
tests/Doctrine/Tests/DBAL/Driver/IBMDB2/DB2ConnectionTest.php
View file @
cd68d488
...
...
@@ -15,6 +15,10 @@ class DB2ConnectionTest extends DbalTestCase
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'ibm_db2'
))
{
$this
->
markTestSkipped
(
'ibm_db2 is not installed.'
);
}
parent
::
setUp
();
$this
->
connectionMock
=
$this
->
getMockBuilder
(
'Doctrine\DBAL\Driver\IBMDB2\DB2Connection'
)
...
...
tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
View file @
cd68d488
...
...
@@ -15,6 +15,10 @@ class MysqliConnectionTest extends DbalTestCase
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'mysqli'
))
{
$this
->
markTestSkipped
(
'mysqli is not installed.'
);
}
parent
::
setUp
();
$this
->
connectionMock
=
$this
->
getMockBuilder
(
'Doctrine\DBAL\Driver\Mysqli\MysqliConnection'
)
...
...
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8ConnectionTest.php
View file @
cd68d488
...
...
@@ -15,6 +15,10 @@ class OCI8ConnectionTest extends DbalTestCase
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'oci8'
))
{
$this
->
markTestSkipped
(
'oci8 is not installed.'
);
}
parent
::
setUp
();
$this
->
connectionMock
=
$this
->
getMockBuilder
(
'Doctrine\DBAL\Driver\OCI8\OCI8Connection'
)
...
...
tests/Doctrine/Tests/DBAL/Driver/PDOExceptionTest.php
View file @
cd68d488
...
...
@@ -29,6 +29,10 @@ class PDOExceptionTest extends DbalTestCase
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'PDO'
))
{
$this
->
markTestSkipped
(
'PDO is not installed.'
);
}
parent
::
setUp
();
$this
->
wrappedExceptionMock
=
$this
->
getMockBuilder
(
'\PDOException'
)
...
...
tests/Doctrine/Tests/DBAL/Driver/SQLAnywhere/SQLAnywhereConnectionTest.php
View file @
cd68d488
...
...
@@ -15,6 +15,10 @@ class SQLAnywhereConnectionTest extends DbalTestCase
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'sqlanywhere'
))
{
$this
->
markTestSkipped
(
'sqlanywhere is not installed.'
);
}
parent
::
setUp
();
$this
->
connectionMock
=
$this
->
getMockBuilder
(
'Doctrine\DBAL\Driver\SQLAnywhere\SQLAnywhereConnection'
)
...
...
tests/Doctrine/Tests/DBAL/Driver/SQLSrv/SQLSrvConnectionTest.php
View file @
cd68d488
...
...
@@ -15,6 +15,10 @@ class SQLSrvConnectionTest extends DbalTestCase
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'sqlsrv'
))
{
$this
->
markTestSkipped
(
'sqlsrv is not installed.'
);
}
parent
::
setUp
();
$this
->
connectionMock
=
$this
->
getMockBuilder
(
'Doctrine\DBAL\Driver\SQLSrv\SQLSrvConnection'
)
...
...
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