Lines Matching refs:assertEquals

61 …$this->assertEquals('FOO', $twig->load('1_basic')->render(self::$params), 'Sandbox does nothing if…
72 …$this->assertEquals('FooObject', $e->getClassName(), 'Exception should be raised on the "FooObject…
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');
109 …$this->assertEquals('FooObject', $e->getClassName(), 'Exception should be raised on the "FooObject…
110 …$this->assertEquals('bar', $e->getPropertyName(), 'Exception should be raised on the "bar" propert…
125 …$this->assertEquals('FooObject', $e->getClassName(), 'Exception should be raised on the "FooObject…
126 …$this->assertEquals('__tostring', $e->getMethodName(), 'Exception should be raised on the "__toStr…
155 $this->assertEquals($output, $twig->load('index')->render(self::$params));
175 …$this->assertEquals('foo', $twig->load('1_basic5')->render(self::$params), 'Sandbox allow some met…
176 $this->assertEquals(1, FooObject::$called['__toString'], 'Sandbox only calls method once');
183 …$this->assertEquals('foo', $twig->load('1_basic5')->render(self::$params), 'Sandbox allows __toStr…
184 $this->assertEquals(1, FooObject::$called['__toString'], 'Sandbox only calls method once');
195 …$this->assertEquals('cycle', $e->getFunctionName(), 'Exception should be raised on the "cycle" fun…
207 …$this->assertEquals('range', $e->getFunctionName(), 'Exception should be raised on the "range" fun…
215 …$this->assertEquals('foo', $twig->load('1_basic1')->render(self::$params), 'Sandbox allow some met…
216 $this->assertEquals(1, FooObject::$called['foo'], 'Sandbox only calls method once');
222 …$this->assertEquals('FABIEN', $twig->load('1_basic2')->render(self::$params), 'Sandbox allow some …
228 …$this->assertEquals('foo', $twig->load('1_basic3')->render(self::$params), 'Sandbox allow some tag…
234 …$this->assertEquals('bar', $twig->load('1_basic4')->render(self::$params), 'Sandbox allow some pro…
240 …$this->assertEquals('bar', $twig->load('1_basic7')->render(self::$params), 'Sandbox allow some fun…
246 …$this->assertEquals('1', $twig->load('1_range_operator')->render(self::$params), 'Sandbox allow th…
254 …$this->assertEquals('foobarfoobar', $twig->load('1_basic8')->render(self::$params), 'Sandbox allow…
255 … $this->assertEquals(2, FooObject::$called['getFooBar'], 'Sandbox only calls method once');
257 …$this->assertEquals('foobarfoobar', $twig->load('1_basic9')->render(self::$params), 'Sandbox allow…
269 …$this->assertEquals('fooFOOfoo', $twig->load('2_basic')->render(self::$params), 'Sandbox does noth…
282 $this->assertEquals('sandbox', $e->getTagName());
297 $this->assertEquals('<p>username</p>', $twig->load('index')->render([]));