Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
startTestSuite () | |
endTestSuite (\PHPUnit\Framework\TestSuite $suite) | |
Static Public Member Functions | |
static | restoreStaticVariables () |
static | backupStaticVariables () |
Static Protected Member Functions | |
static | _isClassCleanable (\ReflectionClass $reflectionClass) |
static | _isClassInCleanableFolders ($classFile) |
Static Protected Attributes | |
static | $_cleanableFolders |
static | $backupStaticVariables = [] |
static | $_classesToSkip |
static | $classes = [] |
Definition at line 15 of file StaticProperties.php.
|
staticprotected |
Check whether it is allowed to clean given class static variables
\ReflectionClass | $reflectionClass |
Definition at line 71 of file StaticProperties.php.
|
staticprotected |
Check if class has to be backed up
string | $classFile |
Definition at line 92 of file StaticProperties.php.
|
static |
Backup static variables
Definition at line 146 of file StaticProperties.php.
endTestSuite | ( | \PHPUnit\Framework\TestSuite | $suite | ) |
Handler for 'endTestSuite' event
\PHPUnit\Framework\TestSuite | $suite |
Definition at line 208 of file StaticProperties.php.
|
static |
Restore static variables (after running controller test case) @TODO: refactor all code where objects are stored to static variables to use object manager instead
Definition at line 130 of file StaticProperties.php.
startTestSuite | ( | ) |
Handler for 'startTestSuite' event
Definition at line 196 of file StaticProperties.php.
|
staticprotected |
Definition at line 35 of file StaticProperties.php.
|
staticprotected |
Definition at line 24 of file StaticProperties.php.
|
staticprotected |
Definition at line 28 of file StaticProperties.php.
|
staticprotected |
Definition at line 112 of file StaticProperties.php.