Definition at line 5 of file PropFindAllTest.php.
◆ testGet404Properties()
Sabre\DAV\Browser\PropFindAllTest::testGet404Properties |
( |
| ) |
|
Definition at line 48 of file PropFindAllTest.php.
50 $pf =
new PropFindAll(
'foo');
51 $pf->set(
'{DAV:}displayname', null);
53 [
'{DAV:}displayname'],
54 $pf->get404Properties()
◆ testGet404PropertiesNothing()
Sabre\DAV\Browser\PropFindAllTest::testGet404PropertiesNothing |
( |
| ) |
|
Definition at line 59 of file PropFindAllTest.php.
61 $pf =
new PropFindAll(
'foo');
62 $pf->set(
'{DAV:}displayname',
'foo');
64 [
'{http://sabredav.org/ns}idk'],
65 $pf->get404Properties()
◆ testHandleCallBack()
Sabre\DAV\Browser\PropFindAllTest::testHandleCallBack |
( |
| ) |
|
Definition at line 18 of file PropFindAllTest.php.
20 $pf =
new PropFindAll(
'foo');
21 $pf->handle(
'{DAV:}displayname',
function() {
return 'foo'; });
23 $this->assertEquals(200, $pf->getStatus(
'{DAV:}displayname'));
24 $this->assertEquals(
'foo', $pf->get(
'{DAV:}displayname'));
◆ testHandleSimple()
Sabre\DAV\Browser\PropFindAllTest::testHandleSimple |
( |
| ) |
|
Definition at line 7 of file PropFindAllTest.php.
9 $pf =
new PropFindAll(
'foo');
10 $pf->handle(
'{DAV:}displayname',
'foo');
12 $this->assertEquals(200, $pf->getStatus(
'{DAV:}displayname'));
13 $this->assertEquals(
'foo', $pf->get(
'{DAV:}displayname'));
◆ testSet()
Sabre\DAV\Browser\PropFindAllTest::testSet |
( |
| ) |
|
Definition at line 28 of file PropFindAllTest.php.
30 $pf =
new PropFindAll(
'foo');
31 $pf->set(
'{DAV:}displayname',
'foo');
33 $this->assertEquals(200, $pf->getStatus(
'{DAV:}displayname'));
34 $this->assertEquals(
'foo', $pf->get(
'{DAV:}displayname'));
◆ testSetNull()
Sabre\DAV\Browser\PropFindAllTest::testSetNull |
( |
| ) |
|
Definition at line 38 of file PropFindAllTest.php.
40 $pf =
new PropFindAll(
'foo');
41 $pf->set(
'{DAV:}displayname', null);
43 $this->assertEquals(404, $pf->getStatus(
'{DAV:}displayname'));
44 $this->assertEquals(null, $pf->get(
'{DAV:}displayname'));
The documentation for this class was generated from the following file: