Lines Matching refs:this

12 …$this->assertEquals('{' . Plugin::NS_CARDDAV . '}addressbook', $this->server->resourceTypeMapping[…
14 $this->assertTrue(in_array('addressbook', $this->plugin->getFeatures()));
15 $this->assertEquals('carddav', $this->plugin->getPluginInfo()['name']);
21 $this->assertEquals(array(
24 ), $this->plugin->getSupportedReportSet('addressbooks/user1/book1'));
30 $this->assertEquals(array(
31 ), $this->plugin->getSupportedReportSet(''));
37 …$result = $this->server->getProperties('principals/user1', array('{' . Plugin::NS_CARDDAV . '}addr…
39 $this->assertEquals(1, count($result));
40 $this->assertTrue(isset($result['{' . Plugin::NS_CARDDAV . '}addressbook-home-set']));
41 …$this->assertEquals('addressbooks/user1/', $result['{' . Plugin::NS_CARDDAV . '}addressbook-home-s…
47 …$result = $this->server->getProperties('principals/user1', array('{' . Plugin::NS_CARDDAV . '}dire…
49 $this->assertEquals(1, count($result));
50 $this->assertTrue(isset($result['{' . Plugin::NS_CARDDAV . '}directory-gateway']));
51 …$this->assertEquals(array('directory'), $result['{' . Plugin::NS_CARDDAV . '}directory-gateway']->…
57 $this->assertNull($this->plugin->report('{DAV:}foo', new \DomDocument()));
64 …$r = $this->server->emit('onHTMLActionsPanel', [$this->server->tree->getNodeForPath('addressbooks/…
65 $this->assertFalse($r);
67 $this->assertTrue(!!strpos($output,'Display name'));
78 $node = $this->server->tree->getNodeForPath('addressbooks/user1/book1');
79 $this->plugin->propFindEarly($propFind, $node);
81 $this->assertInstanceOf(
85 $this->assertInstanceOf(
97 $this->server->invokeMethod($request, $response);
99 $this->assertEquals(200, $response->getStatus());