Subversion Repositories ggsysinfo

[/] [modules/] [sysinfo/] [lib/] [PhpSecInfo/] [Test/] [Test_Suhosin.php] - Rev 123

Compare with Previous | Blame | View Log

<?php
/**
 * Skeleton Test class file for Suhosin group
 *
 * @package PhpSecInfo
 * @author Anthon Pang
 */


/**
 * require the main PhpSecInfo class
 */

require_once(PHPSECINFO_BASE_DIR.'/Test/Test.php');



/**
 * This is a skeleton class for PhpSecInfo "Suhosin" tests
 * @package PhpSecInfo
 */

class PhpSecInfo_Test_Suhosin extends PhpSecInfo_Test
{
       
        /**
         * This value is used to group test results together.
         *
         * For example, all tests related to the mysql lib should be grouped under "mysql."
         *
         * @var string
         */

        var $test_group = 'Suhosin';
       
       
        /**
         * "Suhosin" tests should pretty much be always testable, so the default is just to return true
         *
         * @return boolean
         */

        function isTestable() {
               
                return true;
        }

        function getMoreInfoURL() {
                if ($tn = $this->getTestName()) {
                        return 'http://www.hardened-php.net/suhosin/index.html';
                } else {
                        return false;
                }
        }
}
 

Compare with Previous | Blame | View Log