Test Failed
Push — master ( c5b8d7...35e052 )
by Adam
01:59
created

CacheTest   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 8
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 36
rs 10

7 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 7 2
A tearDown() 0 3 1
A testCacheAdd() 0 3 1
A testCacheRetrieve() 0 3 1
A testCacheOverride() 0 3 1
A testCacheDelete() 0 3 1
A testCacheClear() 0 3 1
1
<?php
2
namespace DBAL\Tests\Caching;
3
4
use DBAL\Database;
5
use PHPUnit\Framework\TestCase;
6
7
abstract class CacheTest extends TestCase{
0 ignored issues
show
Coding Style introduced by
CacheTest does not seem to conform to the naming convention (^Abstract|Factory$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
8
    
9
    private $cache;
10
    
11
    public function setUp() {
12
        if(!extension_loaded('apc')) {
13
            $this->markTestSkipped(
14
                'The APC extension is not available.'
15
            );
16
        }
17
    }
18
    
19
    public function tearDown() {
20
        unset($this->cache);
21
    }
22
    
23
    public function testCacheAdd(){
24
        
25
    }
26
    
27
    public function testCacheRetrieve(){
28
        
29
    }
30
    
31
    public function testCacheOverride(){
32
        
33
    }
34
    
35
    public function testCacheDelete(){
36
        
37
    }
38
    
39
    public function testCacheClear(){
40
        
41
    }
42
}
43