PHP 클래스 VersionPress\Tests\Unit\IniSerializerTest

상속: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: versionpress/versionpress

공개 메소드들

메소드 설명
arraysAsSquareBrackets ( )
backslash_atTheEndOfString ( )
backslash_double ( )
backslash_single ( )
backslash_tripple ( )
dollarSignInsideQuotes ( )
doubleQuoteEscaping ( )
doubleQuoteEscapingAtTheEOL ( ) This tests one problematic aspect of parse_ini_string(), see WP-288.
doubleQuoteEscaping_HereDoc ( )
hashSignCommentInsideQuotes ( )
longString ( )
newLineHandlingInsideValues_CR ( )
newLineHandlingInsideValues_CRLF ( )
newLineHandlingInsideValues_LF ( )
newLineHandling_BlankLines ( )
newLineHandling_NewLineAfterStringMark ( )
nullValueSerializesCorrectly ( )
numericStringsSerializedAsStrings ( )
numericValues ( )
sectionWithDotInName ( )
semicolonCommentInsideQuotes ( )
serializationDoesntChangeTheOrder ( )
serializationDoesntChangeTypeOfNumericString ( )
serializationDoesntChangeTypeOfNumericStringInArray ( )
serializationDoesntChangeTypeOfNumericStringInSerializedData ( )
serializedArrayWithEscapedSpecialStrings ( )
serializedArrayWithNegativeInteger ( )
serializedArrayWithSpecialStrings ( $str )
serializedArrayWithString ( )
serializedBoolean ( )
serializedComplexArray ( )
serializedCustomClassWithPrivateAttribute ( )
serializedCustomClassWithProtectedAttribute ( )
serializedCustomClassWithPublicAttribute ( )
serializedCustomClassWithSleepMethod ( )
serializedDouble ( )
serializedEmptyArray ( )
serializedEmptyStdClass ( )
serializedEvenMoreComplexArrayReferences ( )
serializedHTMLString ( )
serializedInteger ( )
serializedMoreComplexArrayReferences ( )
serializedMoreComplexClassReferences ( )
serializedMultipleDifferentData ( )
serializedMultipleDifferentObjects ( )
serializedMultipleSameObjects ( )
serializedNull ( )
serializedOption ( )
serializedReferenceToArray ( )
serializedReferenceToClass ( )
serializedStdClassWithAttribute ( )
serializedStdClassWithMultipleAttributes ( )
serializedString ( )
serializedStringWithNewLines ( )
smallestPossibleExample ( ) Simplest possible sectioned INI - anything less that this throws. A couple of required elements can be seen here:
specialCharacterInKey ( $specialCharacter )
specialCharacterInValue ( $specialCharacter )
specialCharactersAreTakenLiterally ( )
specialCharactersInSectionName ( $specialCharacter )
specialCharactersInValueProvider ( )
specialCharactersProvider ( )
stringContaingNullPlaceholderIsDeserializedToOriginalString ( )
strings ( )
throwsOnEmptySection ( )
throwsOnNonSectionedData ( )
twoSections ( )

메소드 상세

arraysAsSquareBrackets() 공개 메소드

backslash_atTheEndOfString() 공개 메소드

backslash_double() 공개 메소드

public backslash_double ( )

backslash_single() 공개 메소드

public backslash_single ( )

backslash_tripple() 공개 메소드

public backslash_tripple ( )

dollarSignInsideQuotes() 공개 메소드

doubleQuoteEscaping() 공개 메소드

public doubleQuoteEscaping ( )

doubleQuoteEscapingAtTheEOL() 공개 메소드

This tests one problematic aspect of parse_ini_string(), see WP-288.

doubleQuoteEscaping_HereDoc() 공개 메소드

hashSignCommentInsideQuotes() 공개 메소드

longString() 공개 메소드

public longString ( )

newLineHandlingInsideValues_CR() 공개 메소드

newLineHandlingInsideValues_CRLF() 공개 메소드

newLineHandlingInsideValues_LF() 공개 메소드

newLineHandling_BlankLines() 공개 메소드

newLineHandling_NewLineAfterStringMark() 공개 메소드

nullValueSerializesCorrectly() 공개 메소드

numericStringsSerializedAsStrings() 공개 메소드

numericValues() 공개 메소드

public numericValues ( )

sectionWithDotInName() 공개 메소드

semicolonCommentInsideQuotes() 공개 메소드

serializationDoesntChangeTheOrder() 공개 메소드

serializationDoesntChangeTypeOfNumericString() 공개 메소드

serializationDoesntChangeTypeOfNumericStringInArray() 공개 메소드

serializationDoesntChangeTypeOfNumericStringInSerializedData() 공개 메소드

serializedArrayWithEscapedSpecialStrings() 공개 메소드

serializedArrayWithNegativeInteger() 공개 메소드

serializedArrayWithSpecialStrings() 공개 메소드

serializedArrayWithString() 공개 메소드

serializedBoolean() 공개 메소드

public serializedBoolean ( )

serializedComplexArray() 공개 메소드

serializedCustomClassWithPrivateAttribute() 공개 메소드

serializedCustomClassWithProtectedAttribute() 공개 메소드

serializedCustomClassWithPublicAttribute() 공개 메소드

serializedCustomClassWithSleepMethod() 공개 메소드

serializedDouble() 공개 메소드

public serializedDouble ( )

serializedEmptyArray() 공개 메소드

serializedEmptyStdClass() 공개 메소드

serializedEvenMoreComplexArrayReferences() 공개 메소드

serializedHTMLString() 공개 메소드

serializedInteger() 공개 메소드

public serializedInteger ( )

serializedMoreComplexArrayReferences() 공개 메소드

serializedMoreComplexClassReferences() 공개 메소드

serializedMultipleDifferentData() 공개 메소드

serializedMultipleDifferentObjects() 공개 메소드

serializedMultipleSameObjects() 공개 메소드

serializedNull() 공개 메소드

public serializedNull ( )

serializedOption() 공개 메소드

public serializedOption ( )

serializedReferenceToArray() 공개 메소드

serializedReferenceToClass() 공개 메소드

serializedStdClassWithAttribute() 공개 메소드

serializedStdClassWithMultipleAttributes() 공개 메소드

serializedString() 공개 메소드

public serializedString ( )

serializedStringWithNewLines() 공개 메소드

smallestPossibleExample() 공개 메소드

1. Section must be present 2. ... and non-empty 3. There must be a value, at least an empty string (key = throws) 4. There must be an empty line after the section

specialCharacterInKey() 공개 메소드

public specialCharacterInKey ( $specialCharacter )

specialCharacterInValue() 공개 메소드

public specialCharacterInValue ( $specialCharacter )

specialCharactersAreTakenLiterally() 공개 메소드

specialCharactersInSectionName() 공개 메소드

public specialCharactersInSectionName ( $specialCharacter )

specialCharactersInValueProvider() 공개 메소드

specialCharactersProvider() 공개 메소드

stringContaingNullPlaceholderIsDeserializedToOriginalString() 공개 메소드

strings() 공개 메소드

public strings ( )

throwsOnEmptySection() 공개 메소드

throwsOnNonSectionedData() 공개 메소드

twoSections() 공개 메소드

public twoSections ( )