public/phpmyadmin/test/classes/Server/Status/VariablesTest.php
/**
     * Test for Variables::getHtmlForLinkSuggestions
     *
     * @return void
     */
Test for Variables::getHtmlForLinkSuggestions
@return void
Test for Variables :: getHtmlForLinkSuggestions @return void
public function testPMAGetHtmlForLinkSuggestions()
    {
        $html = Variables::getHtmlForLinkSuggestions($this->serverStatusData);
        $this->assertContains(
            '<div id="linkSuggestions" class="defaultLinks hide"',
            $html
        );
        $this->assertContains(
            '<p class="notice">Related links:',
            $html
        );
        $this->assertContains(
            'Flush (close) all tables',
            $html
        );
        $this->assertContains(
            '<span class="status_binlog_cache">',
            $html
        );
    }
public function testPMAGetHtmlForLinkSuggestions ( ) { $ html = Variables :: getHtmlForLinkSuggestions ( $ this -> serverStatusData ) ; $ this -> assertContains ( '<div id="linkSuggestions" class="defaultLinks hide"' , $ html ) ; $ this -> assertContains ( '<p class="notice">Related links:' , $ html ) ; $ this -> assertContains ( 'Flush (close) all tables' , $ html ) ; $ this -> assertContains ( '<span class="status_binlog_cache">' , $ html ) ; }
Test for Variables::getHtmlForLinkSuggestions
 @return void
Test for Variables :: getHtmlForLinkSuggestions @return void
//Call the test function //validate 1: Variables::getHtmlForLinkSuggestions //validate 2: linkSuggestions