1 | <?php // phpcs:ignore WordPress.Files.FileName |
||
13 | class WP_Test_Autoloader_Locator extends TestCase { |
||
14 | |||
15 | /** |
||
16 | * The locator we are testing. |
||
17 | * |
||
18 | * @var Autoloader_Locator |
||
19 | */ |
||
20 | private $autoloader_locator; |
||
21 | |||
22 | /** |
||
23 | * Setup executes before each test. |
||
24 | */ |
||
25 | public function setUp() { |
||
30 | |||
31 | /** |
||
32 | * Tests the locator to find the latest version of the autoloader. |
||
33 | */ |
||
34 | public function test_finds_latest_autoloader() { |
||
59 | |||
60 | /** |
||
61 | * Tests that the locator can find the path to the autoloader file. |
||
62 | */ |
||
63 | public function test_gets_autoloader_path() { |
||
67 | |||
68 | /** |
||
69 | * Tests that the locator returns null when no version could be found. |
||
70 | */ |
||
71 | public function test_gets_autoloader_version_as_null_without_class() { |
||
76 | |||
77 | /** |
||
78 | * Tests that the locator can find the version.. |
||
79 | */ |
||
80 | public function test_gets_autoloader_version() { |
||
85 | } |
||
86 |