|
@@ 228-236 (lines=9) @@
|
| 225 |
|
} |
| 226 |
|
|
| 227 |
|
|
| 228 |
|
public function testResultListOffsetExistsNotImplemented() { |
| 229 |
|
try { |
| 230 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 231 |
|
$resultList->offsetExists(10); |
| 232 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 233 |
|
} catch (Exception $e) { |
| 234 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 235 |
|
} |
| 236 |
|
} |
| 237 |
|
|
| 238 |
|
|
| 239 |
|
public function testResultListOffsetGetNotImplemented() { |
|
@@ 239-247 (lines=9) @@
|
| 236 |
|
} |
| 237 |
|
|
| 238 |
|
|
| 239 |
|
public function testResultListOffsetGetNotImplemented() { |
| 240 |
|
try { |
| 241 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 242 |
|
$resultList->offsetGet(10); |
| 243 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 244 |
|
} catch (Exception $e) { |
| 245 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 246 |
|
} |
| 247 |
|
} |
| 248 |
|
|
| 249 |
|
|
| 250 |
|
public function testResultListOffsetSetNotImplemented() { |
|
@@ 250-258 (lines=9) @@
|
| 247 |
|
} |
| 248 |
|
|
| 249 |
|
|
| 250 |
|
public function testResultListOffsetSetNotImplemented() { |
| 251 |
|
try { |
| 252 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 253 |
|
$resultList->offsetSet(10,null); |
| 254 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 255 |
|
} catch (Exception $e) { |
| 256 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 257 |
|
} |
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
|
| 261 |
|
public function testResultListOffsetUnsetNotImplemented() { |
|
@@ 261-269 (lines=9) @@
|
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
|
| 261 |
|
public function testResultListOffsetUnsetNotImplemented() { |
| 262 |
|
try { |
| 263 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 264 |
|
$resultList->offsetUnset(10); |
| 265 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 266 |
|
} catch (Exception $e) { |
| 267 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 268 |
|
} |
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
|
| 272 |
|
public function testResultListAddNotImplemented() { |
|
@@ 272-281 (lines=10) @@
|
| 269 |
|
} |
| 270 |
|
|
| 271 |
|
|
| 272 |
|
public function testResultListAddNotImplemented() { |
| 273 |
|
try { |
| 274 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 275 |
|
$fp = new FlickrPhotoTO(); |
| 276 |
|
$resultList->add($fp); |
| 277 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 278 |
|
} catch (Exception $e) { |
| 279 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 280 |
|
} |
| 281 |
|
} |
| 282 |
|
|
| 283 |
|
|
| 284 |
|
public function testResultListRemoveNotImplemented() { |
|
@@ 284-293 (lines=10) @@
|
| 281 |
|
} |
| 282 |
|
|
| 283 |
|
|
| 284 |
|
public function testResultListRemoveNotImplemented() { |
| 285 |
|
try { |
| 286 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 287 |
|
$fp = new FlickrPhotoTO(); |
| 288 |
|
$resultList->remove($fp); |
| 289 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 290 |
|
} catch (Exception $e) { |
| 291 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 292 |
|
} |
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
|
| 296 |
|
public function testResultListFindNotImplemented() { |
|
@@ 296-305 (lines=10) @@
|
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
|
| 296 |
|
public function testResultListFindNotImplemented() { |
| 297 |
|
try { |
| 298 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 299 |
|
$fp = new FlickrPhotoTO(); |
| 300 |
|
$resultList->find(4,$fp); |
| 301 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 302 |
|
} catch (Exception $e) { |
| 303 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 304 |
|
} |
| 305 |
|
} |
| 306 |
|
|
| 307 |
|
|
| 308 |
|
|
|
@@ 332-340 (lines=9) @@
|
| 329 |
|
|
| 330 |
|
} |
| 331 |
|
|
| 332 |
|
public function testResultListFirstNotImplemented() { |
| 333 |
|
try { |
| 334 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 335 |
|
$resultList->first(); |
| 336 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 337 |
|
} catch (Exception $e) { |
| 338 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 339 |
|
} |
| 340 |
|
} |
| 341 |
|
|
| 342 |
|
|
| 343 |
|
public function testResultListLastNotImplemented() { |
|
@@ 343-351 (lines=9) @@
|
| 340 |
|
} |
| 341 |
|
|
| 342 |
|
|
| 343 |
|
public function testResultListLastNotImplemented() { |
| 344 |
|
try { |
| 345 |
|
$resultList = $this->getResultsFor('New Zealand',10); |
| 346 |
|
$resultList->last(); |
| 347 |
|
$this->assertFalse(true, "This line should not have been reached"); |
| 348 |
|
} catch (Exception $e) { |
| 349 |
|
$this->assertEquals('Not implemented', $e->getMessage()); |
| 350 |
|
} |
| 351 |
|
} |
| 352 |
|
|
| 353 |
|
|
| 354 |
|
public function testFoldedIndexes() { |