public/phpmyadmin/test/classes/Display/ResultsTest.php
/**
     * Data provider for testGetShowAllButtonForTableNavigation
     *
     * @return array parameters and output
     */
Data provider for testGetShowAllButtonForTableNavigation
@return array parameters and output
Data provider for testGetShowAllButtonForTableNavigation @return array parameters and output
public function dataProviderForTestGetShowAllCheckboxForTableNavigation()
    {
        return array(
            array(
                'mysql',
                'user',
                'tbl_structure.php',
                0,
                'SELECT * FROM `user`',
                "\n"
                . '<td><form action="sql.php" method="post">'
                . '<input type="hidden" name="db" value="mysql" />'
                . '<input type="hidden" name="table" value="user" />'
                . '<input type="hidden" name="lang" value="en" />'
                . '<input type="hidden" name="token" value="token" />'
                . '<input type="hidden" name="sql_query" value="SELECT * FROM `user`" />'
                . '<input type="hidden" name="pos" value="0" />'
                . '<input type="hidden" name="is_browse_distinct" value="" />'
                . '<input type="hidden" name="session_max_rows" value="all" />'
                . '<input type="hidden" name="goto" value="tbl_structure.php" />'
                . '<input type="checkbox" name="navig" id="showAll_0"'
                . ' class="showAllRows" value="all" />'
                . '<label for="showAll_0">Show all</label></form></td>'
            )
        );
    }
public function dataProviderForTestGetShowAllCheckboxForTableNavigation ( ) { return array ( array ( 'mysql' , 'user' , 'tbl_structure.php' , 0 , 'SELECT * FROM `user`' , " \n " . '<td><form action="sql.php" method="post">' . '<input type="hidden" name="db" value="mysql" />' . '<input type="hidden" name="table" value="user" />' . '<input type="hidden" name="lang" value="en" />' . '<input type="hidden" name="token" value="token" />' . '<input type="hidden" name="sql_query" value="SELECT * FROM `user`" />' . '<input type="hidden" name="pos" value="0" />' . '<input type="hidden" name="is_browse_distinct" value="" />' . '<input type="hidden" name="session_max_rows" value="all" />' . '<input type="hidden" name="goto" value="tbl_structure.php" />' . '<input type="checkbox" name="navig" id="showAll_0"' . ' class="showAllRows" value="all" />' . '<label for="showAll_0">Show all</label></form></td>' ) ) ; }
Data provider for testGetShowAllButtonForTableNavigation
 @return array parameters and output
Data provider for testGetShowAllButtonForTableNavigation @return array parameters and output