Lines Matching refs:ab
14 protected $ab; variable in Sabre\\CardDAV\\AddressBookTest
20 $this->ab = new AddressBook(
34 $this->assertEquals('book1', $this->ab->getName());
40 $card = $this->ab->getChild('card1');
51 $card = $this->ab->getChild('card3');
57 $cards = $this->ab->getChildren();
70 $this->ab->createDirectory('name');
79 $this->ab->createFile('card2',$file);
87 $this->ab->delete();
97 $this->ab->setName('foo');
103 $this->assertNull($this->ab->getLastModified());
112 $this->ab->propPatch($propPatch);
121 $props = $this->ab->getProperties(array('{DAV:}displayname'));
130 $this->assertEquals('principals/user1', $this->ab->getOwner());
131 $this->assertNull($this->ab->getGroup());
143 ), $this->ab->getACL());
152 $this->ab->setACL(array());
159 $this->ab->getSupportedPrivilegeSet()
166 $this->assertNull(null, $this->ab->getSyncToken());
171 $this->assertNull($this->ab->getChanges(1,null));
180 $ab = new AddressBook(TestUtil::getBackend(), [ 'id' => 1, '{DAV:}sync-token' => 2]);
181 $this->assertEquals(2, $ab->getSyncToken());
189 …$ab = new AddressBook(TestUtil::getBackend(), [ 'id' => 1, '{http://sabredav.org/ns}sync-token' =>…
190 $this->assertEquals(2, $ab->getSyncToken());
198 $ab = new AddressBook(TestUtil::getBackend(), [ 'id' => 1, '{DAV:}sync-token' => 2]);
204 ], $ab->getChanges(1, 1));