Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-06-15 20:05:20 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-07-10 23:18:12 +0300
commitbf6e14393d32cd5fc4937a210d8c82597f612947 (patch)
tree146f650aefe035c6cd882ceb167fa7b703f7aef3 /test
parent02f6c7f4c06111677baa6e873d82df0d6d16c133 (diff)
Removed PMA_RTN_parseOneParameter().
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/libraries/rte/PMA_RTN_ParameterParser_test.php52
1 files changed, 0 insertions, 52 deletions
diff --git a/test/libraries/rte/PMA_RTN_ParameterParser_test.php b/test/libraries/rte/PMA_RTN_ParameterParser_test.php
index cfced81a20..d94e6c0b96 100644
--- a/test/libraries/rte/PMA_RTN_ParameterParser_test.php
+++ b/test/libraries/rte/PMA_RTN_ParameterParser_test.php
@@ -62,57 +62,5 @@ class PMA_RTN_ParameterParser_Test extends PHPUnit_Framework_TestCase
),
);
}
-
- /**
- * Test for PMA_RTN_parseOneParameter
- *
- * @param string $source Source
- * @param array $target Expected output
- *
- * @return void
- *
- * @dataProvider paramProvider
- */
- public function testParseOneParameter($source, $target)
- {
- PMA_RTN_setGlobals();
- $this->assertEquals($target, PMA_RTN_parseOneParameter($source));
- }
-
- /**
- * Data provider for testParseOneParameter
- *
- * @return array
- */
- public function paramProvider()
- {
- return array(
- array('`foo` TEXT', array('', 'foo', 'TEXT', '', '')),
- array('`foo` INT(20)', array('', 'foo', 'INT', '20', '')),
- array('DECIMAL(5,5)', array('', '', 'DECIMAL', '5,5', '')),
- array(
- 'IN `fo``fo` INT UNSIGNED',
- array('IN', 'fo`fo', 'INT', '', 'UNSIGNED')
- ),
- array(
- 'OUT bar VARCHAR(1) CHARSET utf8',
- array('OUT', 'bar', 'VARCHAR', '1', 'utf8')
- ),
- array(
- '`"baz\'\'` ENUM(\'a\', \'b\') CHARSET latin1',
- array('', '"baz\'\'', 'ENUM', '\'a\',\'b\'', 'latin1')
- ),
- array(
- 'INOUT `foo` DECIMAL(5,2) UNSIGNED ZEROFILL',
- array('INOUT', 'foo', 'DECIMAL', '5,2', 'UNSIGNED ZEROFILL')
- ),
- array(
- '`foo``s func` SET(\'test\'\'esc"\', \'more\\\'esc\')',
- array(
- '', 'foo`s func', 'SET', '\'test\'\'esc"\',\'more\\\'esc\'', ''
- )
- )
- );
- }
}
?>