![]() |
TYPO3
7.6
|
Public Member Functions | |
bootstrapSystem () | |
Protected Member Functions | |
enableDisplayErrors () | |
loadClassFiles () | |
createNecessaryDirectoriesInDocumentRoot () | |
createDirectory ($directory) | |
getWebRoot () | |
This file is defined in FunctionalTests.xml and called by phpunit before instantiating the test suites, it must also be included with phpunit parameter –bootstrap if executing single test case classes.
Definition at line 24 of file FunctionalTestsBootstrap.php.
bootstrapSystem | ( | ) |
Bootstraps the system for unit tests.
Definition at line 31 of file FunctionalTestsBootstrap.php.
References FunctionalTestsBootstrap\enableDisplayErrors().
|
protected |
Creates the directory $directory (recursively if required).
If $directory already exists, this method is a no-op.
string | $directory | absolute path of the directory to be created |
\RuntimeException |
Definition at line 113 of file FunctionalTestsBootstrap.php.
Referenced by FunctionalTestsBootstrap\createNecessaryDirectoriesInDocumentRoot().
|
protected |
Creates the following directories in the TYPO3 core:
Definition at line 97 of file FunctionalTestsBootstrap.php.
References FunctionalTestsBootstrap\createDirectory().
|
protected |
Makes sure error messages during the tests get displayed no matter what is set in php.ini.
Definition at line 44 of file FunctionalTestsBootstrap.php.
Referenced by FunctionalTestsBootstrap\bootstrapSystem().
|
protected |
Returns the absolute path the TYPO3 document root.
Definition at line 130 of file FunctionalTestsBootstrap.php.
|
protected |
Requires classes the functional test classes extend from or use for further bootstrap. Only files required for "new TestCaseClass" are required here and a general exception that is thrown by setUp() code.
Definition at line 57 of file FunctionalTestsBootstrap.php.