|
const | ALL_EXTENSIONS = 'uuall' |
|
|
| $key = '' |
|
| $title = '' |
|
| $codePath = '' |
|
| $testsPath = '' |
|
| $blacklist = array() |
|
| $whitelist = array() |
|
| $iconPath = '' |
|
Tx_Phpunit_Testable::getBlacklist |
( |
| ) |
|
Returns the blacklist, i.e., the absolute paths to the files that should be excluded from the code coverage report.
- Returns
- string[] the absolute paths to the blacklisted files, might be empty
Tx_Phpunit_Testable::getCodePath |
( |
| ) |
|
Returns the code path.
This is the absolute path of the code that is tested.
- Returns
- string the code path, will not be empty
Tx_Phpunit_Testable::getIconPath |
( |
| ) |
|
Returns the relative path to the icon associated with this testable code.
- Returns
- string the relative icon path, will not be empty
Tx_Phpunit_Testable::getKey |
( |
| ) |
|
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
- string the key, will not be empty
Tx_Phpunit_Testable::getTestsPath |
( |
| ) |
|
Returns the tests path.
This is the absolute path of the unit tests. Usually, this path is located within the code path.
- Returns
- string the tests path, will not be empty
Tx_Phpunit_Testable::getTitle |
( |
| ) |
|
Returns the display title.
- Returns
- string the title, might be empty
Tx_Phpunit_Testable::getWhitelist |
( |
| ) |
|
Returns the whitelist, i.e., the absolute paths to the files that should be included in the code coverage report.
- Returns
- string[] the absolute paths to the whitelisted files, might be empty
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.
- Parameters
-
string[] | $files the absolute paths to the blacklisted files, may be empty |
- Returns
- void
Tx_Phpunit_Testable::setCodePath |
( |
|
$codePath | ) |
|
Sets the code path.
This is the absolute path of the code that is tested.
- Parameters
-
string | $codePath | the code path, must not be empty |
- Returns
- void
- Exceptions
-
Tx_Phpunit_Testable::setIconPath |
( |
|
$iconPath | ) |
|
Sets the relative path to the icon associated with this testable code.
- Parameters
-
string | $iconPath | the icon path, must not be empty |
- Returns
- void
- Exceptions
-
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.
- Parameters
-
string | $key | the key, must not be empty |
- Returns
- void
- Exceptions
-
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.
- Parameters
-
string | $testsPath | the tests path, must not be empty |
- Returns
- void
- Exceptions
-
Tx_Phpunit_Testable::setTitle |
( |
|
$title | ) |
|
Sets the display title.
- Parameters
-
string | $title | the title, may be empty |
- Returns
- void
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.
- Parameters
-
string[] | $files the absolute paths to the whitelisted files, may be empty |
- Returns
- void
The documentation for this class was generated from the following file: