public function testLoadAppNamespace() { $result = $this->loader->findClass('OCA\\Files\\Foobar'); $this->assertEquals(2, count($result)); $this->assertStringEndsWith('apps/files/foobar.php', $result[0]); $this->assertStringEndsWith('apps/files/lib/foobar.php', $result[1]); }
public function testLoadCoreNamespaceRepair() { $this->assertEquals([\OC::$SERVERROOT . '/lib/repair/foo/bar.php'], $this->loader->findClass('OC\\Repair\\Foo\\Bar')); }
public function testLoadCoreNamespaceSettings() { $this->assertEquals([], $this->loader->findClass('OC\\Settings\\Foo\\Bar')); }