PHPUnit
|
Public Member Functions | |
getKey () | |
setKey ($key) | |
getTitle () | |
setTitle ($title) | |
getType () | |
setType ($type) | |
getCodePath () | |
setCodePath ($codePath) | |
getTestsPath () | |
setTestsPath ($testsPath) | |
getBlacklist () | |
setBlacklist (array $files) | |
getWhitelist () | |
setWhitelist (array $files) | |
getIconPath () | |
setIconPath ($iconPath) | |
Public Attributes | |
const | TYPE_UNDEFINED = 0 |
const | TYPE_EXTENSION = 1 |
const | TYPE_CORE = 2 |
const | CORE_KEY = 'typo3' |
const | ALL_EXTENSIONS = 'uuall' |
Protected Attributes | |
$key = '' | |
$title = '' | |
$type = self::TYPE_UNDEFINED | |
$codePath = '' | |
$testsPath = '' | |
$blacklist = array() | |
$whitelist = array() | |
$iconPath = '' |
Returns the blacklist, i.e., the absolute paths to the files that should be excluded from the code coverage report.
Returns the code path.
This is the absolute path of the code that is tested.
Returns the relative path to the icon associated with this testable code.
Returns the key.
The key is intended to be used e.g., for drop-downs.
For extensions, this will be the extension key. For the TYPO3 core, this will be "typo3". For out-of-line tests, this will be full path to the tested code.
Returns the tests path.
This is the absolute path of the unit tests. Usually, this path is located within the code path.
Returns the display title.
Returns the type of this testable code.
Returns the whitelist, i.e., the absolute paths to the files that should be included in the code coverage report.
Tx_Phpunit_Testable::setBlacklist | ( | array $ | files | ) |
Sets the blacklist, i.e., the absolute paths to the files that should be excluded from the code coverage report.
array<string> | $files the absolute paths to the blacklisted files, may be empty |
Tx_Phpunit_Testable::setCodePath | ( | $ | codePath | ) |
Sets the code path.
This is the absolute path of the code that is tested.
string | $codePath | the code path, must not be empty |
Tx_Phpunit_Testable::setIconPath | ( | $ | iconPath | ) |
Sets the relative path to the icon associated with this testable code.
string | $iconPath | the icon path, must not be empty |
Tx_Phpunit_Testable::setKey | ( | $ | key | ) |
Sets the key.
The key is intended to be used e.g., for drop-downs.
For extensions, this must be the extension key. For the TYPO3 core, this must be "typo3". For out-of-line tests, this must be full path to the tested code.
string | $key | the key, must not be empty |
Tx_Phpunit_Testable::setTestsPath | ( | $ | testsPath | ) |
Sets the tests path.
This is the absolute path of the unit tests. Usually, this path is located within the code path.
string | $testsPath | the tests path, must not be empty |
Tx_Phpunit_Testable::setTitle | ( | $ | title | ) |
Sets the display title.
string | $title | the title, may be empty |
Tx_Phpunit_Testable::setType | ( | $ | type | ) |
Sets the type of this testable code.
integer | $type | the type, must be either TYPE_EXTENSION or TYPE_CORE |
Tx_Phpunit_Testable::setWhitelist | ( | array $ | files | ) |
Sets the whitelist, i.e., the absolute paths to the files that should be included in the code coverage report.
array<string> | $files the absolute paths to the whitelisted files, may be empty |