ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
DirectoryTest.php
Go to the documentation of this file.
1<?php
2
3namespace Sabre\DAV\FSExt;
4
6
7 function create() {
8
9 return new Directory(SABRE_TEMPDIR);
10
11 }
12
13 function testCreate() {
14
15 $dir = $this->create();
16 $this->assertEquals(basename(SABRE_TEMPDIR), $dir->getName());
17
18 }
19
23 function testChildExistDot() {
24
25 $dir = $this->create();
26 $dir->childExists('..');
27
28 }
29
30}
An exception for terminatinating execution or to throw for unit testing.
testChildExistDot()
@expectedException \Sabre\DAV\Exception\Forbidden
Directory class.
Definition: Directory.php:15