1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace OPCache; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2015-03-12 at 16:17:57. |
7
|
|
|
*/ |
8
|
|
View Code Duplication |
class OPCacheConfigurationTest extends \PHPUnit_Framework_TestCase |
|
|
|
|
9
|
|
|
{ |
10
|
|
|
/** |
11
|
|
|
* @var OPCacheConfiguration |
12
|
|
|
*/ |
13
|
|
|
protected $object; |
14
|
|
|
|
15
|
|
|
/** |
16
|
|
|
* Sets up the fixture, for example, opens a network connection. |
17
|
|
|
* This method is called before a test is executed. |
18
|
|
|
*/ |
19
|
|
|
protected function setUp() |
20
|
|
|
{ |
21
|
|
|
} |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* Tears down the fixture, for example, closes a network connection. |
25
|
|
|
* This method is called after a test is executed. |
26
|
|
|
*/ |
27
|
|
|
protected function tearDown() |
28
|
|
|
{ |
29
|
|
|
} |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* @covers OPCacheConfiguration::getDirectives |
33
|
|
|
* @todo Implement testGetDirectives(). |
34
|
|
|
*/ |
35
|
|
|
public function testGetDirectives() |
36
|
|
|
{ |
37
|
|
|
// Remove the following lines when you implement this test. |
38
|
|
|
$this->markTestIncomplete( |
39
|
|
|
'This test has not been implemented yet.' |
40
|
|
|
); |
41
|
|
|
} |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* @covers OPCacheConfiguration::getDirective |
45
|
|
|
* @todo Implement testGetDirective(). |
46
|
|
|
*/ |
47
|
|
|
public function testGetDirective() |
48
|
|
|
{ |
49
|
|
|
// Remove the following lines when you implement this test. |
50
|
|
|
$this->markTestIncomplete( |
51
|
|
|
'This test has not been implemented yet.' |
52
|
|
|
); |
53
|
|
|
} |
54
|
|
|
|
55
|
|
|
/** |
56
|
|
|
* @covers OPCacheConfiguration::getDirectiveKeys |
57
|
|
|
* @todo Implement testGetDirectiveKeys(). |
58
|
|
|
*/ |
59
|
|
|
public function testGetDirectiveKeys() |
60
|
|
|
{ |
61
|
|
|
// Remove the following lines when you implement this test. |
62
|
|
|
$this->markTestIncomplete( |
63
|
|
|
'This test has not been implemented yet.' |
64
|
|
|
); |
65
|
|
|
} |
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @covers OPCacheConfiguration::getBlacklist |
69
|
|
|
* @todo Implement testGetBlacklist(). |
70
|
|
|
*/ |
71
|
|
|
public function testGetBlacklist() |
72
|
|
|
{ |
73
|
|
|
// Remove the following lines when you implement this test. |
74
|
|
|
$this->markTestIncomplete( |
75
|
|
|
'This test has not been implemented yet.' |
76
|
|
|
); |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @covers OPCacheConfiguration::getVersion |
81
|
|
|
* @todo Implement testGetVersion(). |
82
|
|
|
*/ |
83
|
|
|
public function testGetVersion() |
84
|
|
|
{ |
85
|
|
|
// Remove the following lines when you implement this test. |
86
|
|
|
$this->markTestIncomplete( |
87
|
|
|
'This test has not been implemented yet.' |
88
|
|
|
); |
89
|
|
|
} |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* @covers OPCacheConfiguration::checkDirectives |
93
|
|
|
* @todo Implement testCheckDirectives(). |
94
|
|
|
*/ |
95
|
|
|
public function testCheckDirectives() |
96
|
|
|
{ |
97
|
|
|
// Remove the following lines when you implement this test. |
98
|
|
|
$this->markTestIncomplete( |
99
|
|
|
'This test has not been implemented yet.' |
100
|
|
|
); |
101
|
|
|
} |
102
|
|
|
} |
103
|
|
|
|
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.