summaryrefslogtreecommitdiffstats
path: root/tests/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Utils')
-rw-r--r--tests/Utils/BufferedQueryTest.php2
-rw-r--r--tests/Utils/CLITest.php6
-rw-r--r--tests/Utils/FormatterTest.php7
-rw-r--r--tests/Utils/MiscTest.php2
-rw-r--r--tests/Utils/QueryTest.php4
-rw-r--r--tests/Utils/RoutineTest.php3
-rw-r--r--tests/Utils/TableTest.php2
-rw-r--r--tests/Utils/TokensTest.php7
8 files changed, 33 insertions, 0 deletions
diff --git a/tests/Utils/BufferedQueryTest.php b/tests/Utils/BufferedQueryTest.php
index 5e48dbe..eaf7b48 100644
--- a/tests/Utils/BufferedQueryTest.php
+++ b/tests/Utils/BufferedQueryTest.php
@@ -9,6 +9,8 @@ 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..fec7ddf 100644
--- a/tests/Utils/CLITest.php
+++ b/tests/Utils/CLITest.php
@@ -30,6 +30,9 @@ class CLITest extends TestCase
/**
* @dataProvider highlightParams
+ * @param mixed $getopt
+ * @param mixed $output
+ * @param mixed $result
*/
public function testRunHighlight($getopt, $output, $result)
{
@@ -88,6 +91,9 @@ 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 4502bb6..73a7506 100644
--- a/tests/Utils/FormatterTest.php
+++ b/tests/Utils/FormatterTest.php
@@ -9,6 +9,9 @@ class FormatTest extends TestCase
{
/**
* @dataProvider mergeFormats
+ * @param mixed $default
+ * @param mixed $overriding
+ * @param mixed $expected
*/
public function testMergeFormats($default, $overriding, $expected)
{
@@ -231,6 +234,10 @@ 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 1eb0c80..8c8e093 100644
--- a/tests/Utils/MiscTest.php
+++ b/tests/Utils/MiscTest.php
@@ -10,6 +10,8 @@ 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 a942064..fb34c5f 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -10,6 +10,8 @@ class QueryTest extends TestCase
{
/**
* @dataProvider testGetFlagsProvider
+ * @param mixed $query
+ * @param mixed $expected
*/
public function testGetFlags($query, $expected)
{
@@ -347,6 +349,8 @@ 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 ee47b97..3fe38c6 100644
--- a/tests/Utils/RoutineTest.php
+++ b/tests/Utils/RoutineTest.php
@@ -10,6 +10,7 @@ class RoutineTest extends TestCase
{
/**
* @dataProvider getReturnTypeProvider
+ * @param mixed $def
*/
public function testGetReturnType($def, array $expected)
{
@@ -49,6 +50,7 @@ class RoutineTest extends TestCase
/**
* @dataProvider getParameterProvider
+ * @param mixed $def
*/
public function testGetParameter($def, array $expected)
{
@@ -88,6 +90,7 @@ 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 bbd849d..52a49b3 100644
--- a/tests/Utils/TableTest.php
+++ b/tests/Utils/TableTest.php
@@ -10,6 +10,7 @@ class TableTest extends TestCase
{
/**
* @dataProvider getForeignKeysProvider
+ * @param mixed $query
*/
public function testGetForeignKeys($query, array $expected)
{
@@ -110,6 +111,7 @@ 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 5ef7b37..2f49082 100644
--- a/tests/Utils/TokensTest.php
+++ b/tests/Utils/TokensTest.php
@@ -10,6 +10,10 @@ 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 +40,9 @@ class TokensTest extends TestCase
/**
* @dataProvider matchProvider
+ * @param mixed $token
+ * @param mixed $pattern
+ * @param mixed $expected
*/
public function testMatch($token, $pattern, $expected)
{