1 | <?php |
||
7 | class AutoLoaderTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | /** |
||
10 | * @covers OAuth\Common\AutoLoader::__construct |
||
11 | * @covers OAuth\Common\AutoLoader::register |
||
12 | */ |
||
13 | public function testRegister() |
||
19 | |||
20 | /** |
||
21 | * @covers OAuth\Common\AutoLoader::__construct |
||
22 | * @covers OAuth\Common\AutoLoader::register |
||
23 | * @covers OAuth\Common\AutoLoader::unregister |
||
24 | */ |
||
25 | public function testUnregister() |
||
32 | |||
33 | /** |
||
34 | * @covers OAuth\Common\AutoLoader::__construct |
||
35 | * @covers OAuth\Common\AutoLoader::register |
||
36 | * @covers OAuth\Common\AutoLoader::load |
||
37 | */ |
||
38 | public function testLoadSuccess() |
||
48 | |||
49 | /** |
||
50 | * @covers OAuth\Common\AutoLoader::__construct |
||
51 | * @covers OAuth\Common\AutoLoader::register |
||
52 | * @covers OAuth\Common\AutoLoader::load |
||
53 | */ |
||
54 | public function testLoadSuccessExtraSlashedNamespace() |
||
64 | |||
65 | /** |
||
66 | * @covers OAuth\Common\AutoLoader::__construct |
||
67 | * @covers OAuth\Common\AutoLoader::register |
||
68 | * @covers OAuth\Common\AutoLoader::load |
||
69 | */ |
||
70 | public function testLoadSuccessExtraForwardSlashedPath() |
||
80 | |||
81 | /** |
||
82 | * @covers OAuth\Common\AutoLoader::__construct |
||
83 | * @covers OAuth\Common\AutoLoader::register |
||
84 | * @covers OAuth\Common\AutoLoader::load |
||
85 | */ |
||
86 | public function testLoadSuccessExtraBackwardSlashedPath() |
||
96 | |||
97 | /** |
||
98 | * @covers OAuth\Common\AutoLoader::__construct |
||
99 | * @covers OAuth\Common\AutoLoader::register |
||
100 | * @covers OAuth\Common\AutoLoader::load |
||
101 | */ |
||
102 | public function testLoadSuccessExtraMixedSlashedPath() |
||
112 | |||
113 | /** |
||
114 | * @covers OAuth\Common\AutoLoader::__construct |
||
115 | * @covers OAuth\Common\AutoLoader::register |
||
116 | * @covers OAuth\Common\AutoLoader::load |
||
117 | */ |
||
118 | public function testLoadUnknownClass() |
||
126 | } |
||
127 |