public/phpmyadmin/test/classes/Server/Status/VariablesTest.php
/**
     * Test for Variables::getHtmlForFilter
     *
     * @return void
     */
Test for Variables::getHtmlForFilter
@return void
Test for Variables :: getHtmlForFilter @return void
public function testPMAGetHtmlForFilter()
    {
        $html = Variables::getHtmlForFilter($this->serverStatusData);
        $this->assertContains(
            '<fieldset id="tableFilter">',
            $html
        );
        $this->assertContains(
            'server_status_variables.php',
            $html
        );
        $this->assertContains(
            '<label for="filterText">Containing the word:</label>',
            $html
        );
        $this->assertContains(
            '<label for="filterAlert">Show only alert values</label>',
            $html
        );
        $this->assertContains(
            'Filter by category',
            $html
        );
        $this->assertContains(
            'Show unformatted values',
            $html
        );
    }
public function testPMAGetHtmlForFilter ( ) { $ html = Variables :: getHtmlForFilter ( $ this -> serverStatusData ) ; $ this -> assertContains ( '<fieldset id="tableFilter">' , $ html ) ; $ this -> assertContains ( 'server_status_variables.php' , $ html ) ; $ this -> assertContains ( '<label for="filterText">Containing the word:</label>' , $ html ) ; $ this -> assertContains ( '<label for="filterAlert">Show only alert values</label>' , $ html ) ; $ this -> assertContains ( 'Filter by category' , $ html ) ; $ this -> assertContains ( 'Show unformatted values' , $ html ) ; }
Test for Variables::getHtmlForFilter
 @return void
Test for Variables :: getHtmlForFilter @return void
//Call the test function //validate 1: Variables::getHtmlForFilter //validate 2: filter //validate 3:Items