|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace SimpleORM; |
|
4
|
|
|
|
|
5
|
|
|
/** |
|
6
|
|
|
* Generated by PHPUnit_SkeletonGenerator on 2015-12-05 at 16:25:49. |
|
7
|
|
|
*/ |
|
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() |
|
21
|
|
|
{ |
|
22
|
|
|
$this->object = new Specification; |
|
23
|
|
|
} |
|
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() |
|
30
|
|
|
{ |
|
31
|
|
|
|
|
32
|
|
|
} |
|
33
|
|
|
|
|
34
|
|
|
/** |
|
35
|
|
|
* @covers SimpleORM\Specification::getWhere |
|
36
|
|
|
* @todo Implement testGetWhere(). |
|
37
|
|
|
*/ |
|
38
|
|
|
public function testGetWhere() |
|
39
|
|
|
{ |
|
40
|
|
|
// Remove the following lines when you implement this test. |
|
41
|
|
|
$this->markTestIncomplete( |
|
42
|
|
|
'This test has not been implemented yet.' |
|
43
|
|
|
); |
|
44
|
|
|
} |
|
45
|
|
|
|
|
46
|
|
|
/** |
|
47
|
|
|
* @covers SimpleORM\Specification::getLimit |
|
48
|
|
|
* @todo Implement testGetLimit(). |
|
49
|
|
|
*/ |
|
50
|
|
|
public function testGetLimit() |
|
51
|
|
|
{ |
|
52
|
|
|
// Remove the following lines when you implement this test. |
|
53
|
|
|
$this->markTestIncomplete( |
|
54
|
|
|
'This test has not been implemented yet.' |
|
55
|
|
|
); |
|
56
|
|
|
} |
|
57
|
|
|
|
|
58
|
|
|
/** |
|
59
|
|
|
* @covers SimpleORM\Specification::getOfset |
|
60
|
|
|
* @todo Implement testGetOfset(). |
|
61
|
|
|
*/ |
|
62
|
|
|
public function testGetOfset() |
|
63
|
|
|
{ |
|
64
|
|
|
// Remove the following lines when you implement this test. |
|
65
|
|
|
$this->markTestIncomplete( |
|
66
|
|
|
'This test has not been implemented yet.' |
|
67
|
|
|
); |
|
68
|
|
|
} |
|
69
|
|
|
|
|
70
|
|
|
/** |
|
71
|
|
|
* @covers SimpleORM\Specification::getJoins |
|
72
|
|
|
* @todo Implement testGetJoins(). |
|
73
|
|
|
*/ |
|
74
|
|
|
public function testGetJoins() |
|
75
|
|
|
{ |
|
76
|
|
|
// Remove the following lines when you implement this test. |
|
77
|
|
|
$this->markTestIncomplete( |
|
78
|
|
|
'This test has not been implemented yet.' |
|
79
|
|
|
); |
|
80
|
|
|
} |
|
81
|
|
|
|
|
82
|
|
|
/** |
|
83
|
|
|
* @covers SimpleORM\Specification::getOrder |
|
84
|
|
|
* @todo Implement testGetOrder(). |
|
85
|
|
|
*/ |
|
86
|
|
|
public function testGetOrder() |
|
87
|
|
|
{ |
|
88
|
|
|
// Remove the following lines when you implement this test. |
|
89
|
|
|
$this->markTestIncomplete( |
|
90
|
|
|
'This test has not been implemented yet.' |
|
91
|
|
|
); |
|
92
|
|
|
} |
|
93
|
|
|
|
|
94
|
|
|
/** |
|
95
|
|
|
* @covers SimpleORM\Specification::getManualJoins |
|
96
|
|
|
* @todo Implement testGetManualJoins(). |
|
97
|
|
|
*/ |
|
98
|
|
|
public function testGetManualJoins() |
|
99
|
|
|
{ |
|
100
|
|
|
// Remove the following lines when you implement this test. |
|
101
|
|
|
$this->markTestIncomplete( |
|
102
|
|
|
'This test has not been implemented yet.' |
|
103
|
|
|
); |
|
104
|
|
|
} |
|
105
|
|
|
|
|
106
|
|
|
/** |
|
107
|
|
|
* @covers SimpleORM\Specification::getGroup |
|
108
|
|
|
* @todo Implement testGetGroup(). |
|
109
|
|
|
*/ |
|
110
|
|
|
public function testGetGroup() |
|
111
|
|
|
{ |
|
112
|
|
|
// Remove the following lines when you implement this test. |
|
113
|
|
|
$this->markTestIncomplete( |
|
114
|
|
|
'This test has not been implemented yet.' |
|
115
|
|
|
); |
|
116
|
|
|
} |
|
117
|
|
|
|
|
118
|
|
|
/** |
|
119
|
|
|
* @covers SimpleORM\Specification::getManualWheres |
|
120
|
|
|
* @todo Implement testGetManualWheres(). |
|
121
|
|
|
*/ |
|
122
|
|
|
public function testGetManualWheres() |
|
123
|
|
|
{ |
|
124
|
|
|
// Remove the following lines when you implement this test. |
|
125
|
|
|
$this->markTestIncomplete( |
|
126
|
|
|
'This test has not been implemented yet.' |
|
127
|
|
|
); |
|
128
|
|
|
} |
|
129
|
|
|
|
|
130
|
|
|
/** |
|
131
|
|
|
* @covers SimpleORM\Specification::getWhereType |
|
132
|
|
|
* @todo Implement testGetWhereType(). |
|
133
|
|
|
*/ |
|
134
|
|
|
public function testGetWhereType() |
|
135
|
|
|
{ |
|
136
|
|
|
// Remove the following lines when you implement this test. |
|
137
|
|
|
$this->markTestIncomplete( |
|
138
|
|
|
'This test has not been implemented yet.' |
|
139
|
|
|
); |
|
140
|
|
|
} |
|
141
|
|
|
|
|
142
|
|
|
/** |
|
143
|
|
|
* @covers SimpleORM\Specification::setWhere |
|
144
|
|
|
* @todo Implement testSetWhere(). |
|
145
|
|
|
*/ |
|
146
|
|
|
public function testSetWhere() |
|
147
|
|
|
{ |
|
148
|
|
|
// Remove the following lines when you implement this test. |
|
149
|
|
|
$this->markTestIncomplete( |
|
150
|
|
|
'This test has not been implemented yet.' |
|
151
|
|
|
); |
|
152
|
|
|
} |
|
153
|
|
|
|
|
154
|
|
|
/** |
|
155
|
|
|
* @covers SimpleORM\Specification::setLimit |
|
156
|
|
|
* @todo Implement testSetLimit(). |
|
157
|
|
|
*/ |
|
158
|
|
|
public function testSetLimit() |
|
159
|
|
|
{ |
|
160
|
|
|
// Remove the following lines when you implement this test. |
|
161
|
|
|
$this->markTestIncomplete( |
|
162
|
|
|
'This test has not been implemented yet.' |
|
163
|
|
|
); |
|
164
|
|
|
} |
|
165
|
|
|
|
|
166
|
|
|
/** |
|
167
|
|
|
* @covers SimpleORM\Specification::setOfset |
|
168
|
|
|
* @todo Implement testSetOfset(). |
|
169
|
|
|
*/ |
|
170
|
|
|
public function testSetOfset() |
|
171
|
|
|
{ |
|
172
|
|
|
// Remove the following lines when you implement this test. |
|
173
|
|
|
$this->markTestIncomplete( |
|
174
|
|
|
'This test has not been implemented yet.' |
|
175
|
|
|
); |
|
176
|
|
|
} |
|
177
|
|
|
|
|
178
|
|
|
/** |
|
179
|
|
|
* @covers SimpleORM\Specification::setJoins |
|
180
|
|
|
* @todo Implement testSetJoins(). |
|
181
|
|
|
*/ |
|
182
|
|
|
public function testSetJoins() |
|
183
|
|
|
{ |
|
184
|
|
|
// Remove the following lines when you implement this test. |
|
185
|
|
|
$this->markTestIncomplete( |
|
186
|
|
|
'This test has not been implemented yet.' |
|
187
|
|
|
); |
|
188
|
|
|
} |
|
189
|
|
|
|
|
190
|
|
|
/** |
|
191
|
|
|
* @covers SimpleORM\Specification::setOrder |
|
192
|
|
|
* @todo Implement testSetOrder(). |
|
193
|
|
|
*/ |
|
194
|
|
|
public function testSetOrder() |
|
195
|
|
|
{ |
|
196
|
|
|
// Remove the following lines when you implement this test. |
|
197
|
|
|
$this->markTestIncomplete( |
|
198
|
|
|
'This test has not been implemented yet.' |
|
199
|
|
|
); |
|
200
|
|
|
} |
|
201
|
|
|
|
|
202
|
|
|
/** |
|
203
|
|
|
* @covers SimpleORM\Specification::setManualJoins |
|
204
|
|
|
* @todo Implement testSetManualJoins(). |
|
205
|
|
|
*/ |
|
206
|
|
|
public function testSetManualJoins() |
|
207
|
|
|
{ |
|
208
|
|
|
// Remove the following lines when you implement this test. |
|
209
|
|
|
$this->markTestIncomplete( |
|
210
|
|
|
'This test has not been implemented yet.' |
|
211
|
|
|
); |
|
212
|
|
|
} |
|
213
|
|
|
|
|
214
|
|
|
/** |
|
215
|
|
|
* @covers SimpleORM\Specification::setGroup |
|
216
|
|
|
* @todo Implement testSetGroup(). |
|
217
|
|
|
*/ |
|
218
|
|
|
public function testSetGroup() |
|
219
|
|
|
{ |
|
220
|
|
|
// Remove the following lines when you implement this test. |
|
221
|
|
|
$this->markTestIncomplete( |
|
222
|
|
|
'This test has not been implemented yet.' |
|
223
|
|
|
); |
|
224
|
|
|
} |
|
225
|
|
|
|
|
226
|
|
|
/** |
|
227
|
|
|
* @covers SimpleORM\Specification::setManualWheres |
|
228
|
|
|
* @todo Implement testSetManualWheres(). |
|
229
|
|
|
*/ |
|
230
|
|
|
public function testSetManualWheres() |
|
231
|
|
|
{ |
|
232
|
|
|
// Remove the following lines when you implement this test. |
|
233
|
|
|
$this->markTestIncomplete( |
|
234
|
|
|
'This test has not been implemented yet.' |
|
235
|
|
|
); |
|
236
|
|
|
} |
|
237
|
|
|
|
|
238
|
|
|
/** |
|
239
|
|
|
* @covers SimpleORM\Specification::setWhereType |
|
240
|
|
|
* @todo Implement testSetWhereType(). |
|
241
|
|
|
*/ |
|
242
|
|
|
public function testSetWhereType() |
|
243
|
|
|
{ |
|
244
|
|
|
// Remove the following lines when you implement this test. |
|
245
|
|
|
$this->markTestIncomplete( |
|
246
|
|
|
'This test has not been implemented yet.' |
|
247
|
|
|
); |
|
248
|
|
|
} |
|
249
|
|
|
|
|
250
|
|
|
/** |
|
251
|
|
|
* @covers SimpleORM\Specification::getCriteria |
|
252
|
|
|
* @todo Implement testGetCriteria(). |
|
253
|
|
|
*/ |
|
254
|
|
|
public function testGetCriteria() |
|
255
|
|
|
{ |
|
256
|
|
|
// Remove the following lines when you implement this test. |
|
257
|
|
|
$this->markTestIncomplete( |
|
258
|
|
|
'This test has not been implemented yet.' |
|
259
|
|
|
); |
|
260
|
|
|
} |
|
261
|
|
|
} |
|
262
|
|
|
|