class ZendDataCacheTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/ZendDataCacheTest.php \Doctrine\Tests\Common\Cache\ZendDataCacheTest
Hierarchy
- class \Doctrine\Tests\Common\Cache\CacheTest extends \Doctrine\Tests\DoctrineTestCase
- class \Doctrine\Tests\Common\Cache\ZendDataCacheTest
Expanded class hierarchy of ZendDataCacheTest
File
- vendor/
doctrine/ cache/ tests/ Doctrine/ Tests/ Common/ Cache/ ZendDataCacheTest.php, line 7
Namespace
Doctrine\Tests\Common\CacheView source
class ZendDataCacheTest extends CacheTest {
public function setUp() {
if (!function_exists('zend_shm_cache_fetch') || php_sapi_name() != 'apache2handler') {
$this
->markTestSkipped('The ' . __CLASS__ . ' requires the use of Zend Data Cache which only works in apache2handler SAPI');
}
}
public function testGetStats() {
$cache = $this
->_getCacheDriver();
$stats = $cache
->getStats();
$this
->assertNull($stats);
}
protected function _getCacheDriver() {
return new ZendDataCache();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheTest:: |
public | function | The following values get converted to FALSE if you cast them to a boolean. | |
CacheTest:: |
protected | function | Return whether multiple cache providers share the same storage. | 3 |
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | @dataProvider provideCrudValues | |
CacheTest:: |
public | function | Check to see that objects are correctly serialized and unserialized by the cache provider. | 1 |
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | Check to see that, even if the user saves a value that can be interpreted as false, the cache adapter will still recognize its existence there. | 2 |
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | Check to see that objects fetched via fetchMultiple are properly unserialized | 1 |
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | ||
CacheTest:: |
public | function | ||
ZendDataCacheTest:: |
public | function | ||
ZendDataCacheTest:: |
public | function |
@group DCOM-43 Overrides CacheTest:: |
|
ZendDataCacheTest:: |
protected | function |
Overrides CacheTest:: |