예제 #1
0
파일: autoloader.php 프로젝트: Romua1d/core
 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]);
 }
예제 #2
0
파일: autoloader.php 프로젝트: evanjt/core
 public function testLoadCoreNamespaceRepair()
 {
     $this->assertEquals([\OC::$SERVERROOT . '/lib/repair/foo/bar.php'], $this->loader->findClass('OC\\Repair\\Foo\\Bar'));
 }
예제 #3
0
 public function testLoadCoreNamespaceSettings()
 {
     $this->assertEquals([], $this->loader->findClass('OC\\Settings\\Foo\\Bar'));
 }