|
| startTest (\PHPUnit\Framework\TestCase $test) |
|
| endTest (\PHPUnit\Framework\TestCase $test) |
|
Implementation of the @magentoCache DocBlock annotation
Definition at line 14 of file Cache.php.
◆ endTest()
endTest |
( |
\PHPUnit\Framework\TestCase |
$test | ) |
|
Handler for 'endTest' event
- Parameters
-
\PHPUnit\Framework\TestCase | $test | |
- Returns
- void
Definition at line 48 of file Cache.php.
50 if ($this->origValues) {
51 $this->setValues($this->origValues, $test);
52 $this->origValues = [];
◆ startTest()
startTest |
( |
\PHPUnit\Framework\TestCase |
$test | ) |
|
Handler for 'startTest' event
- Parameters
-
\PHPUnit\Framework\TestCase | $test | |
- Returns
- void
Definition at line 29 of file Cache.php.
31 $source = $test->getAnnotations();
32 if (isset(
$source[
'method'][
'magentoCache'])) {
33 $annotations =
$source[
'method'][
'magentoCache'];
35 $annotations =
$source[
'class'][
'magentoCache'];
39 $this->setValues($this->parseValues($annotations, $test), $test);
elseif(isset( $params[ 'redirect_parent']))
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/framework/Magento/TestFramework/Annotation/Cache.php