/plugin/aichat/vendor/vanderlee/php-sentence/tests/ |
H A D | SentenceTest.php | 33 $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( [all...] |
/plugin/move/_test/ |
H A D | namespace_move.test.php | 58 $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( [all...] |
H A D | stepThroughDocuments.test.php | 117 $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(arra [all...] |
H A D | findMissingDocuments.test.php | 60 $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 configuration fails'); 100 $this->assertSame(array('oldns:missing.png' => 'newns:missing.png',),$tmpstore['miss_media']); 111 $this->assertSame(array(),$tmpstore['miss_media']);
|
/plugin/findologicxmlexport/vendor/sebastian/object-enumerator/tests/ |
H A D | EnumeratorTest.php | 37 $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/ |
H A D | DiffTest.php | 28 $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.');
|
H A D | ParserTest.php | 98 $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 …]
|
/plugin/mdpage/vendor/cebe/markdown/tests/ |
H A D | BaseMarkdownTest.php | 43 …$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/symfony/yaml/Tests/ |
H A D | InlineTest.php | 42 $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 D | ParserTest.php | 400 $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 D | DumperTest.php | 99 …$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/findologicxmlexport/vendor/phpunit/php-token-stream/tests/Token/ |
H A D | InterfaceTest.php | 120 $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 D | NamespaceTest.php | 26 $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/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
H A D | GuzzleStreamWrapperTest.php | 18 $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/jplayer/vendor/symfony/process/Tests/ |
H A D | ProcessTest.php | 100 $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/findologicxmlexport/vendor/phpunit/phpunit-mock-objects/tests/MockObject/Invocation/ |
H A D | ObjectTest.php | 28 $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);
|
H A D | StaticTest.php | 26 $this->assertSame('FooClass', $invocation->className); 38 $this->assertSame('FooMethod', $invocation->methodName); 54 $this->assertSame($expectedParameters, $invocation->parameters); 85 $this->assertSame($expectedReturnType, $invocation->returnType);
|
/plugin/data-au/_test/ |
H A D | db.test.php | 53 $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…
|
H A D | syntax_plugin_data_entry.test.php | 103 $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']); 209 $this->assertSame(':link:to:page',$result['id']); [all …]
|
/plugin/data/_test/ |
H A D | db.test.php |
|
H A D | syntax_plugin_data_entry.test.php |
|
/plugin/csv/_test/ |
H A D | CSVTest.php | 86 $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/ |
H A D | ExpressionEvaluatorTest.php | 26 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/ |
H A D | FailureTest.php | 52 $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/ |
H A D | TemplateTest.php | 58 $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 …]
|