diff options
Diffstat (limited to 'tests/Parser/CreateStatementTest.php')
-rw-r--r-- | tests/Parser/CreateStatementTest.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/Parser/CreateStatementTest.php b/tests/Parser/CreateStatementTest.php new file mode 100644 index 0000000..8f8c43a --- /dev/null +++ b/tests/Parser/CreateStatementTest.php @@ -0,0 +1,32 @@ +<?php + +namespace SqlParser\Tests\Parser; + +use SqlParser\Tests\TestCase; + +class CreateStatementTest extends TestCase +{ + + /** + * @dataProvider testCreateProvider + */ + public function testCreate($test) + { + $this->runParserTest($test); + } + + public function testCreateProvider() + { + return array( + array('parseCreateTable'), + array('parseCreateTable2'), + array('parseCreateTableErr1'), + array('parseCreateProcedure'), + array('parseCreateProcedure2'), + array('parseCreateFunction'), + array('parseCreateFunctionErr1'), + array('parseCreateFunctionErr2'), + array('parseCreateUser'), + ); + } +} |