diff --git a/test/AllTests.php b/test/AllTests.php index b77f3ecfc..338f83d58 100644 --- a/test/AllTests.php +++ b/test/AllTests.php @@ -51,6 +51,7 @@ require_once './test/PMA_foreignKeySupported_test.php'; require_once './test/PMA_headerLocation_test.php'; require_once './test/PMA_Message_test.php'; require_once './test/PMA_whichCrlf_test.php'; +require_once './test/PMA_SQL_parser_data_test.php'; class AllTests { diff --git a/test/PMA_SQL_parser_data_test.php b/test/PMA_SQL_parser_data_test.php new file mode 100644 index 000000000..e8271639c --- /dev/null +++ b/test/PMA_SQL_parser_data_test.php @@ -0,0 +1,62 @@ +assertEquals($difference, array()); + } + + public function testPMA_SQPdata_function_name() + { + $this->assertSorted($GLOBALS['PMA_SQPdata_function_name']); + } + + public function testPMA_SQPdata_column_attrib() + { + $this->assertSorted($GLOBALS['PMA_SQPdata_column_attrib']); + } + + public function testPMA_SQPdata_reserved_word() + { + $this->assertSorted($GLOBALS['PMA_SQPdata_reserved_word']); + } + + public function testPMA_SQPdata_forbidden_word() + { + $this->assertSorted($GLOBALS['PMA_SQPdata_forbidden_word']); + } + + public function testPMA_SQPdata_column_type() + { + $this->assertSorted($GLOBALS['PMA_SQPdata_column_type']); + } + +} +?>