| 1 | <?php |
||
| 9 | class StrictColumnWidthsParserTest extends TestCase |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * This tests the basic getColumns behavior. |
||
| 13 | * |
||
| 14 | * @test |
||
| 15 | * @covers ::__construct |
||
| 16 | * @covers ::getColumns |
||
| 17 | */ |
||
| 18 | public function getColumnsFromSampleLine() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * This tests the getColumns behavior for an empty row. |
||
| 26 | * |
||
| 27 | * @test |
||
| 28 | * @covers ::__construct |
||
| 29 | * @covers ::getColumns |
||
| 30 | */ |
||
| 31 | public function getColumnsFromEmptyLine() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * This tests the getColumns behavior for a row with fewer columns than in the columnWidths spec. |
||
| 39 | * |
||
| 40 | * @test |
||
| 41 | * @covers ::__construct |
||
| 42 | * @covers ::getColumns |
||
| 43 | */ |
||
| 44 | public function getColumnsFromShortLine() |
||
| 49 | } |
||
| 50 |