Definition at line 5 of file SimpleFileTest.php.
◆ testAll()
Sabre\DAV\SimpleFileTest::testAll |
( |
| ) |
|
Definition at line 7 of file SimpleFileTest.php.
9 $file =
new SimpleFile(
'filename.txt',
'contents',
'text/plain');
11 $this->assertEquals(
'filename.txt', $file->getName());
12 $this->assertEquals(
'contents', $file->get());
13 $this->assertEquals(8, $file->getSize());
14 $this->assertEquals(
'"' . sha1(
'contents') .
'"', $file->getETag());
15 $this->assertEquals(
'text/plain', $file->getContentType());
The documentation for this class was generated from the following file: