InlineTest
extends TestCase
in package
Table of Contents
Methods
- getBinaryData() : mixed
- getDataForIsHash() : mixed
- getDataForParseReferences() : mixed
- getDateTimeDumpTests() : mixed
- getInvalidBinaryData() : mixed
- getNotPhpCompatibleMappingKeyData() : mixed
- getReservedIndicators() : mixed
- getScalarIndicators() : mixed
- getTestsForDump() : mixed
- getTestsForNullValues() : mixed
- getTestsForParse() : mixed
- getTestsForParsePhpConstants() : mixed
- getTestsForParseWithMapObjects() : mixed
- getTimestampTests() : mixed
- testDump() : mixed
- testDumpDateTime() : mixed
- testDumpNumericValueWithLocale() : mixed
- testExplicitStringCastingOfMappingKeys() : mixed
- testHashStringsResemblingExponentialNumericsShouldNotBeChangedToINF() : mixed
- testImplicitStringCastingOfMappingKeysIsDeprecated() : mixed
- testIsHash() : mixed
- testNotSupportedMissingValue() : mixed
- testOmittedMappingKeyIsParsedAsColon() : mixed
- testParse() : mixed
- testParseBinaryData() : mixed
- testParseInvalidBinaryData() : mixed
- testParseInvalidMappingKeyShouldThrowException() : mixed
- testParseInvalidMappingShouldThrowException() : mixed
- testParseInvalidSequenceShouldThrowException() : mixed
- testParseMappingKeyWithColonNotFollowedBySpace() : mixed
- testParseMapReferenceInSequence() : mixed
- testParseMapReferenceInSequenceAsFifthArgument() : mixed
- testParseMissingMappingValueAsNull() : mixed
- testParseNestedTimestampListAsDateTimeObject() : mixed
- testParsePhpConstants() : mixed
- testParsePhpConstantThrowsExceptionOnInvalidType() : mixed
- testParsePhpConstantThrowsExceptionWhenUndefined() : 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
- testParseWithMapObjects() : mixed
- testParseWithMapObjectsPassingTrue() : mixed
- testTheEmptyStringIsAValidMappingKey() : mixed
- testVeryLongQuotedStrings() : mixed
Methods
getBinaryData()
public
getBinaryData() : mixed
getDataForIsHash()
public
getDataForIsHash() : mixed
getDataForParseReferences()
public
getDataForParseReferences() : mixed
getDateTimeDumpTests()
public
getDateTimeDumpTests() : mixed
getInvalidBinaryData()
public
getInvalidBinaryData() : mixed
getNotPhpCompatibleMappingKeyData()
public
getNotPhpCompatibleMappingKeyData() : mixed
getReservedIndicators()
public
getReservedIndicators() : mixed
getScalarIndicators()
public
getScalarIndicators() : mixed
getTestsForDump()
public
getTestsForDump() : mixed
getTestsForNullValues()
public
getTestsForNullValues() : mixed
getTestsForParse()
public
getTestsForParse() : mixed
getTestsForParsePhpConstants()
public
getTestsForParsePhpConstants() : mixed
getTestsForParseWithMapObjects()
public
getTestsForParseWithMapObjects() : mixed
getTimestampTests()
public
getTimestampTests() : mixed
testDump()
public
testDump(mixed $yaml, mixed $value[, mixed $parseFlags = 0 ]) : mixed
Parameters
- $yaml : mixed
- $value : mixed
- $parseFlags : mixed = 0
Tags
testDumpDateTime()
public
testDumpDateTime(mixed $dateTime, mixed $expected) : mixed
Parameters
- $dateTime : mixed
- $expected : mixed
Tags
testDumpNumericValueWithLocale()
public
testDumpNumericValueWithLocale() : mixed
testExplicitStringCastingOfMappingKeys()
public
testExplicitStringCastingOfMappingKeys(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
testHashStringsResemblingExponentialNumericsShouldNotBeChangedToINF()
public
testHashStringsResemblingExponentialNumericsShouldNotBeChangedToINF() : mixed
testImplicitStringCastingOfMappingKeysIsDeprecated()
public
testImplicitStringCastingOfMappingKeysIsDeprecated(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
testIsHash()
public
testIsHash(mixed $array, mixed $expected) : mixed
Parameters
- $array : mixed
- $expected : mixed
Tags
testNotSupportedMissingValue()
public
testNotSupportedMissingValue() : mixed
Tags
testOmittedMappingKeyIsParsedAsColon()
public
testOmittedMappingKeyIsParsedAsColon() : mixed
Tags
testParse()
public
testParse(mixed $yaml, mixed $value[, mixed $flags = 0 ]) : mixed
Parameters
- $yaml : mixed
- $value : mixed
- $flags : mixed = 0
Tags
testParseBinaryData()
public
testParseBinaryData(mixed $data) : mixed
Parameters
- $data : mixed
Tags
testParseInvalidBinaryData()
public
testParseInvalidBinaryData(mixed $data, mixed $expectedMessage) : mixed
Parameters
- $data : mixed
- $expectedMessage : mixed
Tags
testParseInvalidMappingKeyShouldThrowException()
public
testParseInvalidMappingKeyShouldThrowException() : mixed
Tags
testParseInvalidMappingShouldThrowException()
public
testParseInvalidMappingShouldThrowException() : mixed
Tags
testParseInvalidSequenceShouldThrowException()
public
testParseInvalidSequenceShouldThrowException() : mixed
Tags
testParseMappingKeyWithColonNotFollowedBySpace()
public
testParseMappingKeyWithColonNotFollowedBySpace() : mixed
Tags
testParseMapReferenceInSequence()
public
testParseMapReferenceInSequence() : mixed
testParseMapReferenceInSequenceAsFifthArgument()
public
testParseMapReferenceInSequenceAsFifthArgument() : mixed
Tags
testParseMissingMappingValueAsNull()
public
testParseMissingMappingValueAsNull(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
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
testParsePhpConstants()
public
testParsePhpConstants(mixed $yaml, mixed $value) : mixed
Parameters
- $yaml : mixed
- $value : mixed
Tags
testParsePhpConstantThrowsExceptionOnInvalidType()
public
testParsePhpConstantThrowsExceptionOnInvalidType() : mixed
Tags
testParsePhpConstantThrowsExceptionWhenUndefined()
public
testParsePhpConstantThrowsExceptionWhenUndefined() : mixed
Tags
testParseReferences()
public
testParseReferences(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
testParseReferencesAsFifthArgument()
public
testParseReferencesAsFifthArgument(mixed $yaml, mixed $expected) : mixed
Parameters
- $yaml : mixed
- $expected : mixed
Tags
testParseScalarWithCorrectlyQuotedStringShouldReturnString()
public
testParseScalarWithCorrectlyQuotedStringShouldReturnString() : mixed
testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException()
public
testParseScalarWithIncorrectlyDoubleQuotedStringShouldThrowException() : mixed
Tags
testParseScalarWithIncorrectlyQuotedStringShouldThrowException()
public
testParseScalarWithIncorrectlyQuotedStringShouldThrowException() : mixed
Tags
testParseScalarWithNonEscapedBlackslashAtTheEndShouldThrowException()
public
testParseScalarWithNonEscapedBlackslashAtTheEndShouldThrowException() : mixed
Tags
testParseScalarWithNonEscapedBlackslashShouldThrowException()
public
testParseScalarWithNonEscapedBlackslashShouldThrowException() : mixed
Tags
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
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
testParseUnquotedAsterisk()
public
testParseUnquotedAsterisk() : mixed
Tags
testParseUnquotedAsteriskFollowedByAComment()
public
testParseUnquotedAsteriskFollowedByAComment() : mixed
Tags
testParseUnquotedScalarStartingWithPercentCharacter()
public
testParseUnquotedScalarStartingWithPercentCharacter() : mixed
Tags
testParseUnquotedScalarStartingWithReservedIndicator()
public
testParseUnquotedScalarStartingWithReservedIndicator(mixed $indicator) : mixed
Parameters
- $indicator : mixed
Tags
testParseUnquotedScalarStartingWithScalarIndicator()
public
testParseUnquotedScalarStartingWithScalarIndicator(mixed $indicator) : mixed
Parameters
- $indicator : mixed
Tags
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
testParseWithMapObjectsPassingTrue()
public
testParseWithMapObjectsPassingTrue(mixed $yaml, mixed $value) : mixed
Parameters
- $yaml : mixed
- $value : mixed
Tags
testTheEmptyStringIsAValidMappingKey()
public
testTheEmptyStringIsAValidMappingKey() : mixed
testVeryLongQuotedStrings()
public
testVeryLongQuotedStrings() : mixed