Webdav Schnittstelle für DMS - Erstversion

This commit is contained in:
Andreas Österreicher
2012-03-12 14:36:53 +00:00
parent ded8485d69
commit 1ac791563c
319 changed files with 41687 additions and 6 deletions
@@ -0,0 +1,19 @@
<?php
class Sabre_DAV_SimpleFileTest extends PHPUnit_Framework_TestCAse {
function testAll() {
$file = new Sabre_DAV_SimpleFile('filename.txt','contents','text/plain');
$this->assertEquals('filename.txt', $file->getName());
$this->assertEquals('contents', $file->get());
$this->assertEquals('8', $file->getSize());
$this->assertEquals('"' . md5('contents') . '"', $file->getETag());
$this->assertEquals('text/plain', $file->getContentType());
}
}
?>