summaryrefslogtreecommitdiffstats
path: root/tests/Misc/BugsTest.php
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-07-23 16:58:24 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-23 16:58:24 +0300
commitb256d8d90cc1a7248e644dd2154496eb15577dbe (patch)
tree3d8c670a94592e65cf6db48a088cb78d9ebd4db7 /tests/Misc/BugsTest.php
parent93a7c2ae78efc8796f56e091c9e84526a144a3bd (diff)
downloadsql-parser-b256d8d90cc1a7248e644dd2154496eb15577dbe.zip
sql-parser-b256d8d90cc1a7248e644dd2154496eb15577dbe.tar.gz
sql-parser-b256d8d90cc1a7248e644dd2154496eb15577dbe.tar.bz2
Reorganized tests.
Implemented a tool to generate tests.
Diffstat (limited to 'tests/Misc/BugsTest.php')
-rw-r--r--tests/Misc/BugsTest.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/Misc/BugsTest.php b/tests/Misc/BugsTest.php
new file mode 100644
index 0000000..a3b010a
--- /dev/null
+++ b/tests/Misc/BugsTest.php
@@ -0,0 +1,24 @@
+<?php
+
+namespace SqlParser\Tests\Parser;
+
+use SqlParser\Tests\TestCase;
+
+class BugsTest extends TestCase
+{
+
+ /**
+ * @dataProvider testBugProvider
+ */
+ public function testBug($test)
+ {
+ $this->runParserTest($test);
+ }
+
+ public function testBugProvider()
+ {
+ return array(
+ array('bugs/gh9'),
+ );
+ }
+}