/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/FSExt/ |
H A D | FileTest.php | 27 $result = $file->put('New contents'); 37 $result
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/ |
H A D | PropPatchTest.php | 29 $result = $this->propPatch->getResult(); 47 $result = $this->propPatch->getResult(); 65 $result = $this->propPatch->getResult(); 207 $result = $propPatch->commit(); 211 $this->assertFalse($result); 258 $result = $propPatch->commit(); 260 $this->assertTrue($result); 290 $result = $propPatch->commit(); 292 $this->assertFalse($result); 326 $result = $propPatch->commit(); [all …]
|
H A D | ServerPropsTest.php | 191 $result = $this->server->xml->parse($body); 196 ], $result->properties);
|
H A D | ServerSimpleTest.php | 144 foreach($tests as $test=>$result) { 147 $this->assertEquals($result, $this->server->getBaseUri()); 449 $result = $this->server->getPropertiesForChildren('',[ 458 $this->assertEquals($expected,$result);
|
H A D | ServerUpdatePropertiesTest.php | 15 $result = $server->updateProperties('foo', array( 22 $this->assertEquals($expected, $result); 36 $result = $server->updateProperties('foo', array( 45 $this->assertEquals($expected, $result); 60 $result = $server->updateProperties('foo', array( 69 $this->assertEquals($expected, $result); 75 $result[404] = array( 101 $result = $server->updateProperties('foo', array( 110 $this->assertEquals($expected, $result); 116 $result[200] = array( [all …]
|
H A D | StringUtilTest.php | 10 function testTextMatch($haystack, $needle, $collation, $matchType, $result) { argument 12 … $this->assertEquals($result, StringUtil::textMatch($haystack, $needle, $collation, $matchType));
|
H A D | TreeTest.php | 67 $result = $tree->getMultipleNodes(['hi/sub', 'hi/file']); 68 $this->assertArrayHasKey('hi/sub', $result); 69 $this->assertArrayHasKey('hi/file', $result); 71 $this->assertEquals('sub', $result['hi/sub']->getName()); 72 $this->assertEquals('file', $result['hi/file']->getName()); 78 $result = $tree->getMultipleNodes(['multi/1', 'multi/2']); 79 $this->assertArrayHasKey('multi/1', $result); 80 $this->assertArrayHasKey('multi/2', $result); 227 $result = []; 231 $result[] = $child; [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/PropertyStorage/ |
H A D | PluginTest.php | 50 $result = $this->server->getProperties('', ['{DAV:}displayname']); 54 ], $result); 77 $result = $this->server->getProperties('/files/dest', ['{DAV:}displayname']); 81 ], $result); 84 $result = $this->server->getProperties('/files/source', ['{DAV:}displayname']); 86 $this->assertEquals([], $result); 112 $result = $this->server->getProperties('', ['{DAV:}displayname']); 114 $this->assertEquals([], $result);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Sync/ |
H A D | PluginTest.php | 47 $result = $this->server->getProperties('/coll', ['{DAV:}supported-report-set']); 48 $this->assertFalse($result['{DAV:}supported-report-set']->has('{DAV:}sync-collection')); 53 $result = $this->server->getProperties('/coll', ['{DAV:}supported-report-set']); 54 $this->assertTrue($result['{DAV:}supported-report-set']->has('{DAV:}sync-collection')); 60 $result = $this->server->getProperties('/coll', ['{DAV:}sync-token']); 61 $this->assertFalse(isset($result['{DAV:}sync-token'])); 66 $result = $this->server->getProperties('/coll', ['{DAV:}sync-token']); 67 $this->assertTrue(isset($result['{DAV:}sync-token'])); 72 $result = $this->server->getProperties('/normalcoll', ['{DAV:}sync-token']); 73 $this->assertFalse(isset($result['{DAV:}sync-token']));
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Element/ |
H A D | PropTest.php | 148 $result = $this->parse($input, $elementMap); 149 $this->assertInternalType('array', $result); 150 $this->assertEquals($expected, $result['value']);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Property/ |
H A D | HrefTest.php | 54 $result = $this->parse($xml, ['{DAV:}anything' => 'Sabre\\DAV\\Xml\\Property\\Href']); 56 $href = $result['value']; 69 $result = $this->parse($xml, ['{DAV:}anything' => 'Sabre\\DAV\\Xml\\Property\\Href']); 70 $href = $result['value']; 79 $result = $this->parse($xml, ['{DAV:}anything' => 'Sabre\\DAV\\Xml\\Property\\Href']); 80 $href = $result['value'];
|
H A D | LastModifiedTest.php | 16 $result = $this->write($val); 22 $this->assertXmlStringEqualsXmlString($expected, $result); 32 $result = $this->write($val); 38 $this->assertXmlStringEqualsXmlString($expected, $result); 50 $result = $this->parse($input, $elementMap); 54 $result['value']->getTime()
|
H A D | SupportedMethodSetTest.php | 57 $result = $this->server->getProperties('/', ['{DAV:}supported-method-set']); 58 $this->assertTrue($result['{DAV:}supported-method-set']->has('PROPFIND'));
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/Xml/Request/ |
H A D | PropFindTest.php | 19 $result = $this->parse($xml, ['{DAV:}root' => 'Sabre\\DAV\\Xml\\Request\PropFind']); 24 $this->assertEquals($propFind, $result['value']); 37 $result = $this->parse($xml, ['{DAV:}root' => 'Sabre\\DAV\\Xml\\Request\PropFind']); 42 $this->assertEquals($propFind, $result['value']);
|
H A D | PropPatchTest.php | 19 $result = $this->write( 48 $result
|
H A D | SyncCollectionTest.php | 21 …$result = $this->parse($xml, ['{DAV:}sync-collection' => 'Sabre\\DAV\\Xml\\Request\SyncCollectionR… 27 $this->assertEquals($elem, $result['value']); 45 …$result = $this->parse($xml, ['{DAV:}sync-collection' => 'Sabre\\DAV\\Xml\\Request\SyncCollectionR… 52 $this->assertEquals($elem, $result['value']); 69 …$result = $this->parse($xml, ['{DAV:}sync-collection' => 'Sabre\\DAV\\Xml\\Request\SyncCollectionR… 75 $this->assertEquals($elem, $result['value']); 90 …$result = $this->parse($xml, ['{DAV:}sync-collection' => 'Sabre\\DAV\\Xml\\Request\SyncCollectionR…
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/ |
H A D | PluginPropertiesTest.php | 26 $result = $result[0]; 57 $result = $result[0]; 68 $result = $result[0]; 89 $result = $result[0]; 168 $result = $result[0]; 206 $result = $result[0]; 232 $result = $result[0]; 261 $result = $result[0]; 290 $result = $result[0]; 317 $result = $result[0]; [all …]
|
H A D | PluginUpdatePropertiesTest.php | 21 $result = $server->updateProperties('foo', array( 29 $this->assertEquals($expected, $result); 41 $result = $server->updateProperties('foo', array( 49 $this->assertEquals($expected, $result); 62 $result = $server->updateProperties('foo', [ 70 $this->assertEquals($expected, $result); 86 $result = $server->updateProperties('foo', array( 100 $result = $server->updateProperties('foo', [ 108 $this->assertEquals($expected, $result);
|
H A D | PrincipalPropertySearchTest.php | 169 $result = $xml->xpath($xpath); 174 …->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . … 242 $result = $xml->xpath($xpath); 247 …->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . … 314 $result = $xml->xpath($xpath); 319 …->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . … 373 $result = $xml->xpath($xpath); 378 …->assertEquals($count,count($result), 'we expected ' . $count . ' appearances of ' . $xpath . ' . …
|
H A D | PrincipalTest.php | 81 $result = $principal->propPatch($propPatch); 82 $result = $propPatch->commit(); 83 $this->assertTrue($result);
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/PrincipalBackend/ |
H A D | AbstractPDOTest.php | 112 $result = $backend->searchPrincipals('principals', array('{DAV:}blabla' => 'foo')); 113 $this->assertEquals(array(), $result); 115 $result = $backend->searchPrincipals('principals', array('{DAV:}displayname' => 'ou')); 116 $this->assertEquals(array('principals/group'), $result); 119 $this->assertEquals(array('principals/user'), $result); 121 …$result = $backend->searchPrincipals('mom', array('{DAV:}displayname' => 'UsEr', '{http://sabredav… 122 $this->assertEquals(array(), $result); 136 $result = $propPatch->commit(); 138 $this->assertTrue($result); 160 $result = $propPatch->commit(); [all …]
|
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/Xml/Property/ |
H A D | ACLTest.php | 167 $result = $reader->parse(); 168 $result = $result['value']; 170 $this->assertInstanceOf('Sabre\\DAVACL\\Xml\\Property\\Acl', $result); 185 $this->assertEquals($expected, $result->getPrivileges()); 212 $result = $reader->parse(); 252 $result = $reader->parse(); 253 $result = $result['value']; 255 $this->assertInstanceOf('Sabre\\DAVACL\\Xml\\Property\\Acl', $result); 275 $this->assertEquals($expected, $result->getPrivileges()); 302 $result = $reader->parse();
|
H A D | CurrentUserPrivilegeSetTest.php | 51 $result = $this->parse($source); 52 $this->assertTrue($result->has('{DAV:}read')); 53 $this->assertTrue($result->has('{DAV:}write-properties')); 54 $this->assertFalse($result->has('{DAV:}bind')); 63 $result = $reader->parse(); 64 return $result['value'];
|
H A D | PrincipalTest.php | 142 $result = $reader->parse(); 143 return $result['value'];
|
/plugin/davcal/vendor/sabre/event/lib/ |
H A D | EventEmitterTrait.php | 105 $result = call_user_func_array($listener, $arguments); 106 if ($result === false) { 119 $result = call_user_func_array($listener, $arguments); 120 if ($result === false) {
|