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
66863c43
Commit
66863c43
authored
Feb 08, 2008
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added section for ticket test cases.
parent
2b060321
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
2 deletions
+44
-2
AllTests.php
tests/AllTests.php
+3
-1
1Test.php
tests/Ticket/1Test.php
+10
-0
AllTests.php
tests/Ticket/AllTests.php
+31
-0
Doctrine_TestCase.php
tests/lib/Doctrine_TestCase.php
+0
-1
No files found.
tests/AllTests.php
View file @
66863c43
...
...
@@ -9,6 +9,7 @@ require_once 'lib/Doctrine_TestSuite.php';
require_once
'Dbal/AllTests.php'
;
require_once
'Orm/AllTests.php'
;
require_once
'Ticket/AllTests.php'
;
class
AllTests
{
...
...
@@ -23,7 +24,8 @@ class AllTests
$suite
->
addTest
(
Dbal_AllTests
::
suite
());
$suite
->
addTest
(
Orm_AllTests
::
suite
());
$suite
->
addTest
(
Ticket_AllTests
::
suite
());
return
$suite
;
}
}
...
...
tests/Ticket/1Test.php
0 → 100644
View file @
66863c43
<?php
require_once
'lib/Doctrine_TestCase.php'
;
class
Ticket_1Test
extends
Doctrine_TestCase
{
public
function
testTest
()
{
$this
->
assertEquals
(
0
,
0
);
}
}
\ No newline at end of file
tests/Ticket/AllTests.php
0 → 100644
View file @
66863c43
<?php
if
(
!
defined
(
'PHPUnit_MAIN_METHOD'
))
{
define
(
'PHPUnit_MAIN_METHOD'
,
'Ticket_AllTests::main'
);
}
require_once
'PHPUnit/Framework.php'
;
require_once
'PHPUnit/TextUI/TestRunner.php'
;
require_once
'lib/Doctrine_TestSuite.php'
;
require_once
'Ticket/1Test.php'
;
class
Ticket_AllTests
{
public
static
function
main
()
{
PHPUnit_TextUI_TestRunner
::
run
(
self
::
suite
());
}
public
static
function
suite
()
{
$suite
=
new
Doctrine_TestSuite
(
'Doctrine Orm'
);
$suite
->
addTestSuite
(
'Ticket_1Test'
);
return
$suite
;
}
}
if
(
PHPUnit_MAIN_METHOD
==
'Ticket_AllTests::main'
)
{
Ticket_AllTests
::
main
();
}
\ No newline at end of file
tests/lib/Doctrine_TestCase.php
View file @
66863c43
...
...
@@ -3,5 +3,4 @@ require_once 'PHPUnit/Framework.php';
class
Doctrine_TestCase
extends
PHPUnit_Framework_TestCase
{
}
\ No newline at end of file
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