1 | <?php |
||
8 | class SpecificationTest extends \PHPUnit_Framework_TestCase |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var Specification |
||
13 | */ |
||
14 | protected $object; |
||
15 | |||
16 | /** |
||
17 | * Sets up the fixture, for example, opens a network connection. |
||
18 | * This method is called before a test is executed. |
||
19 | */ |
||
20 | protected function setUp() |
||
24 | |||
25 | /** |
||
26 | * Tears down the fixture, for example, closes a network connection. |
||
27 | * This method is called after a test is executed. |
||
28 | */ |
||
29 | protected function tearDown() |
||
33 | |||
34 | /** |
||
35 | * @covers SimpleORM\Specification::getWhere |
||
36 | * @todo Implement testGetWhere(). |
||
37 | */ |
||
38 | public function testGetWhere() |
||
45 | |||
46 | /** |
||
47 | * @covers SimpleORM\Specification::getLimit |
||
48 | * @todo Implement testGetLimit(). |
||
49 | */ |
||
50 | public function testGetLimit() |
||
57 | |||
58 | /** |
||
59 | * @covers SimpleORM\Specification::getOfset |
||
60 | * @todo Implement testGetOfset(). |
||
61 | */ |
||
62 | public function testGetOfset() |
||
69 | |||
70 | /** |
||
71 | * @covers SimpleORM\Specification::getJoins |
||
72 | * @todo Implement testGetJoins(). |
||
73 | */ |
||
74 | public function testGetJoins() |
||
81 | |||
82 | /** |
||
83 | * @covers SimpleORM\Specification::getOrder |
||
84 | * @todo Implement testGetOrder(). |
||
85 | */ |
||
86 | public function testGetOrder() |
||
93 | |||
94 | /** |
||
95 | * @covers SimpleORM\Specification::getManualJoins |
||
96 | * @todo Implement testGetManualJoins(). |
||
97 | */ |
||
98 | public function testGetManualJoins() |
||
105 | |||
106 | /** |
||
107 | * @covers SimpleORM\Specification::getGroup |
||
108 | * @todo Implement testGetGroup(). |
||
109 | */ |
||
110 | public function testGetGroup() |
||
117 | |||
118 | /** |
||
119 | * @covers SimpleORM\Specification::getManualWheres |
||
120 | * @todo Implement testGetManualWheres(). |
||
121 | */ |
||
122 | public function testGetManualWheres() |
||
129 | |||
130 | /** |
||
131 | * @covers SimpleORM\Specification::getWhereType |
||
132 | * @todo Implement testGetWhereType(). |
||
133 | */ |
||
134 | public function testGetWhereType() |
||
141 | |||
142 | /** |
||
143 | * @covers SimpleORM\Specification::setWhere |
||
144 | * @todo Implement testSetWhere(). |
||
145 | */ |
||
146 | public function testSetWhere() |
||
153 | |||
154 | /** |
||
155 | * @covers SimpleORM\Specification::setLimit |
||
156 | * @todo Implement testSetLimit(). |
||
157 | */ |
||
158 | public function testSetLimit() |
||
165 | |||
166 | /** |
||
167 | * @covers SimpleORM\Specification::setOfset |
||
168 | * @todo Implement testSetOfset(). |
||
169 | */ |
||
170 | public function testSetOfset() |
||
177 | |||
178 | /** |
||
179 | * @covers SimpleORM\Specification::setJoins |
||
180 | * @todo Implement testSetJoins(). |
||
181 | */ |
||
182 | public function testSetJoins() |
||
189 | |||
190 | /** |
||
191 | * @covers SimpleORM\Specification::setOrder |
||
192 | * @todo Implement testSetOrder(). |
||
193 | */ |
||
194 | public function testSetOrder() |
||
201 | |||
202 | /** |
||
203 | * @covers SimpleORM\Specification::setManualJoins |
||
204 | * @todo Implement testSetManualJoins(). |
||
205 | */ |
||
206 | public function testSetManualJoins() |
||
213 | |||
214 | /** |
||
215 | * @covers SimpleORM\Specification::setGroup |
||
216 | * @todo Implement testSetGroup(). |
||
217 | */ |
||
218 | public function testSetGroup() |
||
225 | |||
226 | /** |
||
227 | * @covers SimpleORM\Specification::setManualWheres |
||
228 | * @todo Implement testSetManualWheres(). |
||
229 | */ |
||
230 | public function testSetManualWheres() |
||
237 | |||
238 | /** |
||
239 | * @covers SimpleORM\Specification::setWhereType |
||
240 | * @todo Implement testSetWhereType(). |
||
241 | */ |
||
242 | public function testSetWhereType() |
||
249 | |||
250 | /** |
||
251 | * @covers SimpleORM\Specification::getCriteria |
||
252 | * @todo Implement testGetCriteria(). |
||
253 | */ |
||
254 | public function testGetCriteria() |
||
261 | } |
||
262 |