public/phpmyadmin/test/selenium/ExportTest.php
/**
     * Data provider for testServerExport
     *
     * @return array Test cases data
     */
Data provider for testServerExport
@return array Test cases data
Data provider for testServerExport @return array Test cases data
public function exportDataProvider()
    {
        return array(
            array(
                'CSV',
                array('"1","2"')
            ),
            array(
                'SQL',
                array(
                    "CREATE TABLE IF NOT EXISTS `test_table`",
                    "INSERT INTO `test_table` (`id`, `val`) VALUES",
                    "(1, 2)",
                )
            ),
            array(
                'JSON',
                array('{"id":"1","val":"2"}')
            )
        );
    }
public function exportDataProvider ( ) { return array ( array ( 'CSV' , array ( '"1","2"' ) ) , array ( 'SQL' , array ( " CREATE TABLE IF NOT EXISTS `test_table` " , " INSERT INTO `test_table` (`id`, `val`) VALUES " , " (1, 2) " , ) ) , array ( 'JSON' , array ( '{"id":"1","val":"2"}' ) ) ) ; }
Data provider for testServerExport
 @return array Test cases data
Data provider for testServerExport @return array Test cases data