summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Components/ArrayObjTest.php2
-rw-r--r--tests/Components/ExpressionTest.php3
-rw-r--r--tests/Components/LimitTest.php2
-rw-r--r--tests/Lexer/LexerTest.php2
-rw-r--r--tests/Misc/BugsTest.php2
-rw-r--r--tests/Parser/AlterStatementTest.php2
-rw-r--r--tests/Parser/CallStatementTest.php2
-rw-r--r--tests/Parser/CreateStatementTest.php2
-rw-r--r--tests/Parser/DeleteStatementTest.php2
-rw-r--r--tests/Parser/ExplainStatement.php2
-rw-r--r--tests/Parser/InsertStatementTest.php2
-rw-r--r--tests/Parser/ParserTest.php2
-rw-r--r--tests/Parser/RenameStatementTest.php2
-rw-r--r--tests/Parser/ReplaceStatementTest.php2
-rw-r--r--tests/Parser/RestoreStatementTest.php2
-rw-r--r--tests/Parser/SelectStatementTest.php2
-rw-r--r--tests/Parser/SetStatementTest.php2
-rw-r--r--tests/Parser/TransactionStatementTest.php2
-rw-r--r--tests/Parser/UpdateStatementTest.php2
-rw-r--r--tests/Utils/BufferedQueryTest.php3
-rw-r--r--tests/Utils/CLITest.php8
-rw-r--r--tests/Utils/FormatterTest.php9
-rw-r--r--tests/Utils/MiscTest.php3
-rw-r--r--tests/Utils/QueryTest.php6
-rw-r--r--tests/Utils/RoutineTest.php6
-rw-r--r--tests/Utils/TableTest.php4
-rw-r--r--tests/Utils/TokensTest.php9
27 files changed, 87 insertions, 0 deletions
diff --git a/tests/Components/ArrayObjTest.php b/tests/Components/ArrayObjTest.php
index 41cf630..4c782d2 100644
--- a/tests/Components/ArrayObjTest.php
+++ b/tests/Components/ArrayObjTest.php
@@ -38,6 +38,8 @@ class ArrayObjTest extends TestCase
/**
* @dataProvider testParseProvider
+ *
+ * @param mixed $test
*/
public function testParse($test)
{
diff --git a/tests/Components/ExpressionTest.php b/tests/Components/ExpressionTest.php
index 6eac3b8..09a50b0 100644
--- a/tests/Components/ExpressionTest.php
+++ b/tests/Components/ExpressionTest.php
@@ -21,6 +21,9 @@ class ExpressionTest extends TestCase
/**
* @dataProvider testParseErrProvider
+ *
+ * @param mixed $expr
+ * @param mixed $error
*/
public function testParseErr($expr, $error)
{
diff --git a/tests/Components/LimitTest.php b/tests/Components/LimitTest.php
index 3e89f9e..466a199 100644
--- a/tests/Components/LimitTest.php
+++ b/tests/Components/LimitTest.php
@@ -22,6 +22,8 @@ class LimitTest extends TestCase
/**
* @dataProvider testParseProvider
+ *
+ * @param mixed $test
*/
public function testParse($test)
{
diff --git a/tests/Lexer/LexerTest.php b/tests/Lexer/LexerTest.php
index 91ddb6c..f29e233 100644
--- a/tests/Lexer/LexerTest.php
+++ b/tests/Lexer/LexerTest.php
@@ -48,6 +48,8 @@ class LexerTest extends TestCase
/**
* @dataProvider testLexProvider
+ *
+ * @param mixed $test
*/
public function testLex($test)
{
diff --git a/tests/Misc/BugsTest.php b/tests/Misc/BugsTest.php
index 4db08a2..9a1c070 100644
--- a/tests/Misc/BugsTest.php
+++ b/tests/Misc/BugsTest.php
@@ -8,6 +8,8 @@ class BugsTest extends TestCase
{
/**
* @dataProvider testBugProvider
+ *
+ * @param mixed $test
*/
public function testBug($test)
{
diff --git a/tests/Parser/AlterStatementTest.php b/tests/Parser/AlterStatementTest.php
index d2a23b6..33de19d 100644
--- a/tests/Parser/AlterStatementTest.php
+++ b/tests/Parser/AlterStatementTest.php
@@ -8,6 +8,8 @@ class AlterStatementTest extends TestCase
{
/**
* @dataProvider testAlterProvider
+ *
+ * @param mixed $test
*/
public function testAlter($test)
{
diff --git a/tests/Parser/CallStatementTest.php b/tests/Parser/CallStatementTest.php
index e8efa71..cb8ac25 100644
--- a/tests/Parser/CallStatementTest.php
+++ b/tests/Parser/CallStatementTest.php
@@ -8,6 +8,8 @@ class CallStatementTest extends TestCase
{
/**
* @dataProvider testCallProvider
+ *
+ * @param mixed $test
*/
public function testCall($test)
{
diff --git a/tests/Parser/CreateStatementTest.php b/tests/Parser/CreateStatementTest.php
index 9a9350d..de785dd 100644
--- a/tests/Parser/CreateStatementTest.php
+++ b/tests/Parser/CreateStatementTest.php
@@ -8,6 +8,8 @@ class CreateStatementTest extends TestCase
{
/**
* @dataProvider testCreateProvider
+ *
+ * @param mixed $test
*/
public function testCreate($test)
{
diff --git a/tests/Parser/DeleteStatementTest.php b/tests/Parser/DeleteStatementTest.php
index e036907..daaf327 100644
--- a/tests/Parser/DeleteStatementTest.php
+++ b/tests/Parser/DeleteStatementTest.php
@@ -8,6 +8,8 @@ class DeleteStatementTest extends TestCase
{
/**
* @dataProvider testDeleteProvider
+ *
+ * @param mixed $test
*/
public function testDelete($test)
{
diff --git a/tests/Parser/ExplainStatement.php b/tests/Parser/ExplainStatement.php
index 3f25a39..6cf3059 100644
--- a/tests/Parser/ExplainStatement.php
+++ b/tests/Parser/ExplainStatement.php
@@ -8,6 +8,8 @@ class ExplainStatementTest extends TestCase
{
/**
* @dataProvider testExplainProvider
+ *
+ * @param mixed $test
*/
public function testExplain($test)
{
diff --git a/tests/Parser/InsertStatementTest.php b/tests/Parser/InsertStatementTest.php
index 2e869a8..1ba0a05 100644
--- a/tests/Parser/InsertStatementTest.php
+++ b/tests/Parser/InsertStatementTest.php
@@ -8,6 +8,8 @@ class InsertStatementTest extends TestCase
{
/**
* @dataProvider testInsertProvider
+ *
+ * @param mixed $test
*/
public function testInsert($test)
{
diff --git a/tests/Parser/ParserTest.php b/tests/Parser/ParserTest.php
index 4c7aa78..9d1b7b8 100644
--- a/tests/Parser/ParserTest.php
+++ b/tests/Parser/ParserTest.php
@@ -12,6 +12,8 @@ class ParserTest extends TestCase
{
/**
* @dataProvider testParseProvider
+ *
+ * @param mixed $test
*/
public function testParse($test)
{
diff --git a/tests/Parser/RenameStatementTest.php b/tests/Parser/RenameStatementTest.php
index ea9aab7..d9606e7 100644
--- a/tests/Parser/RenameStatementTest.php
+++ b/tests/Parser/RenameStatementTest.php
@@ -8,6 +8,8 @@ class RenameStatementTest extends TestCase
{
/**
* @dataProvider testRenameProvider
+ *
+ * @param mixed $test
*/
public function testRename($test)
{
diff --git a/tests/Parser/ReplaceStatementTest.php b/tests/Parser/ReplaceStatementTest.php
index 64f145f..a3551bc 100644
--- a/tests/Parser/ReplaceStatementTest.php
+++ b/tests/Parser/ReplaceStatementTest.php
@@ -8,6 +8,8 @@ class ReplaceStatementTest extends TestCase
{
/**
* @dataProvider testReplaceProvider
+ *
+ * @param mixed $test
*/
public function testReplace($test)
{
diff --git a/tests/Parser/RestoreStatementTest.php b/tests/Parser/RestoreStatementTest.php
index 64fe03b..7f25e95 100644
--- a/tests/Parser/RestoreStatementTest.php
+++ b/tests/Parser/RestoreStatementTest.php
@@ -8,6 +8,8 @@ class RestoreStatementTest extends TestCase
{
/**
* @dataProvider testRestoreProvider
+ *
+ * @param mixed $test
*/
public function testRestore($test)
{
diff --git a/tests/Parser/SelectStatementTest.php b/tests/Parser/SelectStatementTest.php
index 19d3de4..5be345f 100644
--- a/tests/Parser/SelectStatementTest.php
+++ b/tests/Parser/SelectStatementTest.php
@@ -17,6 +17,8 @@ class SelectStatementTest extends TestCase
/**
* @dataProvider testSelectProvider
+ *
+ * @param mixed $test
*/
public function testSelect($test)
{
diff --git a/tests/Parser/SetStatementTest.php b/tests/Parser/SetStatementTest.php
index 6385a27..61062e3 100644
--- a/tests/Parser/SetStatementTest.php
+++ b/tests/Parser/SetStatementTest.php
@@ -8,6 +8,8 @@ class SetStatementTest extends TestCase
{
/**
* @dataProvider testSetProvider
+ *
+ * @param mixed $test
*/
public function testSet($test)
{
diff --git a/tests/Parser/TransactionStatementTest.php b/tests/Parser/TransactionStatementTest.php
index 71d5d9e..9316cb7 100644
--- a/tests/Parser/TransactionStatementTest.php
+++ b/tests/Parser/TransactionStatementTest.php
@@ -8,6 +8,8 @@ class TransactionStatementTest extends TestCase
{
/**
* @dataProvider testTransactionProvider
+ *
+ * @param mixed $test
*/
public function testTransaction($test)
{
diff --git a/tests/Parser/UpdateStatementTest.php b/tests/Parser/UpdateStatementTest.php
index 1db2233..3c442fe 100644
--- a/tests/Parser/UpdateStatementTest.php
+++ b/tests/Parser/UpdateStatementTest.php
@@ -8,6 +8,8 @@ class UpdateStatementTest extends TestCase
{
/**
* @dataProvider testUpdateProvider
+ *
+ * @param mixed $test
*/
public function testUpdate($test)
{
diff --git a/tests/Utils/BufferedQueryTest.php b/tests/Utils/BufferedQueryTest.php
index 280a9be..9ef539d 100644
--- a/tests/Utils/BufferedQueryTest.php
+++ b/tests/Utils/BufferedQueryTest.php
@@ -9,6 +9,9 @@ class BufferedQueryTest extends TestCase
{
/**
* @dataProvider testExtractProvider
+ *
+ * @param mixed $query
+ * @param mixed $chunkSize
*/
public function testExtract(
$query,
diff --git a/tests/Utils/CLITest.php b/tests/Utils/CLITest.php
index 6eee867..a354701 100644
--- a/tests/Utils/CLITest.php
+++ b/tests/Utils/CLITest.php
@@ -30,6 +30,10 @@ class CLITest extends TestCase
/**
* @dataProvider highlightParams
+ *
+ * @param mixed $getopt
+ * @param mixed $output
+ * @param mixed $result
*/
public function testRunHighlight($getopt, $output, $result)
{
@@ -88,6 +92,10 @@ class CLITest extends TestCase
/**
* @dataProvider lintParams
+ *
+ * @param mixed $getopt
+ * @param mixed $output
+ * @param mixed $result
*/
public function testRunLint($getopt, $output, $result)
{
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php
index 861119e..b8a8ff2 100644
--- a/tests/Utils/FormatterTest.php
+++ b/tests/Utils/FormatterTest.php
@@ -9,6 +9,10 @@ class FormatTest extends TestCase
{
/**
* @dataProvider mergeFormats
+ *
+ * @param mixed $default
+ * @param mixed $overriding
+ * @param mixed $expected
*/
public function testMergeFormats($default, $overriding, $expected)
{
@@ -231,6 +235,11 @@ class FormatTest extends TestCase
/**
* @dataProvider formatQueries
+ *
+ * @param mixed $query
+ * @param mixed $text
+ * @param mixed $cli
+ * @param mixed $html
*/
public function testFormat($query, $text, $cli, $html, array $options = array())
{
diff --git a/tests/Utils/MiscTest.php b/tests/Utils/MiscTest.php
index 8f6f3a0..c6b03a2 100644
--- a/tests/Utils/MiscTest.php
+++ b/tests/Utils/MiscTest.php
@@ -10,6 +10,9 @@ class MiscTest extends TestCase
{
/**
* @dataProvider getAliasesProvider
+ *
+ * @param mixed $query
+ * @param mixed $db
*/
public function testGetAliases($query, $db, array $expected)
{
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php
index e608c80..faae263 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -10,6 +10,9 @@ class QueryTest extends TestCase
{
/**
* @dataProvider testGetFlagsProvider
+ *
+ * @param mixed $query
+ * @param mixed $expected
*/
public function testGetFlags($query, $expected)
{
@@ -347,6 +350,9 @@ class QueryTest extends TestCase
/**
* @dataProvider testGetTablesProvider
+ *
+ * @param mixed $query
+ * @param mixed $expected
*/
public function testGetTables($query, $expected)
{
diff --git a/tests/Utils/RoutineTest.php b/tests/Utils/RoutineTest.php
index 7fa13bb..3a6ba55 100644
--- a/tests/Utils/RoutineTest.php
+++ b/tests/Utils/RoutineTest.php
@@ -10,6 +10,8 @@ class RoutineTest extends TestCase
{
/**
* @dataProvider getReturnTypeProvider
+ *
+ * @param mixed $def
*/
public function testGetReturnType($def, array $expected)
{
@@ -49,6 +51,8 @@ class RoutineTest extends TestCase
/**
* @dataProvider getParameterProvider
+ *
+ * @param mixed $def
*/
public function testGetParameter($def, array $expected)
{
@@ -88,6 +92,8 @@ class RoutineTest extends TestCase
/**
* @dataProvider getParametersProvider
+ *
+ * @param mixed $query
*/
public function testGetParameters($query, array $expected)
{
diff --git a/tests/Utils/TableTest.php b/tests/Utils/TableTest.php
index c69647e..ef21137 100644
--- a/tests/Utils/TableTest.php
+++ b/tests/Utils/TableTest.php
@@ -10,6 +10,8 @@ class TableTest extends TestCase
{
/**
* @dataProvider getForeignKeysProvider
+ *
+ * @param mixed $query
*/
public function testGetForeignKeys($query, array $expected)
{
@@ -110,6 +112,8 @@ class TableTest extends TestCase
/**
* @dataProvider getFieldsProvider
+ *
+ * @param mixed $query
*/
public function testGetFields($query, array $expected)
{
diff --git a/tests/Utils/TokensTest.php b/tests/Utils/TokensTest.php
index 5650296..6ebbbab 100644
--- a/tests/Utils/TokensTest.php
+++ b/tests/Utils/TokensTest.php
@@ -10,6 +10,11 @@ class TokensTest extends TestCase
{
/**
* @dataProvider replaceTokensProvider
+ *
+ * @param mixed $list
+ * @param mixed $find
+ * @param mixed $replace
+ * @param mixed $expected
*/
public function testReplaceTokens($list, $find, $replace, $expected)
{
@@ -36,6 +41,10 @@ class TokensTest extends TestCase
/**
* @dataProvider matchProvider
+ *
+ * @param mixed $token
+ * @param mixed $pattern
+ * @param mixed $expected
*/
public function testMatch($token, $pattern, $expected)
{