Lines Matching refs:dumper

22     protected $dumper;  variable in Symfony\\Component\\Yaml\\Tests\\DumperTest
43 $this->dumper = new Dumper();
50 $this->dumper = null;
57 $dumper = new Dumper(7);
77 $this->assertEquals($expected, $dumper->dump($this->array, 4, 0));
99 …$this->assertSame($expected, $this->parser->parse($this->dumper->dump($expected, 10)), $test['test…
110 …$this->assertEquals($expected, $this->dumper->dump($this->array, -10), '->dump() takes an inline l…
111 …$this->assertEquals($expected, $this->dumper->dump($this->array, 0), '->dump() takes an inline lev…
121 …$this->assertEquals($expected, $this->dumper->dump($this->array, 1), '->dump() takes an inline lev…
136 …$this->assertEquals($expected, $this->dumper->dump($this->array, 2), '->dump() takes an inline lev…
155 …$this->assertEquals($expected, $this->dumper->dump($this->array, 3), '->dump() takes an inline lev…
176 …$this->assertEquals($expected, $this->dumper->dump($this->array, 4), '->dump() takes an inline lev…
177 …$this->assertEquals($expected, $this->dumper->dump($this->array, 10), '->dump() takes an inline le…
182 $dump = $this->dumper->dump(['foo' => new A(), 'bar' => 1], 0, 0, Yaml::DUMP_OBJECT);
189 $dump = $this->dumper->dump(['foo' => new A(), 'bar' => 1]);
199 … $this->dumper->dump(['foo' => new A(), 'bar' => 1], 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
207 $this->assertEquals($expected, $this->dumper->dump($input));
240 $this->assertSame($expected, $this->dumper->dump(['data' => $binaryData]));
246 $this->assertSame('!!binary ZsM/cg==', $this->dumper->dump("f\xc3\x3fr"));
254 $yaml = $this->dumper->dump($object, 0, 0, Yaml::DUMP_OBJECT_AS_MAP);
294 $yaml = $this->dumper->dump($outer, 2, 0, Yaml::DUMP_OBJECT_AS_MAP);
313 $yaml = $this->dumper->dump($outer, 0, 0, Yaml::DUMP_OBJECT_AS_MAP);
325 $yaml = $this->dumper->dump($outer, 2, 0, Yaml::DUMP_OBJECT_AS_MAP);
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));
362 $yaml = $this->dumper->dump($outer, 2, 0, Yaml::DUMP_OBJECT_AS_MAP);
388 …ontents(__DIR__.'/Fixtures/multiple_lines_as_literal_block.yml'), $this->dumper->dump($data, 2, 0,…
399 …ultiple_lines_as_literal_block_leading_space_in_first_line.yml'), $this->dumper->dump($data, 2, 0,…
404 …$this->assertSame("- \"a\\r\\nb\\nc\"\n", $this->dumper->dump(["a\r\nb\nc"], 2, 0, Yaml::DUMP_MULT…