PHP Class SimpleTest

Exibir arquivo Open project: netresearch/jsonmapper Class Usage Examples

Public Methods

Method Description
testMapSimpleBool ( ) Test for "@var bool"
testMapSimpleBoolean ( ) Test for "@var boolean"
testMapSimpleFloat ( ) Test for "@var float"
testMapSimpleHyphen ( ) Variable with hyphen (-)
testMapSimpleHyphenSetter ( ) Variable with hyphen and a setter method
testMapSimpleInt ( ) Test for "@var int"
testMapSimpleInteger ( ) Test for "@var integer"
testMapSimpleMixed ( ) Test for "@var mixed"
testMapSimpleNoType ( ) Test for variable with no @var annotation
testMapSimpleNullableInt ( ) Test for "@var int|null" with int value
testMapSimpleNullableNull ( ) Test for "@var int|null" with null value
testMapSimpleNullableWrong ( ) Test for "@var int|null" with string value
testMapSimpleString ( ) Test for "@var string"
testMapSimpleUnderscore ( ) Variable with an underscore
testMapSimpleUnderscoreSetter ( ) Variable with an underscore and a setter method

Method Details

testMapSimpleBool() public method

Test for "@var bool"
public testMapSimpleBool ( )

testMapSimpleBoolean() public method

Test for "@var boolean"

testMapSimpleFloat() public method

Test for "@var float"
public testMapSimpleFloat ( )

testMapSimpleHyphen() public method

Variable with hyphen (-)
public testMapSimpleHyphen ( )

testMapSimpleHyphenSetter() public method

Variable with hyphen and a setter method

testMapSimpleInt() public method

Test for "@var int"
public testMapSimpleInt ( )

testMapSimpleInteger() public method

Test for "@var integer"

testMapSimpleMixed() public method

Test for "@var mixed"
public testMapSimpleMixed ( )

testMapSimpleNoType() public method

Test for variable with no @var annotation
public testMapSimpleNoType ( )

testMapSimpleNullableInt() public method

Test for "@var int|null" with int value

testMapSimpleNullableNull() public method

Test for "@var int|null" with null value

testMapSimpleNullableWrong() public method

Test for "@var int|null" with string value

testMapSimpleString() public method

Test for "@var string"
public testMapSimpleString ( )

testMapSimpleUnderscore() public method

Variable with an underscore

testMapSimpleUnderscoreSetter() public method

Variable with an underscore and a setter method