summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-08-16 21:06:47 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-08-16 21:06:47 +0300
commit592a1feb13669be06e485ed65287525868d89dd3 (patch)
treeb69e4828105166d1517fb4308fd87ae9f5009439
parent0405d40fa782c279c2f82ccb6449c142b7c48b4e (diff)
downloadsql-parser-592a1feb13669be06e485ed65287525868d89dd3.zip
sql-parser-592a1feb13669be06e485ed65287525868d89dd3.tar.gz
sql-parser-592a1feb13669be06e485ed65287525868d89dd3.tar.bz2
Moved the tool that genereates tests.
-rw-r--r--tools/TestGenerator.php (renamed from tests/TestGenerator.php)10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/TestGenerator.php b/tools/TestGenerator.php
index f8a176a..1d1be2d 100644
--- a/tests/TestGenerator.php
+++ b/tools/TestGenerator.php
@@ -1,6 +1,6 @@
<?php
-namespace SqlParser\Tests;
+namespace SqlParser\Tools;
require_once '../vendor/autoload.php';
@@ -12,7 +12,7 @@ use SqlParser\Parser;
*
* @category Tests
* @package SqlParser
- * @subpackage Tests
+ * @subpackage Tools
* @author Dan Ungureanu <udan1107@gmail.com>
* @license http://opensource.org/licenses/GPL-2.0 GNU Public License
*/
@@ -195,10 +195,10 @@ class TestGenerator
//
// Example of usage:
//
-// php TestGenerator.php data data
+// php TestGenerator.php ../tests/data ../tests/data
//
-// Input data must be in the `data` folder.
-// The output will be generated in the same `data` folder.
+// Input data must be in the `../tests/data` folder.
+// The output will be generated in the same `../tests/data` folder.
//
if (count($argv) >= 3) {