Searched refs:assertEquals (Results 576 – 600 of 1007) sorted by last modified time
1...<<21222324252627282930>>...41
63 …abstract public function assertEquals($expected, $actual, $delta = 0.0, $canonicalize = false, $ig… function in SebastianBergmann\\Comparator\\Comparator
51 …$this->assertEquals($expected, $this->differ->diffToArray($from, $to, new TimeEfficientImplementat…62 … $this->assertEquals($expected, $this->differ->diff($from, $to, new TimeEfficientImplementation));73 …$this->assertEquals($expected, $this->differ->diffToArray($from, $to, new MemoryEfficientImplement…84 …$this->assertEquals($expected, $this->differ->diff($from, $to, new MemoryEfficientImplementation));91 $this->assertEquals(99 $this->assertEquals(115 $this->assertEquals($expected, $result);
115 $this->assertEquals($key, $this->context->add($value));118 $this->assertEquals($key, $this->context->add($value));130 $this->assertEquals($key, $this->context->contains($value));133 $this->assertEquals($key, $this->context->contains($value));
24 $this->assertEquals($message, $exception->getMessage());32 $this->assertEquals($message, $exception->getMessage());
85 $this->assertEquals('foo', $this->parser->parse($yaml));449 $this->assertEquals($expected, $this->parser->parse($yaml, $flags));908 $this->assertEquals(['hash' => null], Yaml::parse($input));913 $this->assertEquals([939 $this->assertEquals(['content' => <<<'EOT'967 $this->assertEquals([['content' => <<<'EOT'996 $this->assertEquals([[1028 $this->assertEquals([1114 $this->assertEquals($expected, $this->parser->parse($yaml));1573 $this->assertEquals($expected, $this->parser->parse($yaml));[all …]
24 $this->assertEquals($data, $parsed);
27 $this->assertEquals(array(), twig_shuffle_filter(array()));
33 $this->assertEquals($expected, $extension->diff($this->env, $date, $now));48 …$this->assertEquals($expected, $extension->diff($this->env, new DateTime($date), new DateTime($now…
35 $this->assertEquals($expectedOutput, $output);
17 $this->assertEquals('<foo:array>', (string) $grammar);
17 $this->assertEquals('foo', (string) $grammar);
17 $this->assertEquals('[foo <bar:number>]', (string) $grammar);
22 …$this->assertEquals($grammar, Twig_Extensions_SimpleTokenParser::parseGrammar($str), '::parseGramm…31 $this->assertEquals('Twig_Error_Runtime', get_class($e));38 $this->assertEquals('Twig_Error_Runtime', get_class($e));45 $this->assertEquals('Twig_Error_Runtime', get_class($e));
27 self::assertEquals(36 self::assertEquals(46 self::assertEquals(62 self::assertEquals(82 self::assertEquals($plainMetadata, $doctrineMetadata);
17 self::assertEquals(['age', 'name'], array_keys($m->propertyMetadata));59 self::assertEquals($p, $m->propertyMetadata['title']);72 self::assertEquals($p, $m->propertyMetadata['title']);
21 $this->assertEquals($meta, $restoredMeta);
17 $this->assertEquals($meta, $restoredMeta);
29 self::assertEquals($expected, $strategy->translateName($mockProperty));
30 self::assertEquals($propertyName, $strategy->translateName($mockProperty));
61 $this->assertEquals(EmptyValueNotAllowedException::class, get_class($exception));122 $this->assertEquals($expectedException, get_class($e));176 $this->assertEquals(EmptyValueNotAllowedException::class, get_class($exception));
35 $this->assertEquals('Empty values are not allowed!', $e->getMessage());82 $this->assertEquals('Value is not a valid number!', $e->getMessage());
34 $this->assertEquals('foo in {"foo":"bar"}', $error->getMessage());60 $this->assertEquals(3, $e->getTemplateLine());88 $this->assertEquals(3, $e->getTemplateLine());105 $this->assertEquals(3, $e->getTemplateLine());107 $this->assertEquals(3, $e->getLine());124 $this->assertEquals(3, $e->getTemplateLine());126 $this->assertEquals(3, $e->getLine());147 $this->assertEquals($line, $e->getTemplateLine());148 $this->assertEquals($name, $e->getSourceContext()->getName());157 $this->assertEquals($line, $e->getTemplateLine());[all …]
61 …$this->assertEquals($expected, $parser->parse($stream)->getNode('body')->getNode(0)->getNode('expr…181 …$this->assertEquals($expected, $parser->parse($stream)->getNode('body')->getNode(0)->getNode('expr…
37 $this->assertEquals($output, $d1->date.$d2->date);
73 … $this->assertEquals('foo', $e->getMethodName(), 'Exception should be raised on the "foo" method');85 …$this->assertEquals('upper', $e->getFilterName(), 'Exception should be raised on the "upper" filte…97 … $this->assertEquals('if', $e->getTagName(), 'Exception should be raised on the "if" tag');155 $this->assertEquals($output, $twig->load('index')->render(self::$params));176 $this->assertEquals(1, FooObject::$called['__toString'], 'Sandbox only calls method once');184 $this->assertEquals(1, FooObject::$called['__toString'], 'Sandbox only calls method once');216 $this->assertEquals(1, FooObject::$called['foo'], 'Sandbox only calls method once');228 …$this->assertEquals('foo', $twig->load('1_basic3')->render(self::$params), 'Sandbox allow some tag…255 … $this->assertEquals(2, FooObject::$called['getFooBar'], 'Sandbox only calls method once');282 $this->assertEquals('sandbox', $e->getTagName());[all …]