ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
FileTest.php
Go to the documentation of this file.
1<?php
2
4
5require_once 'Sabre/TestUtil.php';
6
7class FileTest extends AbstractTest {
8
9 function getBackend() {
10
12 $backend = new File(SABRE_TEMPDIR . '/lockdb');
13 return $backend;
14
15 }
16
17
18 function tearDown() {
19
21
22 }
23
24}
An exception for terminatinating execution or to throw for unit testing.
File class.
Definition: File.php:15
static clearTempDir()
This function deletes all the contents of the temporary directory.
Definition: TestUtil.php:12