Home
last modified time | relevance | path

Searched refs:assertSame (Results 1 – 25 of 172) sorted by relevance

1234567

/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/ConnectionPool/Selectors/
H A DRoundRobinSelectorTest.php41 $this->assertSame($mockConnections[0], $roundRobin->select($mockConnections));
42 $this->assertSame($mockConnections[1], $roundRobin->select($mockConnections));
43 $this->assertSame($mockConnections[2], $roundRobin->select($mockConnections));
44 $this->assertSame($mockConnections[3], $roundRobin->select($mockConnections));
45 $this->assertSame($mockConnections[4], $roundRobin->select($mockConnections));
46 $this->assertSame($mockConnections[5], $roundRobin->select($mockConnections));
47 $this->assertSame($mockConnections[6], $roundRobin->select($mockConnections));
48 $this->assertSame($mockConnections[7], $roundRobin->select($mockConnections));
49 $this->assertSame($mockConnections[8], $roundRobin->select($mockConnections));
50 $this->assertSame($mockConnections[9], $roundRobin->select($mockConnections));
[all …]
/plugin/move/_test/
H A Dnamespace_move.test.php58 $this->assertSame(1, $plan->nextStep(),'pages');
59 $this->assertSame(1, $plan->nextStep(),'media');
60 $this->assertSame(1, $plan->nextStep(),'missing');
61 $this->assertSame(1, $plan->nextStep(),'namespace');
63 $this->assertSame(0, $plan->nextStep(),'done');
89 $this->assertSame(1, $plan->nextStep(),'page');
90 $this->assertSame(1, $plan->nextStep(),'missing');
93 $this->assertSame(0, $plan->nextStep(),'done');
258 $this->assertSame(0, $plan->nextStep(), 'done');
300 $this->assertSame(0, $plan->nextStep(), 'done');
[all …]
H A DstepThroughDocuments.test.php116 $this->assertSame($expected_file,$actual_file, "files differ");
123 $this->assertSame($expected_log,$mock->moveLog[0]);
126 $this->assertSame($expected_log,$mock->moveLog[9]);
153 $this->assertSame($expected_file,$actual_file, "files differ");
160 $this->assertSame($expected_log,$mock->moveLog[0]);
163 $this->assertSame($expected_log,$mock->moveLog[8]);
200 $this->assertSame($expected_file,$actual_file, "files differ");
208 $this->assertSame($expected_log,$mock->moveLog[5]);
256 $this->assertSame($expected_log,$mock->moveLog[0]);
259 $this->assertSame($expected_log,$mock->moveLog[5]);
[all …]
H A DfindMissingDocuments.test.php60 $this->assertSame(array(),$tmpstore['miss']);
68 $this->assertSame(array('oldns:missing' => 'newns:missing',),$tmpstore['miss']);
76 $this->assertSame(array('oldns:missing' => 'newns:missing',),$tmpstore['miss']);
88 …$this->assertSame(array("oldns:missing\tnewns:missing\n",),$missing_file,'new configuration fails'…
91 …$this->assertSame(array("oldns:missing.png\tnewns:missing.png\n",),$missing_media_file,'new config…
100 … $this->assertSame(array('oldns:missing.png' => 'newns:missing.png',),$tmpstore['miss_media']);
111 $this->assertSame(array(),$tmpstore['miss_media']);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DClientTest.php270 $this->assertSame(9200, $host->getPort());
291 $this->assertSame(9200, $host->getPort());
312 $this->assertSame(9200, $host->getPort());
330 $this->assertSame(9200, $host->getPort());
345 $this->assertSame(9200, $host->getPort());
360 $this->assertSame(9200, $host->getPort());
374 $this->assertSame(9200, $host->getPort());
387 $this->assertSame(9200, $host->getPort());
402 $this->assertSame(9500, $host->getPort());
430 $this->assertSame(9200, $host->getPort());
[all …]
/plugin/oauth/phpoauthlib/tests/Unit/Common/Http/Uri/
H A DUriTest.php51 $this->assertSame('http', $uri->getScheme());
79 $this->assertSame('peehaa:********', $uri->getUserInfo());
107 $this->assertSame('peehaa:pass', $uri->getRawUserInfo());
131 $this->assertSame(80, $uri->getPort());
155 $this->assertSame(21, $uri->getPort());
179 $this->assertSame('/', $uri->getPath());
227 $this->assertSame('foo', $uri->getFragment());
251 $this->assertSame('example.com', $uri->getAuthority());
329 $this->assertSame('example.com:21', $uri->getRawAuthority());
470 $this->assertSame('', $uri->getRelativeUri());
[all …]
H A DUriFactoryTest.php64 $this->assertSame('http://example.com/foo?param1=value1', $uri->getAbsoluteUri());
124 $this->assertSame('http://example.com:21/foo?param1=value1', $uri->getAbsoluteUri());
180 $this->assertSame('http://example.com/foo?param1=value1', $uri->getAbsoluteUri());
258 $this->assertSame('http://example.com/foo?param1=value1', $uri->getAbsoluteUri());
312 $this->assertSame('http://example.com/foo', $uri->getAbsoluteUri());
329 $this->assertSame('http://example.com', $uri->getAbsoluteUri());
/plugin/oauth/phpoauthlib/tests/Unit/Common/Token/
H A DAbstractTokenTest.php38 $this->assertSame('foo', $token->getAccessToken());
52 $this->assertSame('foo', $token->getAccessToken());
74 $this->assertSame('bar', $token->getRefreshToken());
88 $this->assertSame('foo', $token->getRefreshToken());
99 $this->assertSame(array(), $token->getExtraParams());
124 $this->assertSame(array('foo', 'bar'), $token->getExtraParams());
136 $this->assertSame(AbstractToken::EOL_UNKNOWN, $token->getEndOfLife());
148 $this->assertSame(AbstractToken::EOL_NEVER_EXPIRES, $token->getEndOfLife());
160 $this->assertSame(AbstractToken::EOL_NEVER_EXPIRES, $token->getEndOfLife());
172 $this->assertSame(time() + (5*60), $token->getEndOfLife());
[all …]
/plugin/findologicxmlexport/vendor/sebastian/object-enumerator/tests/
H A DEnumeratorTest.php37 $this->assertSame($a, $objects[0]);
47 $this->assertSame($a, $objects[0]);
57 $this->assertSame($a, $objects[0]);
68 $this->assertSame($a, $objects[0]);
69 $this->assertSame($b, $objects[1]);
83 $this->assertSame($a, $objects[0]);
84 $this->assertSame($b, $objects[1]);
97 $this->assertSame($a, $objects[0]);
98 $this->assertSame($b, $objects[1]);
112 $this->assertSame($a, $objects[0]);
[all …]
/plugin/elasticsearch/vendor/react/promise/tests/
H A DPromiseTest.php60 $this->assertSame(0, gc_collect_cycles());
72 $this->assertSame(0, gc_collect_cycles());
84 $this->assertSame(0, gc_collect_cycles());
97 $this->assertSame(0, gc_collect_cycles());
110 $this->assertSame(0, gc_collect_cycles());
122 $this->assertSame(0, gc_collect_cycles());
147 $this->assertSame(0, gc_collect_cycles());
163 $this->assertSame(0, gc_collect_cycles());
179 $this->assertSame(0, gc_collect_cycles());
202 $this->assertSame(0, gc_collect_cycles());
[all …]
H A DDeferredTest.php53 $this->assertSame(0, gc_collect_cycles());
66 $this->assertSame(0, gc_collect_cycles());
77 $this->assertSame(0, gc_collect_cycles());
88 $this->assertSame(0, gc_collect_cycles());
99 $this->assertSame(0, gc_collect_cycles());
110 $this->assertSame(0, gc_collect_cycles());
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/
H A DParserTest.php98 $this->assertSame(49, $chunk->getStart());
99 $this->assertSame(49, $chunk->getEnd());
100 $this->assertSame(9, $chunk->getStartRange());
101 $this->assertSame(8, $chunk->getEndRange());
110 $this->assertSame('A', $line->getContent());
114 $this->assertSame('B', $line->getContent());
115 $this->assertSame(Line::REMOVED, $line->getType());
142 $this->assertSame('a/Test.txt', $diff->getFrom());
143 $this->assertSame('b/Test.txt', $diff->getTo());
147 $this->assertSame('a/Test2.txt', $diff->getFrom());
[all …]
H A DDiffTest.php28 $this->assertSame($from, $diff->getFrom());
29 $this->assertSame($to, $diff->getTo());
30 … $this->assertSame(array(), $diff->getChunks(), 'Expect chunks to be default value "array()".');
41 $this->assertSame($from, $diff->getFrom());
42 $this->assertSame($to, $diff->getTo());
43 $this->assertSame($chunks, $diff->getChunks(), 'Expect chunks to be passed value.');
49 … $this->assertSame(array(), $diff->getChunks(), 'Expect chunks to be default value "array()".');
53 $this->assertSame($chunks, $diff->getChunks(), 'Expect chunks to be passed value.');
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
H A DInlineTest.php42 $this->assertSame(serialize($value), serialize($actual));
52 $this->assertSame($value, $actual);
554 $this->assertSame($timezone, $date->format('O'));
721 $this->assertSame('foo', $value[0]->getTag());
722 $this->assertSame('', $value[0]->getValue());
730 $this->assertSame('foo', $value[0]->getTag());
731 $this->assertSame('', $value[0]->getValue());
739 $this->assertSame('bar', $value['foo']->getTag());
740 $this->assertSame('', $value['foo']->getValue());
748 $this->assertSame('bar', $value['foo']->getTag());
[all …]
H A DParserTest.php400 $this->assertSame($expected, $this->parser->parse($yaml));
421 $this->assertSame($expected, $this->parser->parse($yaml));
536 $this->assertSame($expected, $this->parser->parse($yaml));
653 $this->assertSame($expected, $this->parser->parse($yaml));
672 $this->assertSame($expected, $this->parser->parse($yaml));
813 $this->assertSame($expected, Yaml::parse($input));
831 $this->assertSame($expected, Yaml::parse($input));
1286 $this->assertSame(
1310 $this->assertSame(
1696 $this->assertSame('12', $this->parser->parse('! 12'));
[all …]
H A DDumperTest.php99 …$this->assertSame($expected, $this->parser->parse($this->dumper->dump($expected, 10)), $test['test…
240 $this->assertSame($expected, $this->dumper->dump(['data' => $binaryData]));
246 $this->assertSame('!!binary ZsM/cg==', $this->dumper->dump("f\xc3\x3fr"));
304 $this->assertSame($expected, $yaml);
317 $this->assertSame($expected, $yaml);
339 …$this->assertSame('{ }', $this->dumper->dump(new \ArrayObject(), 2, 0, Yaml::DUMP_OBJECT_AS_MAP));
344 … $this->assertSame('{ }', $this->dumper->dump(new \stdClass(), 2, 0, Yaml::DUMP_OBJECT_AS_MAP));
372 $this->assertSame($expected, $yaml);
388 …$this->assertSame(file_get_contents(__DIR__.'/Fixtures/multiple_lines_as_literal_block.yml'), $thi…
399 …$this->assertSame(file_get_contents(__DIR__.'/Fixtures/multiple_lines_as_literal_block_leading_spa…
[all …]
/plugin/mdpage/vendor/cebe/markdown/tests/
H A DBaseMarkdownTest.php43 …$this->assertSame("<p>абвгдеёжзийклмнопрстуфхцчшщъыьэюя</p>\n", $this->createMarkdown()->parse('аб…
44 …$this->assertSame("<p>there is a charater, 配</p>\n", $this->createMarkdown()->parse('there is a ch…
45 …$this->assertSame("<p>Arabic Latter \"م (M)\"</p>\n", $this->createMarkdown()->parse('Arabic Latte…
46 $this->assertSame("<p>電腦</p>\n", $this->createMarkdown()->parse('電腦'));
48 …$this->assertSame('абвгдеёжзийклмнопрстуфхцчшщъыьэюя', $this->createMarkdown()->parseParagraph('аб…
49 …$this->assertSame('there is a charater, 配', $this->createMarkdown()->parseParagraph('there is a ch…
50 …$this->assertSame('Arabic Latter "م (M)"', $this->createMarkdown()->parseParagraph('Arabic Latter …
51 $this->assertSame('電腦', $this->createMarkdown()->parseParagraph('電腦'));
82 $this->assertSame($exptected, $this->createMarkdown()->parseParagraph($input));
83 …$this->assertSame($pexpect === null ? "<p>$exptected</p>\n" : "<p>$pexpect</p>\n", $this->createMa…
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/tests/Token/
H A DInterfaceTest.php120 $this->assertSame('Foo\\Bar', $package['namespace']);
145 $this->assertSame('TestClassInBar', $token->getName());
146 $this->assertSame('Foo\\Bar', $package['namespace']);
153 $this->assertSame('TestClassInBaz', $token->getName());
154 $this->assertSame('Foo\\Baz', $package['namespace']);
166 $this->assertSame('', $package['namespace']);
180 $this->assertSame('Baz', $token->getName());
181 $this->assertSame('Foo\\Bar', $package['namespace']);
187 $this->assertSame('Extender', $token->getName());
188 $this->assertSame('Other\\Space', $package['namespace']);
H A DNamespaceTest.php26 $this->assertSame('Foo\\Bar', $token->getName());
36 $this->assertSame(2, $token->getLine());
46 $this->assertSame(2, $token->getEndLine());
55 $this->assertSame(2, $token->getLine());
65 $this->assertSame(8, $token->getEndLine());
/plugin/csv/_test/
H A Dsyntax_plugin_csv.test.php75 $this->assertSame(174, count($data), 'number of rows');
76 $this->assertSame(21, count($data[0]), 'number of columns');
89 $this->assertSame(59, count($data), 'number of rows');
90 $this->assertSame(21, count($data[0]), 'number of columns');
94 $this->assertSame(3, count($data), 'number of rows');
95 $this->assertSame(21, count($data[0]), 'number of columns');
129 $this->assertSame(3, $opt['outc']);
130 $this->assertSame(2, $opt['outr']);
133 $this->assertSame(3, $opt['outc']);
134 $this->assertSame(0, $opt['outr']);
/plugin/jplayer/vendor/symfony/process/Tests/
H A DProcessTest.php100 $this->assertSame(10.0, $p->getTimeout());
169 $this->assertSame('foo'.\PHP_EOL, $data);
182 $this->assertSame($expected, $p->$getter());
240 $this->assertSame('hello', $p->getOutput());
427 $this->assertSame('0', $p->getOutput());
1185 $this->assertSame($expected, $result);
1310 $this->assertSame($expectedOutput, $output);
1376 $this->assertSame('', $p1->getOutput());
1378 $this->assertSame('456', $p2->getOutput());
1448 $this->assertSame($expected, $env);
[all …]
/plugin/elasticsearch/vendor/guzzlehttp/streams/tests/
H A DGuzzleStreamWrapperTest.php16 $this->assertSame('foo', fread($handle, 3));
17 $this->assertSame(3, ftell($handle));
18 $this->assertSame(3, fwrite($handle, 'bar'));
19 $this->assertSame(0, fseek($handle, 0));
20 $this->assertSame('foobar', fread($handle, 6));
57 $this->assertSame('foobar', (string) $stream);
/plugin/data-au/_test/
H A Ddb.test.php53 $this->assertSame($expected_value,$actual_value);
59 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage">testpage',$actual_link…
82 $this->assertSame($expected_value,$actual_value);
88 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage">testpage',$actual_link…
110 $this->assertSame($expected_value,$actual_value);
116 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage">testpage',$actual_link…
140 $this->assertSame($expected_value,$actual_value);
146 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage">testpage',$actual_link…
/plugin/data/_test/
H A Ddb.test.php53 $this->assertSame($expected_value,$actual_value);
59 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage" data-wiki-id="testpage…
82 $this->assertSame($expected_value,$actual_value);
88 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage" data-wiki-id="testpage…
110 $this->assertSame($expected_value,$actual_value);
116 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage" data-wiki-id="testpage…
140 $this->assertSame($expected_value,$actual_value);
146 …$this->assertSame('doku.php?id=testpage" class="wikilink1" title="testpage" data-wiki-id="testpage…
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Invocation/
H A DObjectTest.php28 $this->assertSame('FooClass', $invocation->className);
41 $this->assertSame('FooMethod', $invocation->methodName);
56 $this->assertSame($expectedObject, $invocation->object);
73 $this->assertSame($expectedParameters, $invocation->parameters);
106 $this->assertSame($expectedReturnType, $invocation->returnType);

1234567