Class PhpSecInfo_Test_Core_Upload_Tmp_Dir

Description

Test Class for upload_tmp_dir

Located in /PhpSecInfo/Test/Core/upload_tmp_dir.php (line 19)

PhpSecInfo_Test
   |
   --PhpSecInfo_Test_Core
      |
      --PhpSecInfo_Test_Core_Upload_Tmp_Dir
Variable Summary
string $test_name
mixed $_messages
Method Summary
void _execTest ()
void _setMessages ()
Variables
string $test_name = "upload_tmp_dir" (line 27)

This should be a unique, human-readable identifier for this test


Redefinition of:
PhpSecInfo_Test::$test_name
This should be a unique, human-readable identifier for this test
mixed $_messages = array() (line 29)

Redefinition of:
PhpSecInfo_Test::$_messages
This is a hash of messages that correspond to various test result levels.

Inherited Variables

Inherited from PhpSecInfo_Test_Core

PhpSecInfo_Test_Core::$test_group

Inherited from PhpSecInfo_Test

PhpSecInfo_Test::$_language
PhpSecInfo_Test::$_message
PhpSecInfo_Test::$_result
Methods
_execTest (line 39)

Check to see if the upload_tmp_dir setting is enabled. If it is set, check if it matches PHPSECINFO_TEST_COMMON_TMPDIR

The test for PHPSECINFO_TEST_COMMON_TMPDIR is pretty UNIX-specific, and should probably include other common world-writable dirs from other OSes

void _execTest ()

Redefinition of:
PhpSecInfo_Test::_execTest()
The "meat" of the test. This is where the real test code goes. You should override this when extending
_setMessages (line 53)

Set the messages specific to this test

void _setMessages ()

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

Inherited Methods

Inherited From PhpSecInfo_Test_Core

PhpSecInfo_Test_Core::isTestable()

Inherited From PhpSecInfo_Test

PhpSecInfo_Test::PhpSecInfo_Test()
PhpSecInfo_Test::getBooleanIniValue()
PhpSecInfo_Test::getMessage()
PhpSecInfo_Test::getResult()
PhpSecInfo_Test::getTestGroup()
PhpSecInfo_Test::getTestName()
PhpSecInfo_Test::isTestable()
PhpSecInfo_Test::returnBytes()
PhpSecInfo_Test::setMessageForResult()
PhpSecInfo_Test::setTestName()
PhpSecInfo_Test::test()
PhpSecInfo_Test::_execTest()
PhpSecInfo_Test::_setMessage()
PhpSecInfo_Test::_setMessages()
PhpSecInfo_Test::_setResult()

Documentation generated on Tue, 24 Oct 2006 10:53:44 -0400 by phpDocumentor 1.3.0RC3