Definition at line 7 of file AddressBookHomeTest.php.
◆ setUp()
Sabre\CardDAV\AddressBookHomeTest::setUp |
( |
| ) |
|
◆ testACLMethods()
Sabre\CardDAV\AddressBookHomeTest::testACLMethods |
( |
| ) |
|
Definition at line 129 of file AddressBookHomeTest.php.
131 $this->assertEquals(
'principals/user1', $this->
s->getOwner());
132 $this->assertNull($this->
s->getGroup());
133 $this->assertEquals([
135 'privilege' =>
'{DAV:}all',
136 'principal' =>
'{DAV:}owner',
139 ], $this->
s->getACL());
◆ testCreateDirectory()
Sabre\CardDAV\AddressBookHomeTest::testCreateDirectory |
( |
| ) |
|
◆ testCreateExtendedCollection()
Sabre\CardDAV\AddressBookHomeTest::testCreateExtendedCollection |
( |
| ) |
|
Definition at line 99 of file AddressBookHomeTest.php.
References Sabre\CardDAV\Plugin\NS_CARDDAV.
105 $this->
s->createExtendedCollection(
'book2',
new MkCol($resourceType, [
'{DAV:}displayname' =>
'a-book 2']));
107 $this->assertEquals([
110 '{DAV:}displayname' =>
'a-book 2',
111 'principaluri' =>
'principals/user1',
112 ], $this->backend->addressBooks[2]);
const NS_CARDDAV
xml namespace for CardDAV elements
◆ testCreateExtendedCollectionInvalid()
Sabre\CardDAV\AddressBookHomeTest::testCreateExtendedCollectionInvalid |
( |
| ) |
|
Sabre
Definition at line 119 of file AddressBookHomeTest.php.
124 $this->
s->createExtendedCollection(
'book2',
new MkCol($resourceType, [
'{DAV:}displayname' =>
'a-book 2']));
◆ testCreateFile()
Sabre\CardDAV\AddressBookHomeTest::testCreateFile |
( |
| ) |
|
◆ testDelete()
Sabre\CardDAV\AddressBookHomeTest::testDelete |
( |
| ) |
|
◆ testGetChild()
Sabre\CardDAV\AddressBookHomeTest::testGetChild |
( |
| ) |
|
Definition at line 73 of file AddressBookHomeTest.php.
75 $child = $this->
s->getChild(
'book1');
76 $this->assertInstanceOf(
'Sabre\\CardDAV\\AddressBook', $child);
77 $this->assertEquals(
'book1', $child->getName());
◆ testGetChild404()
Sabre\CardDAV\AddressBookHomeTest::testGetChild404 |
( |
| ) |
|
◆ testGetChildren()
Sabre\CardDAV\AddressBookHomeTest::testGetChildren |
( |
| ) |
|
Definition at line 90 of file AddressBookHomeTest.php.
92 $children = $this->
s->getChildren();
93 $this->assertEquals(2, count($children));
94 $this->assertInstanceOf(
'Sabre\\CardDAV\\AddressBook', $children[0]);
95 $this->assertEquals(
'book1', $children[0]->getName());
◆ testGetLastModified()
Sabre\CardDAV\AddressBookHomeTest::testGetLastModified |
( |
| ) |
|
◆ testGetName()
Sabre\CardDAV\AddressBookHomeTest::testGetName |
( |
| ) |
|
◆ testGetSupportedPrivilegeSet()
Sabre\CardDAV\AddressBookHomeTest::testGetSupportedPrivilegeSet |
( |
| ) |
|
◆ testSetACL()
Sabre\CardDAV\AddressBookHomeTest::testSetACL |
( |
| ) |
|
◆ testSetName()
Sabre\CardDAV\AddressBookHomeTest::testSetName |
( |
| ) |
|
◆ $backend
Sabre\CardDAV\AddressBookHomeTest::$backend |
|
protected |
◆ $s
Sabre\CardDAV\AddressBookHomeTest::$s |
|
protected |
The documentation for this class was generated from the following file: