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
7c0e1ba4
Unverified
Commit
7c0e1ba4
authored
Apr 24, 2020
by
Grégoire Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document platform
parent
76fc0109
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
AbstractPostgreSqlPlatformTestCase.php
...sts/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php
+4
-0
AbstractSQLServerPlatformTestCase.php
...ests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php
+4
-0
OraclePlatformTest.php
tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php
+6
-0
PostgreSQL92PlatformTest.php
...octrine/Tests/DBAL/Platforms/PostgreSQL92PlatformTest.php
+8
-0
No files found.
tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php
View file @
7c0e1ba4
...
...
@@ -2,6 +2,7 @@
namespace
Doctrine\Tests\DBAL\Platforms
;
use
Doctrine\DBAL\Platforms\PostgreSqlPlatform
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Schema\Comparator
;
...
...
@@ -16,6 +17,9 @@ use function sprintf;
abstract
class
AbstractPostgreSqlPlatformTestCase
extends
AbstractPlatformTestCase
{
/** @var PostgreSqlPlatform */
protected
$platform
;
public
function
getGenerateTableSql
()
:
string
{
return
'CREATE TABLE test (id SERIAL NOT NULL, test VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id))'
;
...
...
tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php
View file @
7c0e1ba4
...
...
@@ -3,6 +3,7 @@
namespace
Doctrine\Tests\DBAL\Platforms
;
use
Doctrine\DBAL\DBALException
;
use
Doctrine\DBAL\Platforms\SQLServerPlatform
;
use
Doctrine\DBAL\Schema\Column
;
use
Doctrine\DBAL\Schema\ColumnDiff
;
use
Doctrine\DBAL\Schema\Index
;
...
...
@@ -14,6 +15,9 @@ use function sprintf;
abstract
class
AbstractSQLServerPlatformTestCase
extends
AbstractPlatformTestCase
{
/** @var SQLServerPlatform */
protected
$platform
;
public
function
getGenerateTableSql
()
:
string
{
return
'CREATE TABLE test (id INT IDENTITY NOT NULL, test NVARCHAR(255), PRIMARY KEY (id))'
;
...
...
tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php
View file @
7c0e1ba4
...
...
@@ -22,6 +22,9 @@ use function uniqid;
class
OraclePlatformTest
extends
AbstractPlatformTestCase
{
/** @var OraclePlatform */
protected
$platform
;
/**
* @return mixed[][]
*/
...
...
@@ -76,6 +79,9 @@ class OraclePlatformTest extends AbstractPlatformTestCase
$platform
->
assertValidIdentifier
(
$identifier
);
}
/**
* @return OraclePlatform
*/
public
function
createPlatform
()
:
AbstractPlatform
{
return
new
OraclePlatform
();
...
...
tests/Doctrine/Tests/DBAL/Platforms/PostgreSQL92PlatformTest.php
View file @
7c0e1ba4
...
...
@@ -8,6 +8,14 @@ use Doctrine\DBAL\Types\Types;
class
PostgreSQL92PlatformTest
extends
AbstractPostgreSqlPlatformTestCase
{
/** @var PostgreSQL92Platform */
protected
$platform
;
/**
* {@inheritdoc}
*
* @return PostgreSQL92Platform
*/
public
function
createPlatform
()
:
AbstractPlatform
{
return
new
PostgreSQL92Platform
();
...
...
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