summaryrefslogtreecommitdiffstats
path: root/tests/parser/RestoreStatementTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-25 19:37:04 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-06-25 23:02:05 +0300
commit1254db42ba8d1967c6e2d71cc4711f933ef853d0 (patch)
treec130476953adca99d9ea2d666a9ca073ec76498c /tests/parser/RestoreStatementTest.php
parent8bfff84044f750d32e2c8e4a7c6ec668d435d409 (diff)
downloadsql-parser-1254db42ba8d1967c6e2d71cc4711f933ef853d0.zip
sql-parser-1254db42ba8d1967c6e2d71cc4711f933ef853d0.tar.gz
sql-parser-1254db42ba8d1967c6e2d71cc4711f933ef853d0.tar.bz2
Added query utilities.
Included basic support for ANALYZE, BACKUP, CHECK, CHECKSUM, OPTIMIZE, REPAIR and RESTORE statements. Better parsing for fields, SELECT statement, INTO keyword. Improved contexts (included functions). Improved documentation. Refactoring and coding style fixes.
Diffstat (limited to 'tests/parser/RestoreStatementTest.php')
-rw-r--r--tests/parser/RestoreStatementTest.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/parser/RestoreStatementTest.php b/tests/parser/RestoreStatementTest.php
new file mode 100644
index 0000000..28db6fe
--- /dev/null
+++ b/tests/parser/RestoreStatementTest.php
@@ -0,0 +1,24 @@
+<?php
+
+namespace SqlParser\Tests\Parser;
+
+use SqlParser\Tests\TestCase;
+
+class RestoreStatementTest extends TestCase
+{
+
+ /**
+ * @dataProvider testRestoreProvider
+ */
+ public function testRestore($test)
+ {
+ $this->runParserTest($test);
+ }
+
+ public function testRestoreProvider()
+ {
+ return array(
+ array('parseRestore'),
+ );
+ }
+}