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
3adb4338
Commit
3adb4338
authored
Aug 22, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
8e3aead1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
DB.php
Doctrine/DB.php
+1
-1
EventListenerTestCase.php
tests/EventListenerTestCase.php
+1
-1
run.php
tests/run.php
+5
-5
No files found.
Doctrine/DB.php
View file @
3adb4338
<?php
/*
/*
* $Id$
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
...
...
tests/EventListenerTestCase.php
View file @
3adb4338
...
...
@@ -3,7 +3,7 @@ require_once("UnitTestCase.php");
class
Doctrine_EventListenerTestCase
extends
Doctrine_UnitTestCase
{
public
function
testEvents
()
{
$connection
=
$this
->
manager
->
openConnection
(
Doctrine_DB
::
getConn
ection
(
));
$connection
=
$this
->
manager
->
openConnection
(
Doctrine_DB
::
getConn
(
"sqlite::memory:"
));
$debug
=
$this
->
listener
->
getMessages
();
$last
=
end
(
$debug
);
$this
->
assertTrue
(
$last
->
getObject
()
instanceof
Doctrine_Connection
);
...
...
tests/run.php
View file @
3adb4338
...
...
@@ -28,15 +28,15 @@ require_once("QueryLimitTestCase.php");
error_reporting
(
E_ALL
);
$test
=
new
GroupTest
(
"Doctrine Framework Unit Tests"
);
/**
$test
->
addTestCase
(
new
Doctrine_RecordTestCase
());
$test
->
addTestCase
(
new
Doctrine_ConnectionTestCase
());
$test
->
addTestCase
(
new
Doctrine_TableTestCase
());
*/
$test
->
addTestCase
(
new
Doctrine_ManagerTestCase
());
/**
$test
->
addTestCase
(
new
Doctrine_AccessTestCase
());
$test
->
addTestCase
(
new
Doctrine_EventListenerTestCase
());
...
...
@@ -67,8 +67,8 @@ $test->addTestCase(new Doctrine_QueryTestCase());
$test
->
addTestCase
(
new
Doctrine_RawSql_TestCase
());
$test->addTestCase(new Doctrine_Query_Limit_TestCase());
*/
//
$test->addTestCase(new Doctrine_Query_Limit_TestCase());
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
//$test->addTestCase(new Doctrine_Cache_SqliteTestCase());
...
...
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