InlineTest
extends TestCase
in package
Table of Contents
- getBinaryData() : mixed
- getDataForIsHash() : mixed
- getDataForParseReferences() : mixed
- getDateTimeDumpTests() : mixed
- getInvalidBinaryData() : mixed
- getNotPhpCompatibleMappingKeyData() : mixed
- getReservedIndicators() : mixed
- getScalarIndicators() : mixed
- getTestsForDump() : mixed
- getTestsForNullValues() : mixed
- getTestsForOctalNumbers() : mixed
- getTestsForParse() : mixed
- getTestsForParseLegacyPhpConstants() : mixed
- getTestsForParsePhpConstants() : mixed
- getTestsForParseWithMapObjects() : mixed
- getTimestampTests() : mixed
- phpConstTagWithEmptyValueProvider() : mixed
- phpObjectTagWithEmptyValueProvider() : mixed
- testDeprecatedConstantTag() : mixed
- testDeprecatedStrTag() : mixed
- testDump() : mixed
- testDumpDateTime() : mixed
- testDumpNumericValueWithLocale() : mixed
- testExplicitStringCastingOfMappingKeys() : mixed
- testHashStringsResemblingExponentialNumericsShouldNotBeChangedToINF() : mixed
- testImplicitStringCastingOfMappingKeysIsDeprecated() : mixed
- testIsHash() : mixed
- testNotSupportedMissingValue() : mixed
- testOmittedMappingKeyIsParsedAsColon() : mixed
- testParse() : mixed
- testParseBinaryData() : mixed
- testParseCommentNotPrefixedBySpaces() : mixed
- testParseInvalidBinaryData() : mixed
- testParseInvalidMappingKeyShouldThrowException() : mixed
- testParseInvalidMappingShouldThrowException() : mixed
- testParseInvalidSequenceShouldThrowException() : mixed
- testParseInvalidTaggedSequenceShouldThrowException() : mixed
- testParseMappingKeyWithColonNotFollowedBySpace() : mixed
- testParseMapReferenceInSequence() : mixed
- testParseMapReferenceInSequenceAsFifthArgument() : mixed
- testParseMissingMappingValueAsNull() : mixed
- testParseNegativeOctalNumberContainingInvalidDigits() : mixed
- testParseNestedTimestampListAsDateTimeObject() : mixed
- testParseOctalNumbers() : mixed
- testParsePhpConstants() : mixed
- testParsePhpConstantThrowsExceptionOnInvalidType() : mixed
- testParsePhpConstantThrowsExceptionWhenUndefined() : mixed
- testParsePositiveOctalNumberContainingInvalidDigits() : mixed
- testParseReferences() : mixed
- testParseReferencesAsFifthArgument() : mixed
- testParseScalarWithCorrectlyQuotedStringShouldReturnString() : mixed
- testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException() : mixed
- testParseScalarWithIncorrectlyQuotedStringShouldThrowException() : mixed
- testParseScalarWithNonEscapedBlackslashAtTheEndShouldThrowException() : mixed
- testParseScalarWithNonEscapedBlackslashShouldThrowException() : mixed
- testParseTimestampAsDateTimeObject() : mixed
- testParseTimestampAsUnixTimestampByDefault() : mixed
- testParseUnquotedAsterisk() : mixed
- testParseUnquotedAsteriskFollowedByAComment() : mixed
- testParseUnquotedScalarStartingWithPercentCharacter() : mixed
- testParseUnquotedScalarStartingWithReservedIndicator() : mixed
- testParseUnquotedScalarStartingWithScalarIndicator() : mixed
- testParseUnquotedStringContainingHashTagNotPrefixedBySpace() : mixed
- testParseWithMapObjects() : mixed
- testParseWithMapObjectsPassingTrue() : mixed
- testPhpConstTagWithEmptyValue() : mixed
- testPhpObjectWithEmptyValue() : mixed
- testTheEmptyStringIsAValidMappingKey() : mixed
- testUnfinishedInlineMap() : mixed
- testVeryLongQuotedStrings() : mixed
- setUp() : mixed
Methods
getBinaryData()
public
getBinaryData() : mixed
Return values
mixed —getDataForIsHash()
public
getDataForIsHash() : mixed
Return values
mixed —getDataForParseReferences()
public
getDataForParseReferences() : mixed
Return values
mixed —getDateTimeDumpTests()
public
getDateTimeDumpTests() : mixed
Return values
mixed —getInvalidBinaryData()
public
getInvalidBinaryData() : mixed
Return values
mixed —getNotPhpCompatibleMappingKeyData()
public
getNotPhpCompatibleMappingKeyData() : mixed
Return values
mixed —getReservedIndicators()
public
getReservedIndicators() : mixed
Return values
mixed —getScalarIndicators()
public
getScalarIndicators() : mixed
Return values
mixed —getTestsForDump()
public
getTestsForDump() : mixed
Return values
mixed —getTestsForNullValues()
public
getTestsForNullValues() : mixed
Return values
mixed —getTestsForOctalNumbers()
public
getTestsForOctalNumbers() : mixed
Return values
mixed —getTestsForParse()
public
getTestsForParse() : mixed
Return values
mixed —getTestsForParseLegacyPhpConstants()
public
getTestsForParseLegacyPhpConstants() : mixed
Return values
mixed —getTestsForParsePhpConstants()
public
getTestsForParsePhpConstants() : mixed
Return values
mixed —getTestsForParseWithMapObjects()
public
getTestsForParseWithMapObjects() : mixed
Return values
mixed —getTimestampTests()
public
getTimestampTests() : mixed
Return values
mixed —phpConstTagWithEmptyValueProvider()
public
phpConstTagWithEmptyValueProvider() : mixed
Return values
mixed —phpObjectTagWithEmptyValueProvider()
public
phpObjectTagWithEmptyValueProvider() : mixed
Return values
mixed —testDeprecatedConstantTag()
public
testDeprecatedConstantTag(mixed $yaml, mixed $expectedValue) : mixed
Parameters
- $yaml : mixed
- $expectedValue : mixed
Tags
Return values
mixed —testDeprecatedStrTag()
public
testDeprecatedStrTag() : mixed
Tags
Return values
mixed —testDump()
public
testDump(mixed $yaml, mixed $value, mixed $parseFlags) : mixed
Parameters
- $yaml : mixed
- $value : mixed
- $parseFlags : mixed
Tags
Return values
mixed —testDumpDateTime()
public
testDumpDateTime(mixed $dateTime, mixed $expected) : mixed
Parameters
- $dateTime : mixed
- $expected : mixed
Tags
Return values
mixed —testDumpNumericValueWithLocale()
public
testDumpNumericValueWithLocale() : mixed
Return values
mixed —testExplicitStringCastingOfMappingKeys()
public
testExplicitStringCastingOfMappingKeys(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
Return values
mixed —testHashStringsResemblingExponentialNumericsShouldNotBeChangedToINF()
public
testHashStringsResemblingExponentialNumericsShouldNotBeChangedToINF() : mixed
Return values
mixed —testImplicitStringCastingOfMappingKeysIsDeprecated()
public
testImplicitStringCastingOfMappingKeysIsDeprecated(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
Return values
mixed —testIsHash()
public
testIsHash(mixed $array, mixed $expected) : mixed
Parameters
- $array : mixed
- $expected : mixed
Tags
Return values
mixed —testNotSupportedMissingValue()
public
testNotSupportedMissingValue() : mixed
Return values
mixed —testOmittedMappingKeyIsParsedAsColon()
public
testOmittedMappingKeyIsParsedAsColon() : mixed
Tags
Return values
mixed —testParse()
public
testParse(mixed $yaml, mixed $value, mixed $flags) : mixed
Parameters
- $yaml : mixed
- $value : mixed
- $flags : mixed
Tags
Return values
mixed —testParseBinaryData()
public
testParseBinaryData(mixed $data) : mixed
Parameters
- $data : mixed
Tags
Return values
mixed —testParseCommentNotPrefixedBySpaces()
public
testParseCommentNotPrefixedBySpaces() : mixed
Return values
mixed —testParseInvalidBinaryData()
public
testParseInvalidBinaryData(mixed $data, mixed $expectedMessage) : mixed
Parameters
- $data : mixed
- $expectedMessage : mixed
Tags
Return values
mixed —testParseInvalidMappingKeyShouldThrowException()
public
testParseInvalidMappingKeyShouldThrowException() : mixed
Return values
mixed —testParseInvalidMappingShouldThrowException()
public
testParseInvalidMappingShouldThrowException() : mixed
Return values
mixed —testParseInvalidSequenceShouldThrowException()
public
testParseInvalidSequenceShouldThrowException() : mixed
Return values
mixed —testParseInvalidTaggedSequenceShouldThrowException()
public
testParseInvalidTaggedSequenceShouldThrowException() : mixed
Return values
mixed —testParseMappingKeyWithColonNotFollowedBySpace()
public
testParseMappingKeyWithColonNotFollowedBySpace() : mixed
Tags
Return values
mixed —testParseMapReferenceInSequence()
public
testParseMapReferenceInSequence() : mixed
Return values
mixed —testParseMapReferenceInSequenceAsFifthArgument()
public
testParseMapReferenceInSequenceAsFifthArgument() : mixed
Tags
Return values
mixed —testParseMissingMappingValueAsNull()
public
testParseMissingMappingValueAsNull(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
Return values
mixed —testParseNegativeOctalNumberContainingInvalidDigits()
public
testParseNegativeOctalNumberContainingInvalidDigits() : mixed
Return values
mixed —testParseNestedTimestampListAsDateTimeObject()
public
testParseNestedTimestampListAsDateTimeObject(mixed $yaml, mixed $year, mixed $month, mixed $day, mixed $hour, mixed $minute, mixed $second) : mixed
Parameters
- $yaml : mixed
- $year : mixed
- $month : mixed
- $day : mixed
- $hour : mixed
- $minute : mixed
- $second : mixed
Tags
Return values
mixed —testParseOctalNumbers()
public
testParseOctalNumbers(mixed $expected, mixed $yaml) : mixed
Parameters
- $expected : mixed
- $yaml : mixed
Tags
Return values
mixed —testParsePhpConstants()
public
testParsePhpConstants(mixed $yaml, mixed $value) : mixed
Parameters
- $yaml : mixed
- $value : mixed
Tags
Return values
mixed —testParsePhpConstantThrowsExceptionOnInvalidType()
public
testParsePhpConstantThrowsExceptionOnInvalidType() : mixed
Return values
mixed —testParsePhpConstantThrowsExceptionWhenUndefined()
public
testParsePhpConstantThrowsExceptionWhenUndefined() : mixed
Return values
mixed —testParsePositiveOctalNumberContainingInvalidDigits()
public
testParsePositiveOctalNumberContainingInvalidDigits() : mixed
Return values
mixed —testParseReferences()
public
testParseReferences(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
Return values
mixed —testParseReferencesAsFifthArgument()
public
testParseReferencesAsFifthArgument(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
Return values
mixed —testParseScalarWithCorrectlyQuotedStringShouldReturnString()
public
testParseScalarWithCorrectlyQuotedStringShouldReturnString() : mixed
Return values
mixed —testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException()
public
testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException() : mixed
Return values
mixed —testParseScalarWithIncorrectlyQuotedStringShouldThrowException()
public
testParseScalarWithIncorrectlyQuotedStringShouldThrowException() : mixed
Return values
mixed —testParseScalarWithNonEscapedBlackslashAtTheEndShouldThrowException()
public
testParseScalarWithNonEscapedBlackslashAtTheEndShouldThrowException() : mixed
Return values
mixed —testParseScalarWithNonEscapedBlackslashShouldThrowException()
public
testParseScalarWithNonEscapedBlackslashShouldThrowException() : mixed
Return values
mixed —testParseTimestampAsDateTimeObject()
public
testParseTimestampAsDateTimeObject(mixed $yaml, mixed $year, mixed $month, mixed $day, mixed $hour, mixed $minute, mixed $second, mixed $timezone) : mixed
Parameters
- $yaml : mixed
- $year : mixed
- $month : mixed
- $day : mixed
- $hour : mixed
- $minute : mixed
- $second : mixed
- $timezone : mixed
Tags
Return values
mixed —testParseTimestampAsUnixTimestampByDefault()
public
testParseTimestampAsUnixTimestampByDefault(mixed $yaml, mixed $year, mixed $month, mixed $day, mixed $hour, mixed $minute, mixed $second) : mixed
Parameters
- $yaml : mixed
- $year : mixed
- $month : mixed
- $day : mixed
- $hour : mixed
- $minute : mixed
- $second : mixed
Tags
Return values
mixed —testParseUnquotedAsterisk()
public
testParseUnquotedAsterisk() : mixed
Return values
mixed —testParseUnquotedAsteriskFollowedByAComment()
public
testParseUnquotedAsteriskFollowedByAComment() : mixed
Return values
mixed —testParseUnquotedScalarStartingWithPercentCharacter()
public
testParseUnquotedScalarStartingWithPercentCharacter() : mixed
Tags
Return values
mixed —testParseUnquotedScalarStartingWithReservedIndicator()
public
testParseUnquotedScalarStartingWithReservedIndicator(mixed $indicator) : mixed
Parameters
- $indicator : mixed
Tags
Return values
mixed —testParseUnquotedScalarStartingWithScalarIndicator()
public
testParseUnquotedScalarStartingWithScalarIndicator(mixed $indicator) : mixed
Parameters
- $indicator : mixed
Tags
Return values
mixed —testParseUnquotedStringContainingHashTagNotPrefixedBySpace()
public
testParseUnquotedStringContainingHashTagNotPrefixedBySpace() : mixed
Return values
mixed —testParseWithMapObjects()
public
testParseWithMapObjects(mixed $yaml, mixed $value[, mixed $flags = Yaml::PARSE_OBJECT_FOR_MAP ]) : mixed
Parameters
- $yaml : mixed
- $value : mixed
- $flags : mixed = Yaml::PARSE_OBJECT_FOR_MAP
Tags
Return values
mixed —testParseWithMapObjectsPassingTrue()
public
testParseWithMapObjectsPassingTrue(mixed $yaml, mixed $value) : mixed
Parameters
- $yaml : mixed
- $value : mixed
Tags
Return values
mixed —testPhpConstTagWithEmptyValue()
public
testPhpConstTagWithEmptyValue(mixed $expected, mixed $value) : mixed
Parameters
- $expected : mixed
- $value : mixed
Tags
Return values
mixed —testPhpObjectWithEmptyValue()
public
testPhpObjectWithEmptyValue(mixed $expected, mixed $value) : mixed
Parameters
- $expected : mixed
- $value : mixed
Tags
Return values
mixed —testTheEmptyStringIsAValidMappingKey()
public
testTheEmptyStringIsAValidMappingKey() : mixed
Return values
mixed —testUnfinishedInlineMap()
public
testUnfinishedInlineMap() : mixed
Return values
mixed —testVeryLongQuotedStrings()
public
testVeryLongQuotedStrings() : mixed
Return values
mixed —setUp()
protected
setUp() : mixed