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
f7a3c2f3
Commit
f7a3c2f3
authored
May 25, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
004f3cb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
QueryTestCase.class.php
tests/QueryTestCase.class.php
+7
-0
run.php
tests/run.php
+2
-2
No files found.
tests/QueryTestCase.class.php
View file @
f7a3c2f3
...
...
@@ -78,6 +78,13 @@ class Doctrine_QueryTestCase extends Doctrine_UnitTestCase {
$this
->
assertEqual
(
$boards
[
0
]
->
Threads
->
count
(),
1
);
$this
->
assertEqual
(
count
(
$this
->
dbh
),
$count
);
$this
->
assertEqual
(
$boards
[
0
]
->
Threads
[
0
]
->
Entries
->
count
(),
1
);
$q
->
from
(
"Forum_Board-l.Threads-l.Entries-i"
);
$this
->
assertEqual
(
$boards
->
count
(),
1
);
$count
=
count
(
$this
->
dbh
);
$this
->
assertEqual
(
$boards
[
0
]
->
Threads
->
count
(),
1
);
$this
->
assertEqual
(
count
(
$this
->
dbh
),
$count
);
$this
->
assertEqual
(
$boards
[
0
]
->
Threads
[
0
]
->
Entries
->
count
(),
1
);
}
public
function
testQueryWithAliases
()
{
...
...
tests/run.php
View file @
f7a3c2f3
...
...
@@ -23,7 +23,7 @@ error_reporting(E_ALL);
$test
=
new
GroupTest
(
"Doctrine Framework Unit Tests"
);
//$test->addTestCase(new Sensei_UnitTestCase());
/**
$test
->
addTestCase
(
new
Doctrine_SessionTestCase
());
$test
->
addTestCase
(
new
Doctrine_TableTestCase
());
...
...
@@ -45,7 +45,7 @@ $test->addTestCase(new Doctrine_ConfigurableTestCase());
$test
->
addTestCase
(
new
Doctrine_Collection_OffsetTestCase
());
$test
->
addTestCase
(
new
Doctrine_CollectionTestCase
());
*/
$test
->
addTestCase
(
new
Doctrine_QueryTestCase
());
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
...
...
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