1 | <?php |
||
8 | class AutoloaderTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
12 | */ |
||
13 | public function testConstructCorrectInstance() |
||
19 | |||
20 | /** |
||
21 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
22 | * @covers OpCacheGUI\Core\Autoloader::register |
||
23 | */ |
||
24 | public function testRegister() |
||
30 | |||
31 | /** |
||
32 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
33 | * @covers OpCacheGUI\Core\Autoloader::register |
||
34 | * @covers OpCacheGUI\Core\Autoloader::unregister |
||
35 | */ |
||
36 | public function testUnregister() |
||
43 | |||
44 | /** |
||
45 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
46 | * @covers OpCacheGUI\Core\Autoloader::register |
||
47 | * @covers OpCacheGUI\Core\Autoloader::load |
||
48 | */ |
||
49 | public function testLoadSuccess() |
||
62 | |||
63 | /** |
||
64 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
65 | * @covers OpCacheGUI\Core\Autoloader::register |
||
66 | * @covers OpCacheGUI\Core\Autoloader::load |
||
67 | */ |
||
68 | public function testLoadSuccessExtraSlashedNamespace() |
||
81 | |||
82 | /** |
||
83 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
84 | * @covers OpCacheGUI\Core\Autoloader::register |
||
85 | * @covers OpCacheGUI\Core\Autoloader::load |
||
86 | */ |
||
87 | public function testLoadSuccessExtraForwardSlashedPath() |
||
100 | |||
101 | /** |
||
102 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
103 | * @covers OpCacheGUI\Core\Autoloader::register |
||
104 | * @covers OpCacheGUI\Core\Autoloader::load |
||
105 | */ |
||
106 | public function testLoadSuccessExtraBackwardSlashedPath() |
||
119 | |||
120 | /** |
||
121 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
122 | * @covers OpCacheGUI\Core\Autoloader::register |
||
123 | * @covers OpCacheGUI\Core\Autoloader::load |
||
124 | */ |
||
125 | public function testLoadSuccessExtraMixedSlashedPath() |
||
138 | |||
139 | /** |
||
140 | * @covers OpCacheGUI\Core\Autoloader::__construct |
||
141 | * @covers OpCacheGUI\Core\Autoloader::register |
||
142 | * @covers OpCacheGUI\Core\Autoloader::load |
||
143 | */ |
||
144 | public function testLoadUnknownClass() |
||
155 | } |
||
156 |