1 | <?php |
||
9 | class OPCacheTest extends \PHPUnit_Framework_TestCase |
||
10 | { |
||
11 | |||
12 | protected $backupGlobals = FALSE; |
||
13 | /** |
||
14 | * @var OPCache |
||
15 | */ |
||
16 | protected $object; |
||
17 | |||
18 | /** |
||
19 | * Sets up the fixture, for example, opens a network connection. |
||
20 | * This method is called before a test is executed. |
||
21 | */ |
||
22 | protected function setUp() |
||
27 | |||
28 | /** |
||
29 | * Tears down the fixture, for example, closes a network connection. |
||
30 | * This method is called after a test is executed. |
||
31 | */ |
||
32 | protected function tearDown() |
||
35 | |||
36 | /** |
||
37 | * @covers OPCache\OPCache::cacheClear |
||
38 | * @todo Implement testCacheClear(). |
||
39 | */ |
||
40 | public function testCacheClear() |
||
45 | |||
46 | /** |
||
47 | * @covers OPCache::drushInvalidate |
||
48 | * @todo Implement testDrushInvalidate(). |
||
49 | */ |
||
50 | public function testDrushInvalidate() |
||
57 | |||
58 | /** |
||
59 | * @covers OPCache::drushReset |
||
60 | * @todo Implement testDrushReset(). |
||
61 | */ |
||
62 | public function testDrushReset() |
||
69 | |||
70 | /** |
||
71 | * @covers OPCache::drushStatus |
||
72 | * @todo Implement testDrushStatus(). |
||
73 | */ |
||
74 | public function testDrushStatus() |
||
81 | |||
82 | /** |
||
83 | * @covers OPCache::getToken |
||
84 | * @todo Implement testGetToken(). |
||
85 | */ |
||
86 | public function testGetToken() |
||
93 | |||
94 | /** |
||
95 | * @covers OPCache::isEnabled |
||
96 | * @todo Implement testIsEnabled(). |
||
97 | */ |
||
98 | public function testIsEnabled() |
||
105 | |||
106 | /** |
||
107 | * @covers OPCache::invalidate |
||
108 | * @todo Implement testInvalidate(). |
||
109 | */ |
||
110 | public function testInvalidate() |
||
117 | |||
118 | /** |
||
119 | * @covers OPCache::reset |
||
120 | * @todo Implement testReset(). |
||
121 | */ |
||
122 | public function testReset() |
||
129 | |||
130 | /** |
||
131 | * @covers OPCache::status |
||
132 | * @todo Implement testStatus(). |
||
133 | */ |
||
134 | public function testStatus() |
||
141 | |||
142 | /** |
||
143 | * @covers OPCache::verifyToken |
||
144 | * @todo Implement testVerifyToken(). |
||
145 | */ |
||
146 | public function testVerifyToken() |
||
153 | } |
||
154 |