PHP Class ElggCoreWebServicesApiTest, Elgg

Inheritance: extends ElggCoreUnitTest
Show file Open project: elgg/elgg

Public Methods

Method Description
methodCallback ( )
methodCallbackAssoc ( $values )
tearDown ( ) Called after each test method.
testApiAuthKeyBadKey ( )
testApiAuthKeyNoKey ( ) }
testAuthenticateMethod ( )
testAuthenticateMethodApiAuth ( )
testAuthenticateMethodNotImplemented ( ) authenticate_method
testAuthenticateMethodUserAuth ( )
testExecuteMethod ( )
testExecuteMethodAssoc ( )
testExecuteMethodNonCallable ( )
testExecuteMethodNotImplemented ( ) execute_method
testExecuteMethodWrongMethod ( )
testExposeFunctionBadHttpMethod ( )
testExposeFunctionBadParameters ( )
testExposeFunctionNoFunction ( )
testExposeFunctionNoMethod ( ) elgg_ws_expose_function
testExposeFunctionParametersBadArray ( )
testExposeFunctionSuccess ( )
testSerialiseParameters ( )
testSerialiseParametersCasting ( )
testUnexposeFunction ( ) elgg_ws_unexpose_function
testVerifyParameters ( )
testVerifyParametersMissing ( )
testVerifyParametersTypeNotSet ( ) verify parameters

Protected Methods

Method Description
registerFunction ( $api_auth = false, $user_auth = false, $params = null, $assoc = false )

Method Details

methodCallback() public method

public methodCallback ( )

methodCallbackAssoc() public method

public methodCallbackAssoc ( $values )

registerFunction() protected method

protected registerFunction ( $api_auth = false, $user_auth = false, $params = null, $assoc = false )

tearDown() public method

Called after each test method.
public tearDown ( )

testApiAuthKeyBadKey() public method

testApiAuthKeyNoKey() public method

}
public testApiAuthKeyNoKey ( )

testAuthenticateMethod() public method

testAuthenticateMethodApiAuth() public method

testAuthenticateMethodNotImplemented() public method

authenticate_method

testAuthenticateMethodUserAuth() public method

testExecuteMethod() public method

public testExecuteMethod ( )

testExecuteMethodAssoc() public method

testExecuteMethodNonCallable() public method

testExecuteMethodNotImplemented() public method

execute_method

testExecuteMethodWrongMethod() public method

testExposeFunctionBadHttpMethod() public method

testExposeFunctionBadParameters() public method

testExposeFunctionNoFunction() public method

testExposeFunctionNoMethod() public method

elgg_ws_expose_function

testExposeFunctionParametersBadArray() public method

testExposeFunctionSuccess() public method

testSerialiseParameters() public method

testSerialiseParametersCasting() public method

testUnexposeFunction() public method

elgg_ws_unexpose_function

testVerifyParameters() public method

testVerifyParametersMissing() public method

testVerifyParametersTypeNotSet() public method

verify parameters