| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class LoadStatementTest extends TestCase |
||
| 11 | { |
||
| 12 | public function testLoadOptions() |
||
| 13 | { |
||
| 14 | $data = $this->getData('parser/parseLoad1'); |
||
| 15 | $parser = new Parser($data['query']); |
||
| 16 | $stmt = $parser->statements[0]; |
||
| 17 | $this->assertEquals(10, $stmt->options->has('CONCURRENT')); |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param mixed $test |
||
| 22 | * |
||
| 23 | * @dataProvider loadProvider |
||
| 24 | */ |
||
| 25 | public function testLoad($test) |
||
| 26 | { |
||
| 27 | $this->runParserTest($test); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function loadProvider() |
||
| 45 | ]; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |