20 '{http://calendarserver.org/ns/}getctag',
24 $propFind->set(
$name, $value);
28 $this->assertEquals(
"hello", $propFind->get(
'{http://calendarserver.org/ns/}getctag'));
43 $this->server->tree =
new Tree(
45 new Mock\PropertiesCollection(
53 '{http://calendarserver.org/ns/}getctag',
57 $corePlugin = $this->server->getPlugin(
'core');
60 $this->assertEquals(
"hello", $propFind->get(
'{http://calendarserver.org/ns/}getctag'));
66 $this->server->tree =
new Tree(
68 new Mock\PropertiesCollection(
77 '{http://calendarserver.org/ns/}getctag',
80 $corePlugin = $this->server->getPlugin(
'core');
83 $this->assertNull($propFind->get(
'{http://calendarserver.org/ns/}getctag'));
91 '{http://sabredav.org/ns}sync-token',
This class holds all the information about a PROPFIND request.
testAlreadyThere1($name, $value)
The assumption in these tests is that a PROPFIND is going on, and to fetch the sync-token, the event handler is just able to use the existing result.
This class may be used as a basis for other webdav-related unittests.
The core plugin provides all the basic features for a WebDAV server.
testRefetch($name, $value)
In these test-cases, the plugin is forced to do a local propfind to fetch the items.
The tree object is responsible for basic tree operations.