Home
last modified time | relevance | path

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

12345

/plugin/aichat/vendor/vanderlee/php-sentence/tests/
DSentenceTest.php33 $this->assertSame(0, $this->object->count(''));
34 $this->assertSame(0, $this->object->count(' '));
35 $this->assertSame(0, $this->object->count("\n"));
43 $this->assertSame(1, $this->object->count('Hello'));
44 $this->assertSame(1, $this->object->count('Hello.'));
45 $this->assertSame(1, $this->object->count('Hello...'));
46 $this->assertSame(1, $this->object->count('Hello!'));
47 $this->assertSame(1, $this->object->count('Hello?'));
48 $this->assertSame(1, $this->object->count('Hello?!'));
56 $this->assertSame(1, $this->object->count('Hello world'));
[all …]
/plugin/move/_test/
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');
62 $this->assertSame(1, $plan->nextStep(),'autorewrite');
63 $this->assertSame(0, $plan->nextStep(),'done');
89 $this->assertSame(1, $plan->nextStep(),'page');
90 $this->assertSame(1, $plan->nextStep(),'missing');
91 $this->assertSame(1, $plan->nextStep(),'namespace');
92 $this->assertSame(1, $plan->nextStep(),'autorewrite');
[all …]
DstepThroughDocuments.test.php117 $this->assertSame($expected_pages_run,$actual_return,"return values differ");
118 $this->assertSame($expected_file,$actual_file, "files differ");
120 … $this->assertSame(array('oldns:page18' => 'newns:page18',),$actual_move_Operator->movedPages[0]);
121 … $this->assertSame(array('oldns:page09' => 'newns:page09',),$actual_move_Operator->movedPages[9]);
125 $this->assertSame($expected_log,$mock->moveLog[0]);
128 $this->assertSame($expected_log,$mock->moveLog[9]);
133 … $this->assertSame($expected_pages_run,$actual_options['pages_run'],'saved options are wrong');
154 $this->assertSame($expected_pages_run,$actual_return,"return values differ");
155 $this->assertSame($expected_file,$actual_file, "files differ");
157 … $this->assertSame(array('oldns:page17' => 'newns:page17',),$actual_move_Operator->movedPages[0]);
[all …]
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/dwtimeline/_test/
DOptionsParserTest.php17 $this->assertSame(hsc('Release 2025-05-14'), $data['title']);
18 $this->assertSame('vert', $data['align']);
28 $this->assertSame(hsc('He said "Hi" & it\'s fine'), $data['title']);
37 $this->assertSame('', $data['foo']);
38 $this->assertSame('', $data['style']); // style is empty
46 $this->assertSame('wiki:start', $sx->getLink('[[wiki:start|Go]]'));
48 $this->assertSame('https://example.com', $sx->getLink('[[https://example.com|x]]'));
50 $this->assertSame('https://example.com', $sx->getLink('See https://example.com now'));
52 $this->assertSame('doku>interwiki', $sx->getLink('[[doku>interwiki]]'));
54 $this->assertSame('mailto:test@example.com', $sx->getLink('test@example.com'));
[all …]
/plugin/findologicxmlexport/vendor/sebastian/object-enumerator/tests/
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/findologicxmlexport/vendor/sebastian/diff/tests/
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.');
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());
111 $this->assertSame(Line::UNCHANGED, $line->getType());
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());
[all …]
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/
DInlineTest.php32 …$this->assertSame($value, Inline::parse($yaml, $flags), sprintf('::parse() converts an inline YAML…
42 $this->assertSame(serialize($value), serialize($actual));
52 $this->assertSame($value, $actual);
91 … $this->assertSame($value, Inline::parse(Inline::dump($value), $parseFlags), 'check consistency');
118 $this->assertSame($value, Inline::parse(Inline::dump($value)));
195 $this->assertSame($expect, Inline::parseScalar($value));
203 $this->assertSame($expected, Inline::parse($yaml, 0, ['var' => 'var-value']));
227 $this->assertSame([$foo], Inline::parse('[*foo]', 0, ['foo' => $foo]));
293 $this->assertSame($expected, Inline::isHash($array));
539 … $this->assertSame(gmmktime($hour, $minute, $second, $month, $day, $year), Inline::parse($yaml));
[all …]
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));
693 $this->assertSame($expected, $this->parser->parse($yaml));
743 $this->assertSame($expected, $this->parser->parse($yaml));
754 $this->assertSame($expected, $this->parser->parse($yaml));
813 $this->assertSame($expected, Yaml::parse($input));
831 $this->assertSame($expected, Yaml::parse($input));
[all …]
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/
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/
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']);
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/jplayer/vendor/symfony/process/Tests/
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());
286 $this->assertSame($expected, $process->getInput());
383 $this->assertSame($s, $p->$getIncrementalOutput());
384 $this->assertSame('', $p->$getIncrementalOutput());
427 $this->assertSame('0', $p->getOutput());
456 $this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
504 $this->assertSame(Process::STATUS_TERMINATED, $process->getStatus());
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
DGuzzleStreamWrapperTest.php18 $this->assertSame('foo', fread($handle, 3));
19 $this->assertSame(3, ftell($handle));
20 $this->assertSame(3, fwrite($handle, 'bar'));
21 $this->assertSame(0, fseek($handle, 0));
22 $this->assertSame('foobar', fread($handle, 6));
59 $this->assertSame('foobar', (string) $stream);
/plugin/data-au/_test/
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…
Dsyntax_plugin_data_entry.test.php103 $this->assertSame(':foo',$result['id']);
104 $this->assertSame(null,$result['name'], 'page does not accept a title. useheading decides');
124 $this->assertSame(':foo_bar',$result['id'], 'for type page a title becomes part of the id');
125 $this->assertSame(null,$result['name'], 'page never accepts a title. useheading decides');
145 $this->assertSame('foo',$result['id']);
146 …$this->assertSame('foo',$result['name'], 'pageid: use the pageid as title if no title is provided.…
166 $this->assertSame('foo',$result['id'], "wrong id handed to internal link");
167 $this->assertSame('bar',$result['name'], 'pageid: use the provided title');
187 $this->assertSame(':foo',$result['id']);
188 …$this->assertSame(null,$result['name'], 'no title should be given to internal link. Let useheading…
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Invocation/
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);
DStaticTest.php26 $this->assertSame('FooClass', $invocation->className);
38 $this->assertSame('FooMethod', $invocation->methodName);
54 $this->assertSame($expectedParameters, $invocation->parameters);
85 $this->assertSame($expectedReturnType, $invocation->returnType);
/plugin/csv/_test/
DCSVTest.php86 $this->assertSame(174, count($data), 'number of rows');
87 $this->assertSame(21, count($data[0]), 'number of columns');
101 $this->assertSame(59, count($data), 'number of rows');
102 $this->assertSame(21, count($data[0]), 'number of columns');
106 $this->assertSame(3, count($data), 'number of rows');
107 $this->assertSame(21, count($data[0]), 'number of columns');
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Expression/
DExpressionEvaluatorTest.php26 self::assertSame(3, $this->evaluator->evaluate('a + b', ['a' => 1, 'b' => 2]));
35 self::assertSame(3, $evaluated);
44 self::assertSame(3, $evaluated);
53 self::assertSame(6, $evaluated);
64 self::assertSame(3, $evaluated);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/_files/
DFailureTest.php52 $this->assertSame('foo', 'bar', 'message');
57 $this->assertSame(new StdClass, new StdClass, 'message');
62 $this->assertSame(new StdClass, null, 'message');
67 $this->assertSame(1.0, 1.5, 'message');
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
DTemplateTest.php58 $this->assertSame(sprintf($message, 'index'), $e->getMessage());
146 $this->assertSame('', $template->getAttribute($template1, 'empty'));
194 $this->assertSame('', $template->getAttribute($template1, 'empty'));
237 $this->assertSame('Zero', $array[false]);
238 $this->assertSame('One', $array[true]);
239 $this->assertSame('One', $array[1.5]);
240 $this->assertSame('One', $array['1']);
241 $this->assertSame('MinusOne', $array[-1.5]);
242 $this->assertSame('FloatButString', $array['1.5']);
243 $this->assertSame('IntegerButStringWithLeadingZeros', $array['01']);
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/tests/Driver/
DFileLocatorTest.php65 $this->assertSame('Metadata\Tests\Driver\Fixture\A\A', $xmlFiles[0]);
68 $this->assertSame('Metadata\Tests\Driver\Fixture\B\B', $ymlFiles[0]);
69 $this->assertSame('Metadata\Tests\Driver\Fixture\C\SubDir\C', $ymlFiles[1]);
70 $this->assertSame('Metadata\Tests\Driver\Fixture\D\D', $ymlFiles[2]);

12345