Home
last modified time | relevance | path

Searched refs:assertEquals (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/plugin/data-au/_test/
Dhelper.test.php29 $this->assertEquals('', $helper->_cleanData(' ', ''));
30 $this->assertEquals('', $helper->_cleanData('', ''));
31 $this->assertEquals('', $helper->_cleanData(null, ''));
32 $this->assertEquals('', $helper->_cleanData(false, ''));
34 $this->assertEquals('', $helper->_cleanData('', 'dt'));
35 $this->assertEquals('', $helper->_cleanData('this is not a date', 'dt'));
36 $this->assertEquals('1234-01-01', $helper->_cleanData('1234-1-1', 'dt'));
37 $this->assertEquals('1234-01-01', $helper->_cleanData('1234-01-01', 'dt'));
38 $this->assertEquals('%now%', $helper->_cleanData('%now%', 'dt'));
39 $this->assertEquals('', $helper->_cleanData('1234-01-011', 'dt'));
[all …]
/plugin/strata/_test/
Dtypes.test.php19 $this->assertEquals($s, 'bob');
22 $this->assertEquals($s, 'Bob');
25 $this->assertEquals($s, 'Bob');
28 $this->assertEquals($s, 'Bob');
31 $this->assertEquals($s, ' Bob ');
34 $this->assertEquals($s, 'Bob & Alice');
37 $this->assertEquals($s, 'Één ís één.');
44 $this->assertEquals($s, 'bob');
47 $this->assertEquals($s, 'bob');
50 $this->assertEquals($s, '10:bob');
[all …]
/plugin/davcard/vendor/sabre/vobject/tests/VObject/
DReaderTest.php14 $this->assertEquals('VCALENDAR', $result->name);
15 $this->assertEquals(0, count($result->children));
29 $this->assertEquals('VCALENDAR', $result->name);
30 $this->assertEquals(0, count($result->children));
41 $this->assertEquals('VCALENDAR', $result->name);
42 $this->assertEquals(0, count($result->children));
53 $this->assertEquals('VCALENDAR', $result->name);
54 $this->assertEquals(0, count($result->children));
87 $this->assertEquals('SUMMARY', $result->name);
88 $this->assertEquals('propValue', $result->getValue());
[all …]
DPropertyTest.php16 $this->assertEquals('PROPNAME', $property->name);
17 $this->assertEquals('propvalue', $property->__toString());
18 $this->assertEquals('propvalue', (string)$property);
19 $this->assertEquals('propvalue', $property->getValue());
34 $this->assertEquals('value1', $property['param1']->getValue());
35 $this->assertEquals('value2', $property['param2']->getValue());
46 $this->assertEquals('PROPNAME', $property->name);
47 $this->assertEquals('value2', $property->__toString());
91 $this->assertEquals(2,count($property['paramname']->getParts()));
101 $this->assertEquals(1,count($property->parameters()));
[all …]
/plugin/webdavclient/vendor/sabre/vobject/tests/VObject/
DReaderTest.php14 $this->assertEquals('VCALENDAR', $result->name);
15 $this->assertEquals(0, count($result->children));
29 $this->assertEquals('VCALENDAR', $result->name);
30 $this->assertEquals(0, count($result->children));
41 $this->assertEquals('VCALENDAR', $result->name);
42 $this->assertEquals(0, count($result->children));
53 $this->assertEquals('VCALENDAR', $result->name);
54 $this->assertEquals(0, count($result->children));
87 $this->assertEquals('SUMMARY', $result->name);
88 $this->assertEquals('propValue', $result->getValue());
[all …]
DPropertyTest.php16 $this->assertEquals('PROPNAME', $property->name);
17 $this->assertEquals('propvalue', $property->__toString());
18 $this->assertEquals('propvalue', (string)$property);
19 $this->assertEquals('propvalue', $property->getValue());
34 $this->assertEquals('value1', $property['param1']->getValue());
35 $this->assertEquals('value2', $property['param2']->getValue());
46 $this->assertEquals('PROPNAME', $property->name);
47 $this->assertEquals('value2', $property->__toString());
91 $this->assertEquals(2,count($property['paramname']->getParts()));
101 $this->assertEquals(1,count($property->parameters()));
[all …]
/plugin/davcal/vendor/sabre/vobject/tests/VObject/
H A DReaderTest.php14 $this->assertEquals('VCALENDAR', $result->name);
15 $this->assertEquals(0, count($result->children));
29 $this->assertEquals('VCALENDAR', $result->name);
30 $this->assertEquals(0, count($result->children));
41 $this->assertEquals('VCALENDAR', $result->name);
42 $this->assertEquals(0, count($result->children));
53 $this->assertEquals('VCALENDAR', $result->name);
54 $this->assertEquals(0, count($result->children));
87 $this->assertEquals('SUMMARY', $result->name);
88 $this->assertEquals('propValue', $result->getValue());
[all …]
H A DPropertyTest.php16 $this->assertEquals('PROPNAME', $property->name);
17 $this->assertEquals('propvalue', $property->__toString());
18 $this->assertEquals('propvalue', (string)$property);
19 $this->assertEquals('propvalue', $property->getValue());
34 $this->assertEquals('value1', $property['param1']->getValue());
35 $this->assertEquals('value2', $property['param2']->getValue());
46 $this->assertEquals('PROPNAME', $property->name);
47 $this->assertEquals('value2', $property->__toString());
91 $this->assertEquals(2,count($property['paramname']->getParts()));
101 $this->assertEquals(1,count($property->parameters()));
[all …]
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/
DReaderTest.php14 $this->assertEquals('VCALENDAR', $result->name);
15 $this->assertEquals(0, count($result->children()));
30 $this->assertEquals('VCALENDAR', $result->name);
31 $this->assertEquals(0, count($result->children()));
42 $this->assertEquals('VCALENDAR', $result->name);
43 $this->assertEquals(0, count($result->children()));
54 $this->assertEquals('VCALENDAR', $result->name);
55 $this->assertEquals(0, count($result->children()));
88 $this->assertEquals('SUMMARY', $result->name);
89 $this->assertEquals('propValue', $result->getValue());
[all …]
DPropertyTest.php15 $this->assertEquals('PROPNAME', $property->name);
16 $this->assertEquals('propvalue', $property->__toString());
17 $this->assertEquals('propvalue', (string)$property);
18 $this->assertEquals('propvalue', $property->getValue());
33 $this->assertEquals('value1', $property['param1']->getValue());
34 $this->assertEquals('value2', $property['param2']->getValue());
45 $this->assertEquals('PROPNAME', $property->name);
46 $this->assertEquals('value2', $property->__toString());
90 $this->assertEquals(2, count($property['paramname']->getParts()));
100 $this->assertEquals(1, count($property->parameters()));
[all …]
/plugin/latexport/_test/
Ddecorator_tables.test.php33 $this->assertEquals(new CommandPClose(), $this->decoratorMock->nextCommand());
34 $this->assertEquals(new CommandTableOpen(3, 0, 0), $this->decoratorMock->nextCommand());
35 $this->assertEquals(new CommandLinebreak(), $this->decoratorMock->nextCommand());
36 $this->assertEquals(new CommandTableClose(), $this->decoratorMock->nextCommand());
37 $this->assertEquals(new CommandPClose(), $this->decoratorMock->nextCommand());
65 $this->assertEquals(new CommandTableOpen(3, 0, 0), $this->decoratorMock->nextCommand());
67 $this->assertEquals(new CommandTableRowOpen(), $this->decoratorMock->nextCommand());
69 $this->assertEquals(new CommandTableHeaderOpen(1, 1, 1), $this->decoratorMock->nextCommand());
70 $this->assertEquals(new CommandTableHeaderClose(), $this->decoratorMock->nextCommand());
71 $this->assertEquals(new CommandTableHeaderOpen(1, 1, 1), $this->decoratorMock->nextCommand());
[all …]
Ddecorator_includer.test.php46 …$this->assertEquals(1, $this->includes->count(), "Should have one inclu…
49 $this->assertEquals(DecoratorIncluderTest::LINK, $link->getLink(), "Link");
50 …$this->assertEquals(DecoratorIncluderTest::TITLE, $link->getTitle(), "Title is not as expe…
65 $this->assertEquals($this->includes->count(), 0, "Should not have any include");
67 $this->assertEquals(new CommandListUOpen(), $this->decoratorMock->nextCommand());
68 $this->assertEquals(new CommandListItemOpen(1), $this->decoratorMock->nextCommand());
69 $this->assertEquals(new CommandListContentOpen(), $this->decoratorMock->nextCommand());
70 $this->assertEquals(new CommandCData('Follow the link:'), $this->decoratorMock->nextCommand());
71 $this->assertEquals(new CommandInternalLink(
74 $this->assertEquals(new CommandListContentClose(), $this->decoratorMock->nextCommand());
[all …]
/plugin/icalevents/vendor/sabre/vobject/tests/VObject/Property/ICalendar/
DRecurTest.php20 $this->assertEquals(['FREQ' => 'DAILY'], $recur->getParts());
23 $this->assertEquals(['FREQ' => 'MONTHLY'], $recur->getParts());
42 $this->assertEquals($recur->getParts()['COUNT'], 3);
63 $this->assertEquals(3, $count);
71 $this->assertEquals([
96 $this->assertEquals('2016-03-05T23:00:00Z', $untilJsonString);
119 $this->assertEquals(
123 $this->assertEquals(
170 $this->assertEquals(
174 $this->assertEquals(
[all …]
/plugin/latexit/_test/
Drenderer.test.php66 $this->assertEquals('latex', $this->r->getFormat());
83 $this->assertEquals($string, $this->r->doc);
93 $this->assertEquals($string, $this->r->doc);
98 $this->assertEquals($string, $this->r->doc);
103 $this->assertEquals($string, $this->r->doc);
108 $this->assertEquals($string, $this->r->doc);
113 $this->assertEquals($string, $this->r->doc);
118 $this->assertEquals($string, $this->r->doc);
127 $this->assertEquals($string, $this->r->doc);
133 $this->assertEquals($string, $this->r->doc);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/tests/Token/
DFunctionTest.php36 $this->assertEquals([], $this->functions[0]->getArguments());
38 $this->assertEquals(
42 $this->assertEquals(
46 $this->assertEquals(
50 $this->assertEquals([], $this->functions[4]->getArguments());
52 $this->assertEquals(['$x' => null, '$y' => null], $this->functions[5]->getArguments());
60 $this->assertEquals('foo', $this->functions[0]->getName());
61 $this->assertEquals('bar', $this->functions[1]->getName());
62 $this->assertEquals('foobar', $this->functions[2]->getName());
63 $this->assertEquals('barfoo', $this->functions[3]->getName());
[all …]
DClosureTest.php36 $this->assertEquals(['$foo' => null, '$bar' => null], $this->functions[0]->getArguments());
37 $this->assertEquals(['$foo' => 'Foo', '$bar' => null], $this->functions[1]->getArguments());
38 …$this->assertEquals(['$foo' => null, '$bar' => null, '$baz' => null], $this->functions[2]->getArgu…
39 …$this->assertEquals(['$foo' => 'Foo', '$bar' => null, '$baz' => null], $this->functions[3]->getArg…
40 $this->assertEquals([], $this->functions[4]->getArguments());
41 $this->assertEquals([], $this->functions[5]->getArguments());
49 $this->assertEquals('anonymousFunction:2#5', $this->functions[0]->getName());
50 $this->assertEquals('anonymousFunction:3#27', $this->functions[1]->getName());
51 $this->assertEquals('anonymousFunction:4#51', $this->functions[2]->getName());
52 $this->assertEquals('anonymousFunction:5#71', $this->functions[3]->getName());
[all …]
/plugin/struct/_test/
H A DSearchConfigTest.php23 $this->assertEquals('foo:bar:baz', $searchConfig->applyFilterVars('$ID$'));
24 $this->assertEquals('baz', $searchConfig->applyFilterVars('$PAGE$'));
25 $this->assertEquals('foo:bar', $searchConfig->applyFilterVars('$NS$'));
26 $this->assertEquals(date('Y-m-d'), $searchConfig->applyFilterVars('$TODAY$'));
27 $this->assertEquals('', $searchConfig->applyFilterVars('$USER$'));
29 $this->assertEquals('user', $searchConfig->applyFilterVars('$USER$'));
31 $this->assertEquals('user baz', $searchConfig->applyFilterVars('$USER$ $PAGE$'));
32 $this->assertEquals('$user', $searchConfig->applyFilterVars('$user'));
33 $this->assertEquals(date('Y-m-d'), $searchConfig->applyFilterVars('$DATE(now)$'));
45 $this->assertEquals('foo:bar:baz', $searchConfig->applyFilterVars('$NSORID$'));
[all …]
H A DAssignmentsTest.php43 $this->assertEquals([], $ass->getAllPatterns());
44 $this->assertEquals([], $ass->getPageAssignments('foo', true));
45 $this->assertEquals([], $ass->getPageAssignments('foo', false));
48 $this->assertEquals(['foo' => ['foo' => false]], $ass->getPages());
52 $this->assertEquals([], $ass->getPages());
67 $this->assertEquals(
85 $this->assertEquals([], $ass->getPageAssignments('foo'));
86 $this->assertEquals([], $ass->getPageAssignments('a:single'));
87 $this->assertEquals(['singlepage'], $ass->getPageAssignments('a:single:page'));
89 $this->assertEquals([], $ass->getPageAssignments('the:foo'));
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Framework/
DTestCaseTest.php36 $this->assertEquals(
47 $this->assertEquals(PHPUnit_Runner_BaseTestRunner::STATUS_PASSED, $test->getStatus());
48 $this->assertEquals(0, $result->errorCount());
49 $this->assertEquals(0, $result->failureCount());
50 $this->assertEquals(0, $result->skippedCount());
59 $this->assertEquals(PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE, $test->getStatus());
60 $this->assertEquals(0, $result->errorCount());
61 $this->assertEquals(1, $result->failureCount());
62 $this->assertEquals(0, $result->skippedCount());
71 $this->assertEquals(PHPUnit_Runner_BaseTestRunner::STATUS_ERROR, $test->getStatus());
[all …]
/plugin/struct/_test/types/
H A DAbstractBaseTest.php36 $this->assertEquals(
48 $this->assertEquals('A Label', $type->getTranslatedLabel());
49 $this->assertEquals('', $type->getTranslatedHint());
61 $this->assertEquals(
73 $this->assertEquals('A Label', $type->getTranslatedLabel());
74 $this->assertEquals('english hint', $type->getTranslatedHint());
87 $this->assertEquals(
107 $this->assertEquals('A Label', $type->getTranslatedLabel());
108 $this->assertEquals('', $type->getTranslatedHint());
110 $this->assertEquals('A Label', $type->getTranslatedLabel());
[all …]
/plugin/davcal/vendor/sabre/dav/tests/Sabre/DAV/
H A DTemporaryFileFilterTest.php24 $this->assertEquals('', $this->response->body);
25 $this->assertEquals(201, $this->response->status);
26 $this->assertEquals('0', $this->response->getHeader('Content-Length'));
28 $this->assertEquals('Testing new file',file_get_contents(SABRE_TEMPDIR . '/testput.txt'));
40 $this->assertEquals('', $this->response->body);
41 $this->assertEquals(201, $this->response->status);
42 $this->assertEquals(array(
58 $this->assertEquals('', $this->response->body);
59 $this->assertEquals(201, $this->response->status);
60 $this->assertEquals(array(
[all …]
H A DClientTest.php38 $this->assertEquals("foo:bar", $client->curlSettings[CURLOPT_USERPWD]);
39 … $this->assertEquals(CURLAUTH_BASIC | CURLAUTH_DIGEST, $client->curlSettings[CURLOPT_HTTPAUTH]);
52 $this->assertEquals("foo:bar", $client->curlSettings[CURLOPT_USERPWD]);
53 $this->assertEquals(CURLAUTH_BASIC, $client->curlSettings[CURLOPT_HTTPAUTH]);
66 $this->assertEquals("foo:bar", $client->curlSettings[CURLOPT_USERPWD]);
67 $this->assertEquals(CURLAUTH_DIGEST, $client->curlSettings[CURLOPT_HTTPAUTH]);
80 $this->assertEquals("foo:bar", $client->curlSettings[CURLOPT_USERPWD]);
81 $this->assertEquals(CURLAUTH_NTLM, $client->curlSettings[CURLOPT_HTTPAUTH]);
92 $this->assertEquals("localhost:8888", $client->curlSettings[CURLOPT_PROXY]);
103 $this->assertEquals("identity,deflate,gzip", $client->curlSettings[CURLOPT_ENCODING]);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/tests/tests/
DBuilderTest.php30 $this->assertEquals($expectedPath, $root->getName());
31 $this->assertEquals($expectedPath, $root->getPath());
32 $this->assertEquals(10, $root->getNumExecutableLines());
33 $this->assertEquals(5, $root->getNumExecutedLines());
34 $this->assertEquals(1, $root->getNumClasses());
35 $this->assertEquals(0, $root->getNumTestedClasses());
36 $this->assertEquals(4, $root->getNumMethods());
37 $this->assertEquals(3, $root->getNumTestedMethods());
38 $this->assertEquals('0.00%', $root->getTestedClassesPercent());
39 $this->assertEquals('75.00%', $root->getTestedMethodsPercent());
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Util/TestDox/
DNamePrettifierTest.php22 $this->assertEquals('Foo', $this->namePrettifier->prettifyTestClass('FooTest'));
23 $this->assertEquals('Foo', $this->namePrettifier->prettifyTestClass('TestFoo'));
24 $this->assertEquals('Foo', $this->namePrettifier->prettifyTestClass('TestFooTest'));
25 $this->assertEquals('Foo', $this->namePrettifier->prettifyTestClass('Test\FooTest'));
33 $this->assertEquals('Foo', $this->namePrettifier->prettifyTestClass('FooTestCase'));
34 $this->assertEquals('TestFoo', $this->namePrettifier->prettifyTestClass('TestFoo'));
35 $this->assertEquals('FooTest', $this->namePrettifier->prettifyTestClass('FooTest'));
43 $this->assertEquals('Foo', $this->namePrettifier->prettifyTestClass('XXXFoo'));
44 $this->assertEquals('TestXXX', $this->namePrettifier->prettifyTestClass('TestXXX'));
45 $this->assertEquals('XXX', $this->namePrettifier->prettifyTestClass('XXXXXX'));
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Util/
DConfigurationTest.php39 … $this->assertEquals(PHPUnit_TextUI_ResultPrinter::COLOR_AUTO, $configurationValues['colors']);
48 … $this->assertEquals(PHPUnit_TextUI_ResultPrinter::COLOR_NEVER, $configurationValues['colors']);
57 … $this->assertEquals(PHPUnit_TextUI_ResultPrinter::COLOR_NEVER, $configurationValues['colors']);
66 … $this->assertEquals(PHPUnit_TextUI_ResultPrinter::COLOR_NEVER, $configurationValues['colors']);
71 $this->assertEquals(
120 $this->assertEquals(
137 $this->assertEquals(
159 $this->assertEquals(
202 $this->assertEquals(
223 $this->assertEquals(
[all …]

12345678910>>...43