Documentation

DumperTest extends TestCase
in package

Table of Contents

Properties

$array  : mixed
$dumper  : mixed
$parser  : mixed
$path  : mixed

Methods

getEscapeSequences()  : mixed
objectAsMapProvider()  : mixed
testBinaryDataIsDumpedBase64Encoded()  : mixed
testDumpEmptyArrayObjectInstanceAsMap()  : mixed
testDumpEmptyStdClassInstanceAsMap()  : mixed
testDumpingArrayObjectInstancesRespectsInlineLevel()  : mixed
testDumpingArrayObjectInstancesWithNumericKeysInlined()  : mixed
testDumpingArrayObjectInstancesWithNumericKeysRespectsInlineLevel()  : mixed
testDumpingStdClassInstancesRespectsInlineLevel()  : mixed
testDumpMultiLineStringAsScalarBlock()  : mixed
testDumpObjectAsMap()  : mixed
testEmptyArray()  : mixed
testEscapedEscapeSequencesInQuotedScalar()  : mixed
testIndentationInConstructor()  : mixed
testInlineLevel()  : mixed
testNegativeIndentationThrowsException()  : mixed
testNonUtf8DataIsDumpedBase64Encoded()  : mixed
testObjectSupportDisabledButNoExceptions()  : mixed
testObjectSupportDisabledWithExceptions()  : mixed
testObjectSupportDisabledWithExceptionsPassingTrue()  : mixed
testObjectSupportEnabled()  : mixed
testObjectSupportEnabledPassingTrue()  : mixed
testSetIndentation()  : mixed
testSpecifications()  : mixed
testZeroIndentationThrowsException()  : mixed
setUp()  : mixed
tearDown()  : mixed

Properties

$array

protected mixed $array = array('' => 'bar', 'foo' => '#bar', 'foo\'bar' => array(), 'bar' => array(1, 'foo'), 'foobar' => array('foo' => 'bar', 'bar' => array(1, 'foo'), 'foobar' => array('foo' => 'bar', 'bar' => array(1, 'foo'))))

Methods

getEscapeSequences()

public getEscapeSequences() : mixed

objectAsMapProvider()

public objectAsMapProvider() : mixed

testBinaryDataIsDumpedBase64Encoded()

public testBinaryDataIsDumpedBase64Encoded() : mixed

testDumpEmptyArrayObjectInstanceAsMap()

public testDumpEmptyArrayObjectInstanceAsMap() : mixed

testDumpEmptyStdClassInstanceAsMap()

public testDumpEmptyStdClassInstanceAsMap() : mixed

testDumpingArrayObjectInstancesRespectsInlineLevel()

public testDumpingArrayObjectInstancesRespectsInlineLevel() : mixed

testDumpingArrayObjectInstancesWithNumericKeysInlined()

public testDumpingArrayObjectInstancesWithNumericKeysInlined() : mixed

testDumpingArrayObjectInstancesWithNumericKeysRespectsInlineLevel()

public testDumpingArrayObjectInstancesWithNumericKeysRespectsInlineLevel() : mixed

testDumpingStdClassInstancesRespectsInlineLevel()

public testDumpingStdClassInstancesRespectsInlineLevel() : mixed

testDumpMultiLineStringAsScalarBlock()

public testDumpMultiLineStringAsScalarBlock() : mixed

testDumpObjectAsMap()

public testDumpObjectAsMap(mixed $object, mixed $expected) : mixed
Parameters
$object : mixed
$expected : mixed
Tags
dataProvider

objectAsMapProvider

testEmptyArray()

public testEmptyArray() : mixed

testEscapedEscapeSequencesInQuotedScalar()

public testEscapedEscapeSequencesInQuotedScalar(mixed $input, mixed $expected) : mixed
Parameters
$input : mixed
$expected : mixed
Tags
dataProvider

getEscapeSequences

testIndentationInConstructor()

public testIndentationInConstructor() : mixed

testInlineLevel()

public testInlineLevel() : mixed

testNegativeIndentationThrowsException()

public testNegativeIndentationThrowsException() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The indentation must be greater than zero

testNonUtf8DataIsDumpedBase64Encoded()

public testNonUtf8DataIsDumpedBase64Encoded() : mixed

testObjectSupportDisabledButNoExceptions()

public testObjectSupportDisabledButNoExceptions() : mixed

testObjectSupportDisabledWithExceptions()

public testObjectSupportDisabledWithExceptions() : mixed
Tags
expectedException

\Symfony\Component\Yaml\Exception\DumpException

testObjectSupportDisabledWithExceptionsPassingTrue()

public testObjectSupportDisabledWithExceptionsPassingTrue() : mixed
Tags
group

legacy

expectedException

\Symfony\Component\Yaml\Exception\DumpException

testObjectSupportEnabled()

public testObjectSupportEnabled() : mixed

testObjectSupportEnabledPassingTrue()

public testObjectSupportEnabledPassingTrue() : mixed
Tags
group

legacy

testSetIndentation()

public testSetIndentation() : mixed
Tags
group

legacy

testSpecifications()

public testSpecifications() : mixed

testZeroIndentationThrowsException()

public testZeroIndentationThrowsException() : mixed
Tags
expectedException

\InvalidArgumentException

expectedExceptionMessage

The indentation must be greater than zero


        
On this page

Search results