parachute/phpMyAdmin/test/selenium/PmaSeleniumExportTest.php
/**
     * Test for table level export
     *
     * @param string $plugin   Export format
     * @param array  $expected Array of expected strings
     *
     * @return void
     * @dataProvider exportDataProvider
     *
     * @group large
     */
Test for table level export
@param string $plugin   Export format
@param array  $expected Array of expected strings

@return void
@dataProvider exportDataProvider

@group large
Test for table level export @param string $plugin Export format @param array $expected Array of expected strings @return void @dataProvider exportDataProvider @group large
public function testTableExport($plugin, $expected)
    {
        $this->dbQuery("INSERT INTO `test_table` (val) VALUES (3);");
        $this->navigateTable('test_table');
        $text = $this->_doExport('table', $plugin);
        foreach ($expected as $str) {
            $this->assertContains($str, $text);
        }
    }
public function testTableExport ( $ plugin , $ expected ) { $ this -> dbQuery ( " INSERT INTO `test_table` (val) VALUES (3); " ) ; $ this -> navigateTable ( 'test_table' ) ; $ text = $ this -> _doExport ( 'table' , $ plugin ) ; foreach ( $ expected as $ str ) { $ this -> assertContains ( $ str , $ text ) ; } }
Test for table level export
 @param string $plugin   Export format
 @param array  $expected Array of expected strings
Test for table level export @param string $plugin Export format @param array $expected Array of expected strings