| /plugin/davcard/vendor/sabre/vobject/tests/VObject/ |
| D | ReaderTest.php | 11 $result = Reader::read($data); 13 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 14 $this->assertEquals('VCALENDAR', $result->name); 15 $this->assertEquals(0, count($result->children)); 26 $result = Reader::read($stream); 28 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 29 $this->assertEquals('VCALENDAR', $result->name); 30 $this->assertEquals(0, count($result->children)); 38 $result = Reader::read($data); 40 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); [all …]
|
| /plugin/webdavclient/vendor/sabre/vobject/tests/VObject/ |
| D | ReaderTest.php | 11 $result = Reader::read($data); 13 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 14 $this->assertEquals('VCALENDAR', $result->name); 15 $this->assertEquals(0, count($result->children)); 26 $result = Reader::read($stream); 28 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 29 $this->assertEquals('VCALENDAR', $result->name); 30 $this->assertEquals(0, count($result->children)); 38 $result = Reader::read($data); 40 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); [all …]
|
| /plugin/davcal/vendor/sabre/vobject/tests/VObject/ |
| H A D | ReaderTest.php | 11 $result = Reader::read($data); 13 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 14 $this->assertEquals('VCALENDAR', $result->name); 15 $this->assertEquals(0, count($result->children)); 26 $result = Reader::read($stream); 28 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 29 $this->assertEquals('VCALENDAR', $result->name); 30 $this->assertEquals(0, count($result->children)); 38 $result = Reader::read($data); 40 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/iterator/Test/Unit/ |
| D | Buffer.php | 60 ->when($result = new SUT($innerIterator, $bufferSize)) 62 ->object($result->getInnerIterator()) 64 ->integer($result->getBufferSize()) 66 ->let($buffer = $this->invoke($result)->getBuffer()) 80 ->when($result = new SUT($innerIterator, $bufferSize)) 82 ->integer($result->getBufferSize()) 93 ->when($result = new SUT($innerIterator, $bufferSize)) 95 ->integer($result->getBufferSize()) 103 ->when($result = iterator_to_array($iterator)) 105 ->array($result) [all …]
|
| D | SplFileInfo.php | 56 ->when($result = new LUT\SplFileInfo($pathname)) 58 ->boolean($result->isFile()) 60 ->string($result->getType()) 68 ->when($result = new LUT\SplFileInfo($pathname)) 70 ->boolean($result->isDir()) 72 ->string($result->getType()) 84 ->when($result = new LUT\SplFileInfo($pathname . '?type=file', $relativePath)) 86 ->boolean($result->isFile()) 88 ->string($result->getBasename()) 90 ->string($result->getExtension()) [all …]
|
| /plugin/icalevents/vendor/sabre/vobject/tests/VObject/ |
| D | ReaderTest.php | 11 $result = Reader::read($data); 13 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 14 $this->assertEquals('VCALENDAR', $result->name); 15 $this->assertEquals(0, count($result->children())); 27 $result = Reader::read($stream); 29 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); 30 $this->assertEquals('VCALENDAR', $result->name); 31 $this->assertEquals(0, count($result->children())); 39 $result = Reader::read($data); 41 $this->assertInstanceOf('Sabre\\VObject\\Component', $result); [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/ustring/Test/Unit/ |
| D | Ustring.php | 79 ->when($result = $string->append(' t\'aime')) 81 ->object($result) 83 ->string((string) $result) 91 ->when($result = $string->append('حبك')) 93 ->object($result) 95 ->string((string) $result) 103 ->when($result = $string->prepend('je')) 105 ->object($result) 107 ->string((string) $result) 115 ->when($result = $string->prepend('أحب')) [all …]
|
| /plugin/davcal/vendor/sabre/dav/tests/Sabre/DAVACL/ |
| H A D | PluginPropertiesTest.php | 25 $result = $server->getPropertiesForPath('', $requestedProperties); 26 $result = $result[0]; 28 $this->assertEquals(1,count($result[200])); 29 $this->assertArrayHasKey('{DAV:}principal-collection-set',$result[200]); 30 …$this->assertInstanceOf('Sabre\\DAV\\Xml\\Property\\Href', $result[200]['{DAV:}principal-collectio… 38 $this->assertEquals($expected, $result[200]['{DAV:}principal-collection-set']->getHrefs()); 56 $result = $fakeServer->getPropertiesForPath('', $requestedProperties); 57 $result = $result[0]; 59 $this->assertEquals(1,count($result[200])); 60 $this->assertArrayHasKey('{DAV:}current-user-principal',$result[200]); [all …]
|
| /plugin/data-au/_test/ |
| D | syntax_plugin_data_entry.test.php | 51 $result = $plugin->handle($this->exampleEntry, 0, 10, $handler); 53 $this->assertEquals(10, $result['pos'], 'Position has changed'); 54 $this->assertEquals('projects', $result['classes'], 'wrong class name detected'); 68 $this->assertEquals($dataau, $result['dataau'], 'Data array corrupted'); 83 $this->assertEquals($cols, $result['cols'], 'Cols array corrupted'); 98 $result = $renderer->doc; 99 $result = substr($result,0,strpos($result,'</internallink>')); 100 $result = substr($result,strpos($result,'<internallink>')+14); 101 $result = unserialize($result); 103 $this->assertSame(':foo',$result['id']); [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/consistency/Test/Unit/ |
| D | Xcallable.php | 55 ->when($result = new SUT('strtoupper')) 57 ->string($result('foo')) 59 ->string($result->getValidCallback()) 61 ->string($result->getHash()) 63 ->isEqualTo($result . '') 64 ->object($reflection = $result->getReflection()) 73 ->when($result = new SUT(__CLASS__ . '::strtoupper')) 75 ->string($result('foo')) 77 ->array($result->getValidCallback()) 79 ->string($result->getHash()) [all …]
|
| /plugin/icalevents/vendor/sabre/vobject/tests/VObject/Property/ICalendar/ |
| D | RecurTest.php | 205 $result = $property->validate(Node::REPAIR); 207 $this->assertCount(1, $result); 208 …$this->assertEquals('BYMONTH in RRULE must have value(s) between 1 and 12!', $result[0]['message']… 209 $this->assertEquals(1, $result[0]['level']); 218 $result = $property->validate(); 220 $this->assertCount(1, $result); 221 …$this->assertEquals('BYMONTH in RRULE must have value(s) between 1 and 12!', $result[0]['message']… 222 $this->assertEquals(3, $result[0]['level']); 231 $result = $property->validate(Node::REPAIR); 233 $this->assertCount(1, $result); [all …]
|
| /plugin/davcal/vendor/sabre/event/tests/ |
| H A D | EventEmitterTest.php | 111 $result = []; 114 $ee->on('foo', function() use (&$result) { 116 $result[] = 'a'; 119 $ee->on('foo', function() use (&$result) { 121 $result[] = 'b'; 124 $ee->on('foo', function() use (&$result) { 126 $result[] = 'c'; 129 $ee->on('foo', function() use (&$result) { 131 $result[] = 'd'; 136 $this->assertEquals(['b', 'd', 'a', 'c'], $result); [all …]
|
| /plugin/davcal/vendor/sabre/dav/tests/Sabre/CardDAV/Backend/ |
| H A D | AbstractPDOTest.php | 32 $result = $this->backend->getAddressBooksForUser('principals/user1'); 46 $this->assertEquals($expected, $result); 59 $result = $propPatch->commit(); 61 $this->assertFalse($result); 63 $result = $this->backend->getAddressBooksForUser('principals/user1'); 77 $this->assertEquals($expected, $result); 87 $result = $propPatch->commit(); 88 $this->assertTrue($result); 90 $result = $this->backend->getAddressBooksForUser('principals/user1'); 104 $this->assertEquals($expected, $result); [all …]
|
| /plugin/jplayer/vendor/james-heinrich/getid3/demos/ |
| D | demo.audioinfo.class.php | 58 private $result; variable in AudioInfo 98 $this->result = array(); 99 …$this->result['format_name'] = (isset($this->info['fileformat']) ? $this->info['fileformat'] :… 100 …$this->result['encoder_version'] = (isset($this->info['audio']['encoder']) ? $this->info['… 101 …$this->result['encoder_options'] = (isset($this->info['audio']['encoder_options']) ? $this->info['… 102 …$this->result['bitrate_mode'] = (isset($this->info['audio']['bitrate_mode']) ? $this->info['… 103 …$this->result['channels'] = (isset($this->info['audio']['channels']) ? $this->info['… 104 …$this->result['sample_rate'] = (isset($this->info['audio']['sample_rate']) ? $this->info['… 105 …$this->result['bits_per_sample'] = (isset($this->info['audio']['bits_per_sample']) ? $this->info['… 106 …$this->result['playing_time'] = (isset($this->info['playtime_seconds']) ? $this->info['… [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/compiler/Test/Unit/Llk/ |
| D | TreeNode.php | 150 ->when($result = $node->setId('bar')) 152 ->string($result) 163 ->when($result = $node->getId()) 165 ->string($result) 173 ->when($result = $node->setValue(['baz'])) 175 ->array($result) 186 ->when($result = $node->getValue()) 188 ->array($result) 196 ->when($result = $node->getValueToken()) 198 ->string($result) [all …]
|
| D | Lexer.php | 65 ->when($result = $lexer->lexMe($datum, $tokens)) 67 ->object($result) 85 ->when($result = $lexer->lexMe($datum, $tokens)) 87 ->object($result) 89 ->array($result->current()) 98 ->let($result->next()) 99 ->array($result->current()) 108 ->let($result->next()) 109 ->array($result->current()) 118 ->let($result->next()) [all …]
|
| /plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/ |
| D | TestCaseTest.php | 45 $result = $test->run(); 48 $this->assertEquals(0, $result->errorCount()); 49 $this->assertEquals(0, $result->failureCount()); 50 $this->assertEquals(0, $result->skippedCount()); 51 $this->assertCount(1, $result); 57 $result = $test->run(); 60 $this->assertEquals(0, $result->errorCount()); 61 $this->assertEquals(1, $result->failureCount()); 62 $this->assertEquals(0, $result->skippedCount()); 63 $this->assertCount(1, $result); [all …]
|
| /plugin/ipban/ip-lib/src/ |
| D | Factory.php | 23 $result = null; 24 if ($result === null) { 25 $result = Address\IPv4::fromString($address, $mayIncludePort); 27 if ($result === null) { 28 $result = Address\IPv6::fromString($address, $mayIncludePort, $mayIncludeZoneID); 31 return $result; 43 $result = null; 44 if ($result === null) { 45 $result = Address\IPv4::fromBytes($bytes); 47 if ($result === null) { [all …]
|
| /plugin/findologicxmlexport/vendor/hoa/protocol/Test/Unit/ |
| D | Protocol.php | 55 ->when($result = SUT::getInstance()) 57 ->object($result) 64 ->when($result = SUT::getInstance()) 66 ->object($result['Application'])->isInstanceOf('Hoa\Protocol\Node\Node') 67 … ->object($result['Application']['Public'])->isInstanceOf('Hoa\Protocol\Node\Node') 68 ->object($result['Data'])->isInstanceOf('Hoa\Protocol\Node\Node') 69 ->object($result['Data']['Etc'])->isInstanceOf('Hoa\Protocol\Node\Node') 70 … ->object($result['Data']['Etc']['Configuration'])->isInstanceOf('Hoa\Protocol\Node\Node') 71 … ->object($result['Data']['Etc']['Locale'])->isInstanceOf('Hoa\Protocol\Node\Node') 72 ->object($result['Data']['Lost+found'])->isInstanceOf('Hoa\Protocol\Node\Node') [all …]
|
| /plugin/matrixnotifierwas/vendor/guzzlehttp/guzzle/src/ |
| D | MessageFormatter.php | 83 $result = ''; 86 $result = Psr7\Message::toString($request); 89 $result = $response ? Psr7\Message::toString($response) : ''; 92 $result = \trim($request->getMethod() 98 $result = $response ? 108 $result = $request->getBody()->__toString(); 112 $result = 'NULL'; 119 $result = 'RESPONSE_NOT_LOGGEABLE'; 123 $result = $response->getBody()->__toString(); 127 $result = \gmdate('c'); [all …]
|
| /plugin/gtime/gtlib/tsp/ |
| D | GTVerifier.php | 43 $result = new GTVerificationResult(); 44 $result->update(GTVerifier::verifyCommon($content, $dataHash)); 46 if (!$result->isValid()) { 47 return $result; 72 $result->update(GTVerifier::verifyCertificate($certificate, $historyTime, $publicKey)); 74 if (!$result->isValid()) { 75 return $result; 78 $result->update(GTVerifier::verifyPkSignature($timeSignature, $publicKey)); 80 return $result; 95 $result = new GTVerificationResult(); [all …]
|
| /plugin/authgooglesheets/vendor/guzzlehttp/guzzle/src/ |
| D | MessageFormatter.php | 80 $result = ''; 83 $result = Psr7\str($request); 86 $result = $response ? Psr7\str($response) : ''; 89 $result = trim($request->getMethod() 95 $result = $response ? 105 $result = $request->getBody(); 108 $result = $response ? $response->getBody() : 'NULL'; 112 $result = gmdate('c'); 115 $result = date('d/M/Y:H:i:s O'); 118 $result = $request->getMethod(); [all …]
|
| /plugin/deletepageguard/tests/ |
| H A D | test_runner.php | 33 $result = call_user_func($test['callback']); 34 if ($result === true) { 38 echo "❌ FAIL: " . ($result ?: 'Unknown error') . "\n"; 69 $result = $plugin->validateRegexPattern('^start$'); variable 70 return $result === true; 75 $result = $plugin->validateRegexPattern('^users:[^:]+:(start|profile)$'); variable 76 return $result === true; 81 $result = $plugin->validateRegexPattern('^wiki:.*$'); variable 82 return $result === true; 88 $result = $plugin->validateRegexPattern('[invalid'); variable [all …]
|
| /plugin/webdav/vendor/sabre/dav/lib/DAV/ |
| D | PropPatch.php | 38 protected $result = []; variable in Sabre\\DAV\\PropPatch 92 … if (array_key_exists($propertyName, $this->mutations) && !isset($this->result[$propertyName])) { 96 $this->result[$propertyName] = 202; 133 $this->result[$propertyName] = 202; 153 $this->result[$propertyName] = $resultCode; 188 if (!isset($this->result[$propertyName])) { 208 if (!isset($this->result[$propertyName])) { 230 if (!isset($this->result[$propertyName])) { 232 $this->result[$propertyName] = 403; 256 foreach ($this->result as $propertyName => $status) { [all …]
|
| /plugin/davcal/vendor/sabre/dav/lib/DAV/ |
| H A D | PropPatch.php | 38 protected $result = []; variable in Sabre\\DAV\\PropPatch 85 … if (array_key_exists($propertyName, $this->mutations) && !isset($this->result[$propertyName])) { 89 $this->result[$propertyName] = 202; 126 $this->result[$propertyName] = 202; 146 $this->result[$propertyName] = $resultCode; 181 if (!isset($this->result[$propertyName])) { 201 if (!isset($this->result[$propertyName])) { 223 if (!isset($this->result[$propertyName])) { 225 $this->result[$propertyName] = 403; 249 foreach ($this->result as $propertyName => $status) { [all …]
|