Completed
Push — master ( a8b991...dda2b8 )
by Marco
06:05 queued 02:56
created

ApcuCacheTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A _getCacheDriver() 0 4 1
A testLifetime() 0 4 1
1
<?php
2
3
namespace Doctrine\Tests\Common\Cache;
4
5
use Doctrine\Common\Cache\ApcuCache;
6
7
/**
8
 * @requires extension apcu
9
 */
10
class ApcuCacheTest extends CacheTest
11
{
12
    protected function _getCacheDriver()
13
    {
14
        return new ApcuCache();
15
    }
16
17
    public function testLifetime()
18
    {
19
        $this->markTestSkipped('The APC cache TTL is not working in a single process/request. See https://bugs.php.net/bug.php?id=58084');
20
    }
21
}
22