소스 검색

Fix unit tests

tags/v9.1.0beta1
Roeland Jago Douma 8 년 전
부모
커밋
54b637e83c
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 15개의 파일을 삭제
  1. 1
    15
      tests/lib/AutoLoaderTest.php

+ 1
- 15
tests/lib/AutoLoaderTest.php 파일 보기

@@ -19,18 +19,6 @@ class AutoLoaderTest extends TestCase {
$this->loader = new \OC\AutoLoader([]);
}

public function testLeadingSlashOnClassName() {
$this->assertEquals([
\OC::$SERVERROOT . '/lib/public/files/storage/local.php',
], $this->loader->findClass('\OCP\Files\Storage\Local'));
}

public function testNoLeadingSlashOnClassName() {
$this->assertEquals([
\OC::$SERVERROOT . '/lib/public/files/storage/local.php',
], $this->loader->findClass('OCP\Files\Storage\Local'));
}

public function testLegacyPath() {
$this->assertEquals([
\OC::$SERVERROOT . '/lib/private/legacy/files.php',
@@ -50,9 +38,7 @@ class AutoLoaderTest extends TestCase {
}

public function testLoadPublicNamespace() {
$this->assertEquals([
\OC::$SERVERROOT . '/lib/public/foo/bar.php',
], $this->loader->findClass('OCP\Foo\Bar'));
$this->assertEquals([], $this->loader->findClass('OCP\Foo\Bar'));
}

public function testLoadAppNamespace() {

Loading…
취소
저장