Class PhpSecInfo_Test_Curl

Description

This is a skeleton class for PhpSecInfo "Curl" tests

Located in /PhpSecInfo/Test/Test_Curl.php (line 20)

PhpSecInfo_Test
   |
   --PhpSecInfo_Test_Curl
Direct descendents
Class Description
PhpSecInfo_Test_Curl_File_Support Test class for CURL file_support
Variable Summary
string $test_group
Method Summary
boolean isTestable ()
void _setMessages ()
Variables
string $test_group = 'Curl' (line 30)

This value is used to group test results together.

For example, all tests related to the mysql lib should be grouped under "mysql."


Redefinition of:
PhpSecInfo_Test::$test_group
This value is used to group test results together.

Inherited Variables

Inherited from PhpSecInfo_Test

PhpSecInfo_Test::$current_value
PhpSecInfo_Test::$recommended_value
PhpSecInfo_Test::$test_name
PhpSecInfo_Test::$_language
PhpSecInfo_Test::$_message
PhpSecInfo_Test::$_messages
PhpSecInfo_Test::$_result
Methods
isTestable (line 40)

"Curl" tests should only be run if the curl extension is installed. We can check for this by seeing if the function curl_init() is defined

boolean isTestable ()

Redefinition of:
PhpSecInfo_Test::isTestable()
Determines whether or not it's appropriate to run this test (for example, if this test is for a particular library, it shouldn't be run if the lib isn't loaded).
_setMessages (line 55)

Set the messages for Curl tests

void _setMessages ()

Redefinition of:
PhpSecInfo_Test::_setMessages()
This function loads up result messages into the $this->_messages array.

Redefined in descendants as:

Inherited Methods

Inherited From PhpSecInfo_Test

PhpSecInfo_Test::PhpSecInfo_Test()
PhpSecInfo_Test::getBooleanIniValue()
PhpSecInfo_Test::getCurrentTestValue()
PhpSecInfo_Test::getMessage()
PhpSecInfo_Test::getMoreInfoURL()
PhpSecInfo_Test::getRecommendedTestValue()
PhpSecInfo_Test::getResult()
PhpSecInfo_Test::getStringValue()
PhpSecInfo_Test::getTestGroup()
PhpSecInfo_Test::getTestName()
PhpSecInfo_Test::getUnixId()
PhpSecInfo_Test::isTestable()
PhpSecInfo_Test::osIsWindows()
PhpSecInfo_Test::returnBytes()
PhpSecInfo_Test::setMessageForResult()
PhpSecInfo_Test::setTestGroup()
PhpSecInfo_Test::setTestName()
PhpSecInfo_Test::sys_get_temp_dir()
PhpSecInfo_Test::test()
PhpSecInfo_Test::_execTest()
PhpSecInfo_Test::_retrieveCurrentValue()
PhpSecInfo_Test::_setMessage()
PhpSecInfo_Test::_setMessages()
PhpSecInfo_Test::_setResult()

Documentation generated on Fri, 06 Apr 2007 13:32:25 -0400 by phpDocumentor 1.3.0RC3