class CacheSavingTest in MongoDB 7
Cache saving test: Check our variables are saved and restored the right way.
@package Drupal\mongodb_cache
@group MongoDB: Cache
Hierarchy
- class \Drupal\mongodb_cache\Tests\CacheSavingTest extends \Drupal\mongodb_cache\Tests\CacheSavingCase uses CacheTestTrait
Expanded class hierarchy of CacheSavingTest
File
- mongodb_cache/
src/ Tests/ CacheSavingTest.php, line 12
Namespace
Drupal\mongodb_cache\TestsView source
class CacheSavingTest extends \CacheSavingCase {
use CacheTestTrait;
/**
* {@inheritdoc}
*/
public function setUp() {
drupal_flush_all_caches();
parent::setUp();
}
/**
* {@inheritdoc}
*/
public function tearDown() {
drupal_flush_all_caches();
parent::tearDown();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheSavingTest:: |
public | function | ||
CacheSavingTest:: |
public | function | ||
CacheTestTrait:: |
public static | function | Declare the test to Simpletest. |