class MTimeProtectedFileStorageTest
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageTest
Tests the MTimeProtectedFileStorage implementation.
@coversDefaultClass \Drupal\Component\PhpStorage\MTimeProtectedFileStorage
@group Drupal @group PhpStorage
Hierarchy
- class \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase implements \PHPUnit\Framework\TestCase
- class \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase implements \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase
- class \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageTest implements \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase
- class \Drupal\Tests\Component\PhpStorage\MTimeProtectedFileStorageBase implements \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase
Expanded class hierarchy of MTimeProtectedFileStorageTest
File
-
core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ MTimeProtectedFileStorageTest.php, line 13
Namespace
Drupal\Tests\Component\PhpStorageView source
class MTimeProtectedFileStorageTest extends MTimeProtectedFileStorageBase {
/**
* The expected test results for the security test.
*
* The default implementation protects against even the filemtime change so
* both iterations will return FALSE.
*/
protected $expected = [
FALSE,
FALSE,
];
/**
* The PHP storage class to test.
*/
protected $storageClass = 'Drupal\\Component\\PhpStorage\\MTimeProtectedFileStorage';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.