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
45235a15
Commit
45235a15
authored
Feb 09, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more changes to the new test setup. introduced separate ticket folders.
parent
00fa362e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
6 deletions
+48
-6
AllTests.php
tests/AllTests.php
+0
-2
AllTests.php
tests/Dbal/AllTests.php
+2
-0
1Test.php
tests/Dbal/Ticket/1Test.php
+10
-0
AllTests.php
tests/Dbal/Ticket/AllTests.php
+30
-0
AllTests.php
tests/Orm/AllTests.php
+2
-0
1Test.php
tests/Orm/Ticket/1Test.php
+1
-1
AllTests.php
tests/Orm/Ticket/AllTests.php
+3
-3
No files found.
tests/AllTests.php
View file @
45235a15
...
...
@@ -8,7 +8,6 @@ require_once 'lib/DoctrineTestInit.php';
// Suites
require_once
'Dbal/AllTests.php'
;
require_once
'Orm/AllTests.php'
;
require_once
'Ticket/AllTests.php'
;
class
AllTests
{
...
...
@@ -23,7 +22,6 @@ class AllTests
$suite
->
addTest
(
Dbal_AllTests
::
suite
());
$suite
->
addTest
(
Orm_AllTests
::
suite
());
$suite
->
addTest
(
Ticket_AllTests
::
suite
());
return
$suite
;
}
...
...
tests/Dbal/AllTests.php
View file @
45235a15
...
...
@@ -7,6 +7,7 @@ require_once 'lib/DoctrineTestInit.php';
// Suites
require_once
'Dbal/Component/AllTests.php'
;
require_once
'Dbal/Ticket/AllTests.php'
;
class
Dbal_AllTests
{
...
...
@@ -20,6 +21,7 @@ class Dbal_AllTests
$suite
=
new
Doctrine_DbalTestSuite
(
'Doctrine Dbal'
);
$suite
->
addTest
(
Dbal_Component_AllTests
::
suite
());
$suite
->
addTest
(
Dbal_Ticket_AllTests
::
suite
());
return
$suite
;
}
...
...
tests/Dbal/Ticket/1Test.php
0 → 100644
View file @
45235a15
<?php
require_once
'lib/DoctrineTestInit.php'
;
class
Dbal_Ticket_1Test
extends
Doctrine_DbalTestCase
{
public
function
testTest
()
{
$this
->
assertEquals
(
0
,
0
);
}
}
\ No newline at end of file
tests/Dbal/Ticket/AllTests.php
0 → 100644
View file @
45235a15
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'Ticket_AllTests::main'
);
}
require_once
'lib/DoctrineTestInit.php'
;
// Tests
require_once
'Dbal/Ticket/1Test.php'
;
class
Dbal_Ticket_AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Orm'
);
$suite
->
addTestSuite
(
'Dbal_Ticket_1Test'
);
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'Ticket_AllTests::main'
)
{
Ticket_AllTests
::
main
();
}
\ No newline at end of file
tests/Orm/AllTests.php
View file @
45235a15
...
...
@@ -7,6 +7,7 @@ require_once 'lib/DoctrineTestInit.php';
// Suites
require_once
'Orm/Component/AllTests.php'
;
require_once
'Orm/Ticket/AllTests.php'
;
class
Orm_AllTests
{
...
...
@@ -20,6 +21,7 @@ class Orm_AllTests
$suite
=
new
Doctrine_OrmTestSuite
(
'Doctrine Orm'
);
$suite
->
addTest
(
Orm_Component_AllTests
::
suite
());
$suite
->
addTest
(
Orm_Ticket_AllTests
::
suite
());
return
$suite
;
}
...
...
tests/Ticket/1Test.php
→
tests/
Orm/
Ticket/1Test.php
View file @
45235a15
<?php
require_once
'lib/DoctrineTestInit.php'
;
class
Ticket_1Test
extends
Doctrine_
TestCase
class
Orm_Ticket_1Test
extends
Doctrine_Orm
TestCase
{
public
function
testTest
()
{
...
...
tests/Ticket/AllTests.php
→
tests/
Orm/
Ticket/AllTests.php
View file @
45235a15
...
...
@@ -6,9 +6,9 @@ if (!defined('PHPUnit_MAIN_METHOD')) {
require_once
'lib/DoctrineTestInit.php'
;
// Tests
require_once
'Ticket/1Test.php'
;
require_once
'
Orm/
Ticket/1Test.php'
;
class
Ticket_AllTests
class
Orm_
Ticket_AllTests
{
public
static
function
main
()
{
...
...
@@ -19,7 +19,7 @@ class Ticket_AllTests
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Orm'
);
$suite
->
addTestSuite
(
'Ticket_1Test'
);
$suite
->
addTestSuite
(
'
Orm_
Ticket_1Test'
);
return
$suite
;
}
...
...
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