PHP Класс Webmozart\Json\Tests\JsonDecoderTest

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
provideInvalidBigIntDecoding ( )
provideInvalidObjectDecoding ( )
testDecode ( )
testDecodeBigIntAsFloat ( )
testDecodeBigIntAsString ( )
testDecodeEmptyArrayKey ( )
testDecodeEmptyObject ( )
testDecodeEmptyProperty ( )
testDecodeFailsIfNotUtf8 ( ) JSON_ERROR_UTF8.
testDecodeFailsIfValidationFailsWithSchemaFile ( )
testDecodeFailsIfValidationFailsWithSchemaObject ( )
testDecodeFile ( )
testDecodeFileFailsIfNotFound ( ) Test that the file name is present in the output.
testDecodeFileFailsIfNotReadable ( )
testDecodeFileFailsIfNotUtf8 ( ) Test that the file name is present in the output.
testDecodeFileFailsIfSchemaInvalid ( ) Test that the file name is present in the output.
testDecodeFileFailsIfValidationFailsWithSchemaFile ( ) Test that the file name is present in the output.
testDecodeFileFailsIfValidationFailsWithSchemaObject ( ) Test that the file name is present in the output.
testDecodeMagicEmptyPropertyAfter71 ( )
testDecodeMagicEmptyPropertyBefore71 ( )
testDecodeNestedEmptyObject ( )
testDecodeNull ( )
testDecodeObjectAsArray ( )
testDecodeObjectAsObject ( )
testDecodeUtf8 ( )
testDecodeWithSchemaFile ( )
testDecodeWithSchemaObject ( )
testFailIfInvalidBigIntDecoding ( $invalidDecoding )
testFailIfInvalidObjectDecoding ( $invalidDecoding )
testMaxDepth1Exceeded ( ) JSON_ERROR_DEPTH.
testMaxDepth1NotExceeded ( )
testMaxDepth2Exceeded ( ) JSON_ERROR_DEPTH.
testMaxDepth2NotExceeded ( )
testMaxDepthMustBeInteger ( )
testMaxDepthMustBeOneOrGreater ( )
testSchemaNotSupportedForArrays ( )

Защищенные методы

Метод Описание
setUp ( )

Описание методов

provideInvalidBigIntDecoding() публичный Метод

provideInvalidObjectDecoding() публичный Метод

setUp() защищенный Метод

protected setUp ( )

testDecode() публичный Метод

public testDecode ( )

testDecodeBigIntAsFloat() публичный Метод

testDecodeBigIntAsString() публичный Метод

testDecodeEmptyArrayKey() публичный Метод

testDecodeEmptyObject() публичный Метод

testDecodeEmptyProperty() публичный Метод

testDecodeFailsIfNotUtf8() публичный Метод

JSON_ERROR_UTF8.

testDecodeFailsIfValidationFailsWithSchemaFile() публичный Метод

testDecodeFailsIfValidationFailsWithSchemaObject() публичный Метод

testDecodeFile() публичный Метод

public testDecodeFile ( )

testDecodeFileFailsIfNotFound() публичный Метод

Test that the file name is present in the output.

testDecodeFileFailsIfNotReadable() публичный Метод

testDecodeFileFailsIfNotUtf8() публичный Метод

Test that the file name is present in the output.

testDecodeFileFailsIfSchemaInvalid() публичный Метод

Test that the file name is present in the output.

testDecodeFileFailsIfValidationFailsWithSchemaFile() публичный Метод

Test that the file name is present in the output.

testDecodeFileFailsIfValidationFailsWithSchemaObject() публичный Метод

Test that the file name is present in the output.

testDecodeMagicEmptyPropertyAfter71() публичный Метод

testDecodeMagicEmptyPropertyBefore71() публичный Метод

testDecodeNestedEmptyObject() публичный Метод

testDecodeNull() публичный Метод

public testDecodeNull ( )

testDecodeObjectAsArray() публичный Метод

testDecodeObjectAsObject() публичный Метод

testDecodeUtf8() публичный Метод

public testDecodeUtf8 ( )

testDecodeWithSchemaFile() публичный Метод

testDecodeWithSchemaObject() публичный Метод

testFailIfInvalidBigIntDecoding() публичный Метод

public testFailIfInvalidBigIntDecoding ( $invalidDecoding )

testFailIfInvalidObjectDecoding() публичный Метод

public testFailIfInvalidObjectDecoding ( $invalidDecoding )

testMaxDepth1Exceeded() публичный Метод

JSON_ERROR_DEPTH.

testMaxDepth1NotExceeded() публичный Метод

testMaxDepth2Exceeded() публичный Метод

JSON_ERROR_DEPTH.

testMaxDepth2NotExceeded() публичный Метод

testMaxDepthMustBeInteger() публичный Метод

testMaxDepthMustBeOneOrGreater() публичный Метод

testSchemaNotSupportedForArrays() публичный Метод