PHP Class Symfony\Component\HttpKernel\Tests\HttpKernelTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: symfony/symfony

Public Methods

Method Description
getStatusCodes ( )
testHandleAllowChangingControllerAndArguments ( )
testHandleAllowChangingControllerArguments ( )
testHandleExceptionWithARedirectionResponse ( )
testHandleHttpException ( )
testHandleWhenAListenerReturnsAResponse ( )
testHandleWhenAnExceptionIsHandledWithASpecificStatusCode ( $responseStatusCode, $expectedStatusCode )
testHandleWhenControllerThrowsAnExceptionAndCatchIsFalseAndNoListenerIsRegistered ( )
testHandleWhenControllerThrowsAnExceptionAndCatchIsTrue ( )
testHandleWhenControllerThrowsAnExceptionAndCatchIsTrueWithAHandlingListener ( )
testHandleWhenControllerThrowsAnExceptionAndCatchIsTrueWithANonHandlingListener ( )
testHandleWhenNoControllerIsFound ( )
testHandleWhenTheControllerDoesNotReturnAResponse ( )
testHandleWhenTheControllerDoesNotReturnAResponseButAViewIsRegistered ( )
testHandleWhenTheControllerIsAClosure ( )
testHandleWhenTheControllerIsAFunction ( )
testHandleWhenTheControllerIsAStaticArray ( )
testHandleWhenTheControllerIsAnArray ( )
testHandleWhenTheControllerIsAnObjectWithInvoke ( )
testHandleWithAResponseListener ( )
testInconsistentClientIpsOnMasterRequests ( )
testTerminate ( )
testVerifyRequestStackPushPopDuringHandle ( )

Private Methods

Method Description
assertResponseEquals ( Response $expected, Response $actual )
getHttpKernel ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, $controller = null, Symfony\Component\HttpFoundation\RequestStack $requestStack = null, array $arguments = [] )

Method Details

getStatusCodes() public method

public getStatusCodes ( )

testHandleAllowChangingControllerAndArguments() public method

testHandleAllowChangingControllerArguments() public method

testHandleExceptionWithARedirectionResponse() public method

testHandleHttpException() public method

testHandleWhenAListenerReturnsAResponse() public method

testHandleWhenAnExceptionIsHandledWithASpecificStatusCode() public method

public testHandleWhenAnExceptionIsHandledWithASpecificStatusCode ( $responseStatusCode, $expectedStatusCode )

testHandleWhenControllerThrowsAnExceptionAndCatchIsFalseAndNoListenerIsRegistered() public method

testHandleWhenControllerThrowsAnExceptionAndCatchIsTrue() public method

testHandleWhenControllerThrowsAnExceptionAndCatchIsTrueWithAHandlingListener() public method

testHandleWhenControllerThrowsAnExceptionAndCatchIsTrueWithANonHandlingListener() public method

testHandleWhenNoControllerIsFound() public method

testHandleWhenTheControllerDoesNotReturnAResponse() public method

testHandleWhenTheControllerDoesNotReturnAResponseButAViewIsRegistered() public method

testHandleWhenTheControllerIsAClosure() public method

testHandleWhenTheControllerIsAFunction() public method

testHandleWhenTheControllerIsAStaticArray() public method

testHandleWhenTheControllerIsAnArray() public method

testHandleWhenTheControllerIsAnObjectWithInvoke() public method

testHandleWithAResponseListener() public method

testInconsistentClientIpsOnMasterRequests() public method

testTerminate() public method

public testTerminate ( )

testVerifyRequestStackPushPopDuringHandle() public method