PHP 클래스 ArrayTest

상속: extends TestCase
파일 보기 프로젝트 열기: netresearch/jsonmapper 1 사용 예제들

공개 메소드들

메소드 설명
mapTypedArrayObjectDoesNotExistAutoloader ( $class )
testArrayObjectInvalidNull ( ) An ArrayObject which may not be null but is.
testArrayObjectNullable ( ) A nullable ArrayObject which is null.
testFlArray ( ) Test for an array of float "@var float[]"
testFlArrayKeyed ( ) Test for an array of float "@var float[]"
testInvalidArray ( )
testInvalidArrayObject ( )
testMapArrayJsonNoTypeEnforcement ( )
testMapArrayObject ( ) Test for "@var ArrayObject"
testMapSimpleArrayObject ( ) Test for "@var ArrayObject[int]"
testMapTypedArray ( ) Test for an array of classes "@var Classname[]"
testMapTypedArrayObject ( ) Test for "@var ArrayObject[Classname]"
testMapTypedArrayObjectDoesNotExist ( ) The TYPO3 autoloader breaks if we autoload a class with a [ or ] in its name.
testMapTypedSimpleArray ( ) Test for an array of classes "@var ClassName[]" with flat/simple json values (string)
testNonNullableArrayObjectWithLooseNullChecks ( ) Exception is not thrown when a non-nullable object has null value but strict nullable checks are turned off
testNullableSimple ( ) Test for an array that is nullable - "@var string[]|null"
testStrArray ( ) Test for an array of strings - "@var string[]"
testStrArrayV2 ( ) Test for an array of strings - "@var array[string]"

메소드 상세

mapTypedArrayObjectDoesNotExistAutoloader() 공개 메소드

testArrayObjectInvalidNull() 공개 메소드

An ArrayObject which may not be null but is.

testArrayObjectNullable() 공개 메소드

A nullable ArrayObject which is null.

testFlArray() 공개 메소드

Test for an array of float "@var float[]"
public testFlArray ( )

testFlArrayKeyed() 공개 메소드

Test for an array of float "@var float[]"
public testFlArrayKeyed ( )

testInvalidArray() 공개 메소드

public testInvalidArray ( )

testInvalidArrayObject() 공개 메소드

testMapArrayJsonNoTypeEnforcement() 공개 메소드

testMapArrayObject() 공개 메소드

Test for "@var ArrayObject"
public testMapArrayObject ( )

testMapSimpleArrayObject() 공개 메소드

Test for "@var ArrayObject[int]"

testMapTypedArray() 공개 메소드

Test for an array of classes "@var Classname[]"
public testMapTypedArray ( )

testMapTypedArrayObject() 공개 메소드

Test for "@var ArrayObject[Classname]"

testMapTypedArrayObjectDoesNotExist() 공개 메소드

The TYPO3 autoloader breaks if we autoload a class with a [ or ] in its name.

testMapTypedSimpleArray() 공개 메소드

Test for an array of classes "@var ClassName[]" with flat/simple json values (string)

testNonNullableArrayObjectWithLooseNullChecks() 공개 메소드

Exception is not thrown when a non-nullable object has null value but strict nullable checks are turned off

testNullableSimple() 공개 메소드

Test for an array that is nullable - "@var string[]|null"
public testNullableSimple ( )

testStrArray() 공개 메소드

Test for an array of strings - "@var string[]"
public testStrArray ( )

testStrArrayV2() 공개 메소드

Test for an array of strings - "@var array[string]"
public testStrArrayV2 ( )