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
30e41d0e
Commit
30e41d0e
authored
Oct 14, 2007
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated code coverage report
parent
92c3be53
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
935 additions
and
636 deletions
+935
-636
Doctrine_AuditLog.html
tests/coverage/Doctrine_AuditLog.html
+2
-2
Doctrine_Configurable.html
tests/coverage/Doctrine_Configurable.html
+1
-1
Doctrine_Connection.html
tests/coverage/Doctrine_Connection.html
+8
-8
Doctrine_Connection_Sqlite_Exception.html
tests/coverage/Doctrine_Connection_Sqlite_Exception.html
+1
-1
Doctrine_Connection_Statement.html
tests/coverage/Doctrine_Connection_Statement.html
+4
-4
Doctrine_EventListener_Chain.html
tests/coverage/Doctrine_EventListener_Chain.html
+11
-11
Doctrine_EventListener_Exception.html
tests/coverage/Doctrine_EventListener_Exception.html
+113
-0
Doctrine_Hydrate_Array.html
tests/coverage/Doctrine_Hydrate_Array.html
+15
-12
Doctrine_Import_Builder.html
tests/coverage/Doctrine_Import_Builder.html
+528
-366
Doctrine_Import_Schema.html
tests/coverage/Doctrine_Import_Schema.html
+234
-213
Doctrine_Manager.html
tests/coverage/Doctrine_Manager.html
+17
-17
coverage.txt
tests/coverage/coverage.txt
+1
-1
No files found.
tests/coverage/Doctrine_AuditLog.html
View file @
30e41d0e
...
...
@@ -307,7 +307,7 @@
<td
class=
"normal"
>
</td></tr>
<tr><td>
100
</td>
<td
class=
"covered"
>
$relations
=
array($name
=
>
array('local'
=
>
$
local
,
<td
class=
"covered"
>
$relations
=
array($name
=
>
array('local'
=
>
$
id
,
</td></tr>
<tr><td>
101
</td>
<td
class=
"covered"
>
'foreign'
=
>
$id,
...
...
@@ -316,7 +316,7 @@
<td
class=
"covered"
>
'onDelete'
=
>
'CASCADE',
</td></tr>
<tr><td>
103
</td>
<td
class=
"covered"
>
'onUpdate'
=
>
'CASCADE'));
<td
class=
"covered"
>
'onUpdate'
=
>
'CASCADE'));
</td></tr>
<tr><td>
104
</td>
<td
class=
"normal"
>
...
...
tests/coverage/Doctrine_Configurable.html
View file @
30e41d0e
...
...
@@ -862,7 +862,7 @@
<td
class=
"covered"
>
)
{
</td></tr>
<tr><td>
285
</td>
<td
class=
"red"
>
throw
new
Doctrine_EventListener_Exception(
"
Couldn't
set
eventlistener.
EventListeners
should
implement
either
Doctrine_EventListener_Interface
or
Doctrine_Overloadable
"
);
<td
class=
"
cove
red"
>
throw
new
Doctrine_EventListener_Exception(
"
Couldn't
set
eventlistener.
EventListeners
should
implement
either
Doctrine_EventListener_Interface
or
Doctrine_Overloadable
"
);
</td></tr>
<tr><td>
286
</td>
<td
class=
"orange"
>
}
...
...
tests/coverage/Doctrine_Connection.html
View file @
30e41d0e
...
...
@@ -2182,7 +2182,7 @@
<td
class=
"covered"
>
$this-
>
rethrowException($e,
$this);
</td></tr>
<tr><td>
725
</td>
<td
class=
"
orange
"
>
}
<td
class=
"
covered
"
>
}
</td></tr>
<tr><td>
726
</td>
<td
class=
"normal"
>
/**
...
...
@@ -2446,19 +2446,19 @@
<td
class=
"normal"
>
}
</td></tr>
<tr><td>
813
</td>
<td
class=
"
orange
"
>
}
catch(Doctrine_Adapter_Exception
$e)
{
<td
class=
"
covered
"
>
}
catch(Doctrine_Adapter_Exception
$e)
{
</td></tr>
<tr><td>
814
</td>
<td
class=
"
orange
"
>
}
catch(PDOException
$e)
{
}
<td
class=
"
covered
"
>
}
catch(PDOException
$e)
{
}
</td></tr>
<tr><td>
815
</td>
<td
class=
"normal"
>
</td></tr>
<tr><td>
816
</td>
<td
class=
"
orange
"
>
$this-
>
rethrowException($e,
$this);
<td
class=
"
covered
"
>
$this-
>
rethrowException($e,
$this);
</td></tr>
<tr><td>
817
</td>
<td
class=
"
orange
"
>
}
<td
class=
"
covered
"
>
}
</td></tr>
<tr><td>
818
</td>
<td
class=
"normal"
>
/**
...
...
@@ -2563,7 +2563,7 @@
<td
class=
"covered"
>
$this-
>
rethrowException($e,
$this);
</td></tr>
<tr><td>
852
</td>
<td
class=
"
orange
"
>
}
<td
class=
"
covered
"
>
}
</td></tr>
<tr><td>
853
</td>
<td
class=
"normal"
>
/**
...
...
@@ -2635,10 +2635,10 @@
<td
class=
"normal"
>
</td></tr>
<tr><td>
876
</td>
<td
class=
"red"
>
$this-
>
getListener()-
>
postError($event);
<td
class=
"
cove
red"
>
$this-
>
getListener()-
>
postError($event);
</td></tr>
<tr><td>
877
</td>
<td
class=
"red"
>
}
<td
class=
"
cove
red"
>
}
</td></tr>
<tr><td>
878
</td>
<td
class=
"normal"
>
/**
...
...
tests/coverage/Doctrine_Connection_Sqlite_Exception.html
View file @
30e41d0e
...
...
@@ -232,7 +232,7 @@
<td
class=
"covered"
>
}
</td></tr>
<tr><td>
75
</td>
<td
class=
"red"
>
return
false;
<td
class=
"
cove
red"
>
return
false;
</td></tr>
<tr><td>
76
</td>
<td
class=
"orange"
>
}
...
...
tests/coverage/Doctrine_Connection_Statement.html
View file @
30e41d0e
...
...
@@ -694,10 +694,10 @@
<td
class=
"covered"
>
return
$result;
</td></tr>
<tr><td>
229
</td>
<td
class=
"
orange
"
>
}
catch
(PDOException
$e)
{
<td
class=
"
covered
"
>
}
catch
(PDOException
$e)
{
</td></tr>
<tr><td>
230
</td>
<td
class=
"
orange
"
>
}
catch
(Doctrine_Adapter_Exception
$e)
{
<td
class=
"
covered
"
>
}
catch
(Doctrine_Adapter_Exception
$e)
{
</td></tr>
<tr><td>
231
</td>
<td
class=
"normal"
>
}
...
...
@@ -706,13 +706,13 @@
<td
class=
"normal"
>
</td></tr>
<tr><td>
233
</td>
<td
class=
"
orange
"
>
$this-
>
_conn-
>
rethrowException($e,
$this);
<td
class=
"
covered
"
>
$this-
>
_conn-
>
rethrowException($e,
$this);
</td></tr>
<tr><td>
234
</td>
<td
class=
"normal"
>
</td></tr>
<tr><td>
235
</td>
<td
class=
"
orange
"
>
return
false;
<td
class=
"
covered
"
>
return
false;
</td></tr>
<tr><td>
236
</td>
<td
class=
"orange"
>
}
...
...
tests/coverage/Doctrine_EventListener_Chain.html
View file @
30e41d0e
...
...
@@ -187,7 +187,7 @@
<td
class=
"covered"
>
}
else
{
</td></tr>
<tr><td>
60
</td>
<td
class=
"red"
>
$this-
>
_listeners[$name]
=
$listener;
<td
class=
"
cove
red"
>
$this-
>
_listeners[$name]
=
$listener;
</td></tr>
<tr><td>
61
</td>
<td
class=
"normal"
>
}
...
...
@@ -223,7 +223,7 @@
<td
class=
"normal"
>
{
</td></tr>
<tr><td>
72
</td>
<td
class=
"red"
>
if
(
!
isset($this-
>
_listeners[$key]))
{
<td
class=
"
cove
red"
>
if
(
!
isset($this-
>
_listeners[$key]))
{
</td></tr>
<tr><td>
73
</td>
<td
class=
"red"
>
return
null;
...
...
@@ -232,7 +232,7 @@
<td
class=
"orange"
>
}
</td></tr>
<tr><td>
75
</td>
<td
class=
"red"
>
return
$this-
>
_listeners[$key];
<td
class=
"
cove
red"
>
return
$this-
>
_listeners[$key];
</td></tr>
<tr><td>
76
</td>
<td
class=
"orange"
>
}
...
...
@@ -901,16 +901,16 @@
<td
class=
"normal"
>
{
</td></tr>
<tr><td>
298
</td>
<td
class=
"red"
>
foreach
($this-
>
_listeners
as
$listener)
{
<td
class=
"
cove
red"
>
foreach
($this-
>
_listeners
as
$listener)
{
</td></tr>
<tr><td>
299
</td>
<td
class=
"red"
>
$listener-
>
preQuery($event);
<td
class=
"
cove
red"
>
$listener-
>
preQuery($event);
</td></tr>
<tr><td>
300
</td>
<td
class=
"red"
>
}
<td
class=
"
cove
red"
>
}
</td></tr>
<tr><td>
301
</td>
<td
class=
"red"
>
}
<td
class=
"
cove
red"
>
}
</td></tr>
<tr><td>
302
</td>
<td
class=
"normal"
>
public
function
postQuery(Doctrine_Event
$event)
...
...
@@ -1036,16 +1036,16 @@
<td
class=
"normal"
>
{
</td></tr>
<tr><td>
343
</td>
<td
class=
"red"
>
foreach
($this-
>
_listeners
as
$listener)
{
<td
class=
"
cove
red"
>
foreach
($this-
>
_listeners
as
$listener)
{
</td></tr>
<tr><td>
344
</td>
<td
class=
"red"
>
$listener-
>
postError($event);
<td
class=
"
cove
red"
>
$listener-
>
postError($event);
</td></tr>
<tr><td>
345
</td>
<td
class=
"red"
>
}
<td
class=
"
cove
red"
>
}
</td></tr>
<tr><td>
346
</td>
<td
class=
"red"
>
}
<td
class=
"
cove
red"
>
}
</td></tr>
<tr><td>
347
</td>
<td
class=
"normal"
>
...
...
tests/coverage/Doctrine_EventListener_Exception.html
0 → 100644
View file @
30e41d0e
<html>
<head>
<title>
Coverage for Doctrine_EventListener_Exception
</title>
<style
type=
"text/css"
>
.covered
{
background
:
green
;}
.normal
{
background
:
white
;}
.red
{
background
:
red
;}
.orange
{
background
:
#f90
;}
</style>
</head>
<body><h1>
Coverage for Doctrine_EventListener_Exception
</h1><p><a
href=
"index.php"
>
Back to coverage report
</a></p><table>
<tr><td>
1
</td>
<td
class=
"normal"
>
<
?php
</td></tr>
<tr><td>
2
</td>
<td
class=
"normal"
>
/*
</td></tr>
<tr><td>
3
</td>
<td
class=
"normal"
>
*
$Id:
Exception.php
1344
2007-05-12
23:27:16Z
zYne
$
</td></tr>
<tr><td>
4
</td>
<td
class=
"normal"
>
*
</td></tr>
<tr><td>
5
</td>
<td
class=
"normal"
>
*
THIS
SOFTWARE
IS
PROVIDED
BY
THE
COPYRIGHT
HOLDERS
AND
CONTRIBUTORS
</td></tr>
<tr><td>
6
</td>
<td
class=
"normal"
>
*
"
AS
IS
"
AND
ANY
EXPRESS
OR
IMPLIED
WARRANTIES,
INCLUDING,
BUT
NOT
</td></tr>
<tr><td>
7
</td>
<td
class=
"normal"
>
*
LIMITED
TO,
THE
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
AND
FITNESS
FOR
</td></tr>
<tr><td>
8
</td>
<td
class=
"normal"
>
*
A
PARTICULAR
PURPOSE
ARE
DISCLAIMED.
IN
NO
EVENT
SHALL
THE
COPYRIGHT
</td></tr>
<tr><td>
9
</td>
<td
class=
"normal"
>
*
OWNER
OR
CONTRIBUTORS
BE
LIABLE
FOR
ANY
DIRECT,
INDIRECT,
INCIDENTAL,
</td></tr>
<tr><td>
10
</td>
<td
class=
"normal"
>
*
SPECIAL,
EXEMPLARY,
OR
CONSEQUENTIAL
DAMAGES
(INCLUDING,
BUT
NOT
</td></tr>
<tr><td>
11
</td>
<td
class=
"normal"
>
*
LIMITED
TO,
PROCUREMENT
OF
SUBSTITUTE
GOODS
OR
SERVICES;
LOSS
OF
USE,
</td></tr>
<tr><td>
12
</td>
<td
class=
"normal"
>
*
DATA,
OR
PROFITS;
OR
BUSINESS
INTERRUPTION)
HOWEVER
CAUSED
AND
ON
ANY
</td></tr>
<tr><td>
13
</td>
<td
class=
"normal"
>
*
THEORY
OF
LIABILITY,
WHETHER
IN
CONTRACT,
STRICT
LIABILITY,
OR
TORT
</td></tr>
<tr><td>
14
</td>
<td
class=
"normal"
>
*
(INCLUDING
NEGLIGENCE
OR
OTHERWISE)
ARISING
IN
ANY
WAY
OUT
OF
THE
USE
</td></tr>
<tr><td>
15
</td>
<td
class=
"normal"
>
*
OF
THIS
SOFTWARE,
EVEN
IF
ADVISED
OF
THE
POSSIBILITY
OF
SUCH
DAMAGE.
</td></tr>
<tr><td>
16
</td>
<td
class=
"normal"
>
*
</td></tr>
<tr><td>
17
</td>
<td
class=
"normal"
>
*
This
software
consists
of
voluntary
contributions
made
by
many
individuals
</td></tr>
<tr><td>
18
</td>
<td
class=
"normal"
>
*
and
is
licensed
under
the
LGPL.
For
more
information,
see
</td></tr>
<tr><td>
19
</td>
<td
class=
"normal"
>
*
<
http://www.phpdoctrine.com
>
.
</td></tr>
<tr><td>
20
</td>
<td
class=
"normal"
>
*/
</td></tr>
<tr><td>
21
</td>
<td
class=
"normal"
>
</td></tr>
<tr><td>
22
</td>
<td
class=
"normal"
>
/**
</td></tr>
<tr><td>
23
</td>
<td
class=
"normal"
>
*
Doctrine_EventListener_Exception
</td></tr>
<tr><td>
24
</td>
<td
class=
"normal"
>
*
</td></tr>
<tr><td>
25
</td>
<td
class=
"normal"
>
*
@package
Doctrine
</td></tr>
<tr><td>
26
</td>
<td
class=
"normal"
>
*
@subpackage
EventListener
</td></tr>
<tr><td>
27
</td>
<td
class=
"normal"
>
*
@license
http://www.opensource.org/licenses/lgpl-license.php
LGPL
</td></tr>
<tr><td>
28
</td>
<td
class=
"normal"
>
*
@link
www.phpdoctrine.com
</td></tr>
<tr><td>
29
</td>
<td
class=
"normal"
>
*
@since
1.0
</td></tr>
<tr><td>
30
</td>
<td
class=
"normal"
>
*
@version
$Revision:
1344
$
</td></tr>
<tr><td>
31
</td>
<td
class=
"normal"
>
*
@author
Konsta
Vesterinen
<
kvesteri@cc.hut.fi
>
</td></tr>
<tr><td>
32
</td>
<td
class=
"normal"
>
*/
</td></tr>
<tr><td>
33
</td>
<td
class=
"covered"
>
class
Doctrine_EventListener_Exception
extends
Doctrine_Exception
</td></tr>
<tr><td>
34
</td>
<td
class=
"covered"
>
{
}
</td></tr>
</table></body></html>
\ No newline at end of file
tests/coverage/Doctrine_Hydrate_Array.html
View file @
30e41d0e
...
...
@@ -217,41 +217,44 @@
<td
class=
"covered"
>
$found
=
false;
</td></tr>
<tr><td>
70
</td>
<td
class=
"covered"
>
}
<td
class=
"covered"
>
break;
</td></tr>
<tr><td>
71
</td>
<td
class=
"
covered"
>
}
<td
class=
"
orange"
>
}
</td></tr>
<tr><td>
72
</td>
<td
class=
"covered"
>
if
($found)
{
<td
class=
"covered"
>
}
</td></tr>
<tr><td>
73
</td>
<td
class=
"covered"
>
return
$key;
<td
class=
"covered"
>
if
($found)
{
</td></tr>
<tr><td>
74
</td>
<td
class=
"
orange"
>
}
<td
class=
"
covered"
>
return
$key;
</td></tr>
<tr><td>
75
</td>
<td
class=
"
covered"
>
}
<td
class=
"
orange"
>
}
</td></tr>
<tr><td>
76
</td>
<td
class=
"covered"
>
return
false;
<td
class=
"covered"
>
}
</td></tr>
<tr><td>
77
</td>
<td
class=
"
orange"
>
}
<td
class=
"
covered"
>
return
false;
</td></tr>
<tr><td>
78
</td>
<td
class=
"
normal"
>
public
function
flush()
<td
class=
"
orange"
>
}
</td></tr>
<tr><td>
79
</td>
<td
class=
"normal"
>
{
<td
class=
"normal"
>
public
function
flush()
</td></tr>
<tr><td>
80
</td>
<td
class=
"normal"
>
<td
class=
"normal"
>
{
</td></tr>
<tr><td>
81
</td>
<td
class=
"
covered"
>
}
<td
class=
"
normal"
>
</td></tr>
<tr><td>
82
</td>
<td
class=
"covered"
>
}
</td></tr>
<tr><td>
83
</td>
<td
class=
"covered"
>
}
</td></tr>
</table></body></html>
\ No newline at end of file
tests/coverage/Doctrine_Import_Builder.html
View file @
30e41d0e
This diff is collapsed.
Click to expand it.
tests/coverage/Doctrine_Import_Schema.html
View file @
30e41d0e
This diff is collapsed.
Click to expand it.
tests/coverage/Doctrine_Manager.html
View file @
30e41d0e
...
...
@@ -976,7 +976,7 @@
<td
class=
"covered"
>
if
(count($parts)
==
0
||
!
isset($parts['scheme']))
{
</td></tr>
<tr><td>
323
</td>
<td
class=
"red"
>
throw
new
Doctrine_Manager_Exception('Empty
data
source
name');
<td
class=
"
cove
red"
>
throw
new
Doctrine_Manager_Exception('Empty
data
source
name');
</td></tr>
<tr><td>
324
</td>
<td
class=
"orange"
>
}
...
...
@@ -1027,10 +1027,10 @@
<td
class=
"normal"
>
</td></tr>
<tr><td>
340
</td>
<td
class=
"red"
>
case
'mssql':
<td
class=
"
cove
red"
>
case
'mssql':
</td></tr>
<tr><td>
341
</td>
<td
class=
"red"
>
case
'dblib':
<td
class=
"
cove
red"
>
case
'dblib':
</td></tr>
<tr><td>
342
</td>
<td
class=
"red"
>
if
(
!
isset($parts['path'])
||
$parts['path']
==
'/')
{
...
...
@@ -1093,37 +1093,37 @@
<td
class=
"normal"
>
</td></tr>
<tr><td>
362
</td>
<td
class=
"red"
>
case
'mysql':
<td
class=
"
cove
red"
>
case
'mysql':
</td></tr>
<tr><td>
363
</td>
<td
class=
"red"
>
case
'informix':
<td
class=
"
cove
red"
>
case
'informix':
</td></tr>
<tr><td>
364
</td>
<td
class=
"red"
>
case
'oci8':
<td
class=
"
cove
red"
>
case
'oci8':
</td></tr>
<tr><td>
365
</td>
<td
class=
"red"
>
case
'oci':
<td
class=
"
cove
red"
>
case
'oci':
</td></tr>
<tr><td>
366
</td>
<td
class=
"red"
>
case
'firebird':
<td
class=
"
cove
red"
>
case
'firebird':
</td></tr>
<tr><td>
367
</td>
<td
class=
"red"
>
case
'pgsql':
<td
class=
"
cove
red"
>
case
'pgsql':
</td></tr>
<tr><td>
368
</td>
<td
class=
"red"
>
case
'odbc':
<td
class=
"
cove
red"
>
case
'odbc':
</td></tr>
<tr><td>
369
</td>
<td
class=
"red"
>
case
'mock':
<td
class=
"
cove
red"
>
case
'mock':
</td></tr>
<tr><td>
370
</td>
<td
class=
"red"
>
case
'oracle':
<td
class=
"
cove
red"
>
case
'oracle':
</td></tr>
<tr><td>
371
</td>
<td
class=
"red"
>
if
(
!
isset($parts['path'])
||
$parts['path']
==
'/')
{
<td
class=
"
cove
red"
>
if
(
!
isset($parts['path'])
||
$parts['path']
==
'/')
{
</td></tr>
<tr><td>
372
</td>
<td
class=
"red"
>
throw
new
Doctrine_Manager_Exception('No
database
available
in
data
source
name');
<td
class=
"
cove
red"
>
throw
new
Doctrine_Manager_Exception('No
database
available
in
data
source
name');
</td></tr>
<tr><td>
373
</td>
<td
class=
"orange"
>
}
...
...
@@ -1177,13 +1177,13 @@
<td
class=
"red"
>
break;
</td></tr>
<tr><td>
390
</td>
<td
class=
"red"
>
default:
<td
class=
"
cove
red"
>
default:
</td></tr>
<tr><td>
391
</td>
<td
class=
"red"
>
throw
new
Doctrine_Manager_Exception('Unknown
driver
'.$parts['scheme']);
<td
class=
"
cove
red"
>
throw
new
Doctrine_Manager_Exception('Unknown
driver
'.$parts['scheme']);
</td></tr>
<tr><td>
392
</td>
<td
class=
"red"
>
}
<td
class=
"
cove
red"
>
}
</td></tr>
<tr><td>
393
</td>
<td
class=
"normal"
>
...
...
tests/coverage/coverage.txt
View file @
30e41d0e
This diff is collapsed.
Click to expand it.
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