Commit 0b24b455 authored by meus's avatar meus

coverage report stuff

parent 0ad03d6e
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<td class="normal">/* <td class="normal">/*
</td></tr> </td></tr>
<tr><td>3</td> <tr><td>3</td>
<td class="normal">&nbsp;*&nbsp;&nbsp;$Id:&nbsp;Collection.php&nbsp;2990&nbsp;2007-10-22&nbsp;16:38:03Z&nbsp;zYne&nbsp;$ <td class="normal">&nbsp;*&nbsp;&nbsp;$Id:&nbsp;Collection.php&nbsp;3075&nbsp;2007-11-05&nbsp;18:05:17Z&nbsp;nightfreak&nbsp;$
</td></tr> </td></tr>
<tr><td>4</td> <tr><td>4</td>
<td class="normal">&nbsp;* <td class="normal">&nbsp;*
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
<td class="normal">&nbsp;*&nbsp;@since&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0 <td class="normal">&nbsp;*&nbsp;@since&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0
</td></tr> </td></tr>
<tr><td>31</td> <tr><td>31</td>
<td class="normal">&nbsp;*&nbsp;@version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$Revision:&nbsp;2990&nbsp;$ <td class="normal">&nbsp;*&nbsp;@version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$Revision:&nbsp;3075&nbsp;$
</td></tr> </td></tr>
<tr><td>32</td> <tr><td>32</td>
<td class="normal">&nbsp;*&nbsp;@author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Konsta&nbsp;Vesterinen&nbsp;&lt;kvesteri@cc.hut.fi&gt; <td class="normal">&nbsp;*&nbsp;@author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Konsta&nbsp;Vesterinen&nbsp;&lt;kvesteri@cc.hut.fi&gt;
...@@ -2356,6 +2356,33 @@ ...@@ -2356,6 +2356,33 @@
<td class="orange">&nbsp;&nbsp;&nbsp;&nbsp;} <td class="orange">&nbsp;&nbsp;&nbsp;&nbsp;}
</td></tr> </td></tr>
<tr><td>783</td> <tr><td>783</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr>
<tr><td>784</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;/**
</td></tr>
<tr><td>785</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;returns&nbsp;the&nbsp;relation&nbsp;object
</td></tr>
<tr><td>786</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;object&nbsp;Doctrine_Relation
</td></tr>
<tr><td>787</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/
</td></tr>
<tr><td>788</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;getRelation()
</td></tr>
<tr><td>789</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;{
</td></tr>
<tr><td>790</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;$this-&gt;relation;
</td></tr>
<tr><td>791</td>
<td class="orange">&nbsp;&nbsp;&nbsp;&nbsp;}
</td></tr>
<tr><td>792</td>
<td class="normal">} <td class="normal">}
</td></tr> </td></tr>
</table></body></html> </table></body></html>
\ No newline at end of file
This diff is collapsed.
...@@ -316,7 +316,7 @@ ...@@ -316,7 +316,7 @@
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$array&nbsp;=&nbsp;array(); <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$array&nbsp;=&nbsp;array();
</td></tr> </td></tr>
<tr><td>103</td> <tr><td>103</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td class="normal">
</td></tr> </td></tr>
<tr><td>104</td> <tr><td>104</td>
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;((array)&nbsp;$schema&nbsp;AS&nbsp;$s)&nbsp;{ <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;((array)&nbsp;$schema&nbsp;AS&nbsp;$s)&nbsp;{
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RecursiveIteratorIterator::LEAVES_ONLY); <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RecursiveIteratorIterator::LEAVES_ONLY);
</td></tr> </td></tr>
<tr><td>110</td> <tr><td>110</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td class="normal">
</td></tr> </td></tr>
<tr><td>111</td> <tr><td>111</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;($it&nbsp;as&nbsp;$file)&nbsp;{ <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;($it&nbsp;as&nbsp;$file)&nbsp;{
...@@ -364,13 +364,13 @@ ...@@ -364,13 +364,13 @@
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</td></tr> </td></tr>
<tr><td>119</td> <tr><td>119</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td class="normal">
</td></tr> </td></tr>
<tr><td>120</td> <tr><td>120</td>
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;buildRelationships($array); <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;buildRelationships($array);
</td></tr> </td></tr>
<tr><td>121</td> <tr><td>121</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td class="normal">
</td></tr> </td></tr>
<tr><td>122</td> <tr><td>122</td>
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;array('schema'&nbsp;=&gt;&nbsp;$array,&nbsp;'relations'&nbsp;=&gt;&nbsp;$this-&gt;_relations); <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;array('schema'&nbsp;=&gt;&nbsp;$array,&nbsp;'relations'&nbsp;=&gt;&nbsp;$this-&gt;_relations);
...@@ -670,31 +670,31 @@ ...@@ -670,31 +670,31 @@
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;($all_relations&nbsp;as&nbsp;$relation)&nbsp;{ <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;($all_relations&nbsp;as&nbsp;$relation)&nbsp;{
</td></tr> </td></tr>
<tr><td>221</td> <tr><td>221</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!in_array($relation['class'],&nbsp;$exist_relations))&nbsp;{ <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!in_array($relation['class'],&nbsp;$exist_relations))&nbsp;{
</td></tr> </td></tr>
<tr><td>222</td> <tr><td>222</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$exist_relations[]&nbsp;=&nbsp;$relation['class']; <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$exist_relations[]&nbsp;=&nbsp;$relation['class'];
</td></tr> </td></tr>
<tr><td>223</td> <tr><td>223</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$unique_relations&nbsp;=&nbsp;array_merge($unique_relations,&nbsp;array($relation['alias']&nbsp;=&gt;&nbsp;$relation)); <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$unique_relations&nbsp;=&nbsp;array_merge($unique_relations,&nbsp;array($relation['alias']&nbsp;=&gt;&nbsp;$relation));
</td></tr> </td></tr>
<tr><td>224</td> <tr><td>224</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{ <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{
</td></tr> </td></tr>
<tr><td>225</td> <tr><td>225</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;check&nbsp;to&nbsp;see&nbsp;if&nbsp;this&nbsp;relationship&nbsp;is&nbsp;not&nbsp;autogenerated,&nbsp;if&nbsp;it's&nbsp;not,&nbsp;then&nbsp;the&nbsp;user&nbsp;must&nbsp;have&nbsp;explicitly&nbsp;declared&nbsp;it <td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;check&nbsp;to&nbsp;see&nbsp;if&nbsp;this&nbsp;relationship&nbsp;is&nbsp;not&nbsp;autogenerated,&nbsp;if&nbsp;it's&nbsp;not,&nbsp;then&nbsp;the&nbsp;user&nbsp;must&nbsp;have&nbsp;explicitly&nbsp;declared&nbsp;it
</td></tr> </td></tr>
<tr><td>226</td> <tr><td>226</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!isset($relation['autogenerated'])&nbsp;||&nbsp;$relation['autogenerated']&nbsp;!=&nbsp;true)&nbsp;{ <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!isset($relation['autogenerated'])&nbsp;||&nbsp;$relation['autogenerated']&nbsp;!=&nbsp;true)&nbsp;{
</td></tr> </td></tr>
<tr><td>227</td> <tr><td>227</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$unique_relations&nbsp;=&nbsp;array_merge($unique_relations,&nbsp;array($relation['alias']&nbsp;=&gt;&nbsp;$relation)); <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$unique_relations&nbsp;=&nbsp;array_merge($unique_relations,&nbsp;array($relation['alias']&nbsp;=&gt;&nbsp;$relation));
</td></tr> </td></tr>
<tr><td>228</td> <tr><td>228</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</td></tr> </td></tr>
<tr><td>229</td> <tr><td>229</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} <td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
</td></tr> </td></tr>
<tr><td>230</td> <tr><td>230</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
...@@ -976,7 +976,7 @@ ...@@ -976,7 +976,7 @@
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$colDesc&nbsp;=&nbsp;array(); <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$colDesc&nbsp;=&nbsp;array();
</td></tr> </td></tr>
<tr><td>323</td> <tr><td>323</td>
<td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$colDesc['name']&nbsp;=&nbsp;isset($field['name'])&nbsp;?&nbsp;(string)&nbsp;$field['name']:$columnName; <td class="covered">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$colDesc['name']&nbsp;=&nbsp;$columnName;
</td></tr> </td></tr>
<tr><td>324</td> <tr><td>324</td>
<td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <td class="normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
......
This diff is collapsed.
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<td class="normal">/* <td class="normal">/*
</td></tr> </td></tr>
<tr><td>3</td> <tr><td>3</td>
<td class="normal">&nbsp;*&nbsp;&nbsp;$Id:&nbsp;Record.php&nbsp;3037&nbsp;2007-10-29&nbsp;23:34:10Z&nbsp;zYne&nbsp;$ <td class="normal">&nbsp;*&nbsp;&nbsp;$Id:&nbsp;Record.php&nbsp;3079&nbsp;2007-11-07&nbsp;15:38:20Z&nbsp;romanb&nbsp;$
</td></tr> </td></tr>
<tr><td>4</td> <tr><td>4</td>
<td class="normal">&nbsp;* <td class="normal">&nbsp;*
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
<td class="normal">&nbsp;*&nbsp;@since&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0 <td class="normal">&nbsp;*&nbsp;@since&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.0
</td></tr> </td></tr>
<tr><td>32</td> <tr><td>32</td>
<td class="normal">&nbsp;*&nbsp;@version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$Revision:&nbsp;3037&nbsp;$ <td class="normal">&nbsp;*&nbsp;@version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$Revision:&nbsp;3079&nbsp;$
</td></tr> </td></tr>
<tr><td>33</td> <tr><td>33</td>
<td class="normal">&nbsp;*/ <td class="normal">&nbsp;*/
...@@ -3166,7 +3166,7 @@ ...@@ -3166,7 +3166,7 @@
<td class="normal"> <td class="normal">
</td></tr> </td></tr>
<tr><td>1053</td> <tr><td>1053</td>
<td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;$conn-&gt;replace($this-&gt;_table-&gt;getTableName(),&nbsp;$this-&gt;getPrepared(),&nbsp;$this-&gt;id); <td class="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;$conn-&gt;replace($this-&gt;_table-&gt;getTableName(),&nbsp;$this-&gt;getPrepared(),&nbsp;$this-&gt;_id);
</td></tr> </td></tr>
<tr><td>1054</td> <tr><td>1054</td>
<td class="orange">&nbsp;&nbsp;&nbsp;&nbsp;} <td class="orange">&nbsp;&nbsp;&nbsp;&nbsp;}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment