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
dc1f503e
Commit
dc1f503e
authored
Sep 02, 2007
by
meus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved ticket and data type tests
parent
08fffab6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
BooleanTestCase.php
tests/DataType/BooleanTestCase.php
+2
-2
EnumTestCase.php
tests/DataType/EnumTestCase.php
+2
-2
381TestCase.php
tests/Ticket/381TestCase.php
+0
-0
NjeroTestCase.php
tests/Ticket/NjeroTestCase.php
+0
-0
run.php
tests/run.php
+5
-4
No files found.
tests/BooleanTestCase.php
→
tests/
DataType/
BooleanTestCase.php
View file @
dc1f503e
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*/
*/
/**
/**
* Doctrine_Boolean_TestCase
* Doctrine_
DataType_
Boolean_TestCase
*
*
* @package Doctrine
* @package Doctrine
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
* @since 1.0
* @since 1.0
* @version $Revision$
* @version $Revision$
*/
*/
class
Doctrine_Boolean_TestCase
extends
Doctrine_UnitTestCase
{
class
Doctrine_
DataType_
Boolean_TestCase
extends
Doctrine_UnitTestCase
{
public
function
prepareData
()
{
}
public
function
prepareData
()
{
}
public
function
prepareTables
()
{
public
function
prepareTables
()
{
$this
->
tables
=
array
(
"BooleanTest"
);
$this
->
tables
=
array
(
"BooleanTest"
);
...
...
tests/EnumTestCase.php
→
tests/
DataType/
EnumTestCase.php
View file @
dc1f503e
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
*/
*/
/**
/**
* Doctrine_Enum_TestCase
* Doctrine_
DataType_
Enum_TestCase
*
*
* @package Doctrine
* @package Doctrine
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
* @since 1.0
* @since 1.0
* @version $Revision$
* @version $Revision$
*/
*/
class
Doctrine_Enum_TestCase
extends
Doctrine_UnitTestCase
class
Doctrine_
DataType_
Enum_TestCase
extends
Doctrine_UnitTestCase
{
{
public
function
prepareData
()
public
function
prepareData
()
{
}
{
}
...
...
tests/Ticket/
Ticket
381TestCase.php
→
tests/Ticket/381TestCase.php
View file @
dc1f503e
File moved
tests/Ticket/
Ticket
NjeroTestCase.php
→
tests/Ticket/NjeroTestCase.php
View file @
dc1f503e
File moved
tests/run.php
View file @
dc1f503e
...
@@ -29,7 +29,6 @@ function autoload($class) {
...
@@ -29,7 +29,6 @@ function autoload($class) {
// create a test case file if it doesn't exist
// create a test case file if it doesn't exist
if
(
!
file_exists
(
$file
))
{
if
(
!
file_exists
(
$file
))
{
echo
"file
$file
does not exist
\n
"
;
$contents
=
file_get_contents
(
'template.tpl'
);
$contents
=
file_get_contents
(
'template.tpl'
);
$contents
=
sprintf
(
$contents
,
$class
,
$class
);
$contents
=
sprintf
(
$contents
,
$class
,
$class
);
...
@@ -73,7 +72,9 @@ $test = new GroupTest('Doctrine Framework Unit Tests');
...
@@ -73,7 +72,9 @@ $test = new GroupTest('Doctrine Framework Unit Tests');
// DATABASE ABSTRACTION tests
// DATABASE ABSTRACTION tests
$test
->
addTestCase
(
new
Doctrine_TicketNjero_TestCase
());
//TICKET test cases
$test
->
addTestCase
(
new
Doctrine_Ticket_Njero_TestCase
());
// Connection drivers (not yet fully tested)
// Connection drivers (not yet fully tested)
$test
->
addTestCase
(
new
Doctrine_Connection_Pgsql_TestCase
());
$test
->
addTestCase
(
new
Doctrine_Connection_Pgsql_TestCase
());
...
@@ -188,9 +189,9 @@ $test->addTestCase(new Doctrine_Relation_OneToOne_TestCase());
...
@@ -188,9 +189,9 @@ $test->addTestCase(new Doctrine_Relation_OneToOne_TestCase());
$test
->
addTestCase
(
new
Doctrine_Relation_Parser_TestCase
());
$test
->
addTestCase
(
new
Doctrine_Relation_Parser_TestCase
());
// Datatypes
// Datatypes
$test
->
addTestCase
(
new
Doctrine_Enum_TestCase
());
$test
->
addTestCase
(
new
Doctrine_
DataType_
Enum_TestCase
());
$test
->
addTestCase
(
new
Doctrine_Boolean_TestCase
());
$test
->
addTestCase
(
new
Doctrine_
DataType_
Boolean_TestCase
());
// Utility components
// Utility components
...
...
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