summaryrefslogtreecommitdiffstats
path: root/tests/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Utils')
-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
8 files changed, 48 insertions, 0 deletions
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)
{