Home
last modified time | relevance | path

Searched refs:assertSame (Results 1 – 25 of 108) sorted by path

12345

/plugin/aclplusregex/_test/
H A Dacl.test.php
/plugin/aichat/vendor/vanderlee/php-sentence/tests/
H A DMultibyteTest.php16 $this->assertSame($expected, Multibyte::split($pattern, $subject, $limit, $flags));
H A 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(
[all...]
/plugin/booking/_test/
H A Dhelper.test.php69 $this->assertSame(3, count($bookings));
80 $this->assertSame(2, count($bookings));
/plugin/captcha/_test/
H A DHelperTest.php
/plugin/csv/_test/
H A 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/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…
H A 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']);
209 $this->assertSame(':link:to:page',$result['id']);
[all …]
/plugin/data/_test/
H A Ddb.test.php
H A Dsyntax_plugin_data_entry.test.php
/plugin/dw2pdf/_test/
H A DActionPagenameSortTest.php101 $this->assertSame($prepared, $input);
/plugin/elasticsearch/_test/
H A Dacl.test.php134 $this->assertSame($expected, auth_aclcheck($page, $user, [$group]));
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DAppendStreamTest.php71 $this->assertSame('foofoo', (string) $a);
73 $this->assertSame('', (string) $a);
74 $this->assertSame(0, $a->getSize());
82 $this->assertSame('', (string) $a);
108 $this->assertSame(0, $a->tell());
114 $this->assertSame(9, $a->tell());
153 $this->assertSame('', (string) $a);
H A DAsyncReadStreamTest.php73 $this->assertSame($buffer, $a->stream);
118 $this->assertSame($b, $buffer);
152 $this->assertSame($buf, $buffer);
179 $this->assertSame($buf, $b);
H A 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);
H A DStreamDecoratorTraitTest.php57 $this->assertSame($this->b, $this->b->setSize(2));
114 $this->assertSame($this->b->getMetadata(), $this->a->getMetadata());
115 $this->assertSame($this->b->getMetadata('uri'), $this->a->getMetadata('uri'));
H A DStreamTest.php116 $this->assertSame(ftell($handle), $stream->tell());
135 $this->assertSame($r, $stream->detach());
147 $this->assertSame('', (string) $stream);
148 $this->assertSame('', $stream->getContents());
192 $this->assertSame(file_get_contents(__FILE__), (string) $s);
206 $this->assertSame($s, Stream::factory($s));
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/Exception/
H A DSeekExceptionTest.php14 $this->assertSame($s, $e->getStream());
/plugin/elwikiupgrade/_test/
H A Dversion.test.php36 $this->assertSame($expected, $plugin->dateFromVersion($version));
/plugin/farmer/_test/
H A DgetUserLine.test.php
/plugin/findologicxmlexport/vendor/jms/metadata/tests/Driver/
H A DAbstractFileDriverTest.php48 $this->assertSame($metadata, $this->driver->loadMetadataForClass($class));
60 $this->assertSame(null, $this->driver->loadMetadataForClass($class));
72 $this->assertSame(['\stdClass'], $this->driver->getAllClassNames($class));
H A DDriverChainTest.php23 … $this->assertSame($metadata, $chain->loadMetadataForClass(new \ReflectionClass('\stdClass')));
42 $this->assertSame(['Foo', 'Bar'], $chain->getAllClassNames());
H A 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]);
/plugin/findologicxmlexport/vendor/jms/metadata/tests/
H A DMetadataFactoryTest.php140 …$this->assertSame($metadata, reset($factory->getMetadataForClass('Metadata\Tests\Fixtures\TestObje…
197 $this->assertSame([], $factory->getAllClassNames());
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Expression/
H A 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);

12345