1 | <?php |
||
4 | class ShapeFileTest extends PHPUnit_Framework_TestCase |
||
5 | { |
||
6 | /** |
||
7 | * Tests loading of a file |
||
8 | * |
||
9 | * @param string $filename Name of file |
||
10 | * @param integer $records Expected number of records |
||
11 | * @param integer $parts Expected number of parts in first record |
||
12 | * |
||
13 | * @return void |
||
14 | * |
||
15 | * @dataProvider provideFiles |
||
16 | */ |
||
17 | public function testLoad($filename, $records, $parts) |
||
26 | |||
27 | /** |
||
28 | * Data provider for file loading tests. |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | public function provideFiles() |
||
40 | |||
41 | /** |
||
42 | * Tests creating file |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function testCreate() |
||
85 | } |
||
86 |