]> git.mxchange.org Git - friendica-addons.git/blobdiff - dav/SabreDAV/tests/Sabre/DAV/Locks/Backend/FSTest.php
Initial Release of the calendar plugin
[friendica-addons.git] / dav / SabreDAV / tests / Sabre / DAV / Locks / Backend / FSTest.php
diff --git a/dav/SabreDAV/tests/Sabre/DAV/Locks/Backend/FSTest.php b/dav/SabreDAV/tests/Sabre/DAV/Locks/Backend/FSTest.php
new file mode 100644 (file)
index 0000000..ddf4f50
--- /dev/null
@@ -0,0 +1,29 @@
+<?php
+
+require_once 'Sabre/TestUtil.php';
+
+class Sabre_DAV_Locks_Backend_FSTest extends Sabre_DAV_Locks_Backend_AbstractTest {
+
+    function getBackend() {
+
+        Sabre_TestUtil::clearTempDir();
+        mkdir(SABRE_TEMPDIR . '/locks');
+        $backend = new Sabre_DAV_Locks_Backend_FS(SABRE_TEMPDIR . '/locks/');
+        return $backend;
+
+    }
+
+    function tearDown() {
+
+        Sabre_TestUtil::clearTempDir();
+
+    }
+
+    function testGetLocksChildren() {
+
+        // We're skipping this test. This doesn't work, and it will
+        // never. The class is deprecated anyway.
+
+    }
+
+}