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
12379bda
Commit
12379bda
authored
Jun 14, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
ea6c4a18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
JoinTestCase.php
tests/Query/JoinTestCase.php
+4
-0
MultiJoin2TestCase.php
tests/Query/MultiJoin2TestCase.php
+6
-2
MultiJoinTestCase.php
tests/Query/MultiJoinTestCase.php
+6
-0
No files found.
tests/Query/JoinTestCase.php
View file @
12379bda
...
@@ -34,6 +34,10 @@ class Doctrine_Query_Join_TestCase extends Doctrine_UnitTestCase
...
@@ -34,6 +34,10 @@ class Doctrine_Query_Join_TestCase extends Doctrine_UnitTestCase
{
{
public
function
prepareTables
()
public
function
prepareTables
()
{
{
$this
->
tables
=
array
(
'Record_Country'
,
'Record_City'
,
'Record_District'
,
'Entity'
,
'User'
,
'Group'
,
'Email'
,
'Phonenumber'
,
'Groupuser'
,
'Account'
);
parent
::
prepareTables
();
}
}
public
function
prepareData
()
public
function
prepareData
()
{
{
...
...
tests/Query/MultiJoin2TestCase.php
View file @
12379bda
...
@@ -35,7 +35,11 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase
...
@@ -35,7 +35,11 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase
public
function
prepareData
()
public
function
prepareData
()
{
}
{
}
public
function
prepareTables
()
public
function
prepareTables
()
{
}
{
$this
->
tables
=
array
(
'QueryTest_Category'
,
'QueryTest_Board'
,
'QueryTest_User'
,
'QueryTest_Entry'
);
parent
::
prepareTables
();
}
public
function
testInitializeData
()
public
function
testInitializeData
()
{
{
$query
=
new
Doctrine_Query
(
$this
->
connection
);
$query
=
new
Doctrine_Query
(
$this
->
connection
);
...
@@ -57,7 +61,7 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase
...
@@ -57,7 +61,7 @@ class Doctrine_Query_MultiJoin2_TestCase extends Doctrine_UnitTestCase
$author
=
new
QueryTest_User
();
$author
=
new
QueryTest_User
();
$author
->
username
=
"romanb"
;
$author
->
username
=
"romanb"
;
$author
->
save
();
$author
->
save
();
$lastEntry
=
new
QueryTest_Entry
();
$lastEntry
=
new
QueryTest_Entry
();
$lastEntry
->
authorId
=
$author
->
id
;
$lastEntry
->
authorId
=
$author
->
id
;
$lastEntry
->
date
=
1234
;
$lastEntry
->
date
=
1234
;
...
...
tests/Query/MultiJoinTestCase.php
View file @
12379bda
...
@@ -32,6 +32,12 @@
...
@@ -32,6 +32,12 @@
*/
*/
class
Doctrine_Query_MultiJoin_TestCase
extends
Doctrine_UnitTestCase
class
Doctrine_Query_MultiJoin_TestCase
extends
Doctrine_UnitTestCase
{
{
public
function
prepareTables
()
{
$this
->
tables
[]
=
'Book'
;
$this
->
tables
[]
=
'Author'
;
parent
::
prepareTables
();
}
public
function
testInitializeData
()
public
function
testInitializeData
()
{
{
...
...
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