PHP Class Extension\MCallTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: phalcon/zephir

Public Methods

Method Description
arrayParam ( )
arrayParamWithDefaultEmptyArray ( )
arrayParamWithDefaultNullValue ( )
assertNumberOfParameters ( $number )
assertNumberOfRequiredParameters ( $number )
objectParamCastOoParam ( )
objectParamCastStdClass ( )
testCall ( )
testOptionalParameterBoolean ( )
testOptionalParameterBooleanException ( )
testOptionalParameterInt ( )
testOptionalParameterString ( )
testOptionalParameterVar ( )

Protected Methods

Method Description
getMethodFirstParameter ( ) : ReflectionParameter

Private Methods

Method Description
getReflection ( )

Method Details

arrayParam() public method

public arrayParam ( )

arrayParamWithDefaultEmptyArray() public method

arrayParamWithDefaultNullValue() public method

assertNumberOfParameters() public method

public assertNumberOfParameters ( $number )

assertNumberOfRequiredParameters() public method

getMethodFirstParameter() protected method

protected getMethodFirstParameter ( ) : ReflectionParameter
return ReflectionParameter

objectParamCastOoParam() public method

objectParamCastStdClass() public method

testCall() public method

public testCall ( )

testOptionalParameterBoolean() public method

testOptionalParameterBooleanException() public method

testOptionalParameterInt() public method

testOptionalParameterString() public method

testOptionalParameterVar() public method