PHP 클래스 ZendTest\Stratigility\DispatchTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: zendframework/zend-stratigility

공개 메소드들

메소드 설명
nonStandardMiddlewareProvider ( )
setUp ( )
testCallingProcessWithCallableMiddlewareDispatchesIt ( )
testCallingProcessWithInteropMiddlewareDispatchesIt ( )
testCanInjectAResponsePrototype ( )
testHasErrorAndHandleArityIsFourTriggersHandler ( )
testHasErrorAndHandleArityLessThanFourTriggersNextWithError ( )
testIfErrorHandlerReturnsResponseDispatchReturnsTheResponse ( )
testInvokingMemoizesResponseIfNonePreviouslyPresent ( )
testInvokingWithInteropMiddlewareDispatchesIt ( )
testNoErrorAndHandleArityGreaterThanThreeTriggersNext ( )
testNoErrorAndHandleArityLessThanFourTriggersHandler ( )
testProcessRaisesExceptionForNonInteropHandlersWhenNoResponsePrototypeIsPresent ( )
testProcessRaisesExceptionForNonInteropHandlersWhenNotProvidedAServerRequest ( )
testProcessRaisesExceptionWhenCatchingAnExceptionAndNoResponsePrototypePresent ( )
testProcessUsesResponsePrototypeForNonInteropHandlerWhenPresent ( )
testProcessWillInjectMiddlewarePipeWithResponsePrototypeIfPipelineDoesNotHaveOne ( )
testProcessWillNotInjectMiddlewarePipeWithResponsePrototypeIfPipelineAlreadyHasOne ( )
testResponsePrototypeIsAbsentByDefault ( )
testReturnsValueFromNonErrorHandler ( )
testShouldAllowDispatchingPsr7Instances ( )
testThrowingExceptionInErrorHandlerTriggersNextWithException ( )
testThrowingExceptionInNonErrorHandlerTriggersNextWithException ( )
testThrowsThrowablesRaisedByCallableMiddlewareWhenRaiseThrowablesFlagIsEnabled ( $throwable )
testThrowsThrowablesRaisedByErrorMiddlewareWhenRaiseThrowablesFlagIsEnabled ( $throwable )
testThrowsThrowablesRaisedByInteropMiddlewareWhenRaiseThrowablesFlagIsEnabled ( $throwable )
testThrowsThrowablesRaisedByNextMiddlewareWhenRaiseThrowablesFlagIsEnabled ( $middleware, $throwable )
testWillCatchPhp7Throwable ( )
throwablesProvider ( )

메소드 상세

nonStandardMiddlewareProvider() 공개 메소드

setUp() 공개 메소드

public setUp ( )

testCallingProcessWithCallableMiddlewareDispatchesIt() 공개 메소드

testCallingProcessWithInteropMiddlewareDispatchesIt() 공개 메소드

testCanInjectAResponsePrototype() 공개 메소드

testHasErrorAndHandleArityIsFourTriggersHandler() 공개 메소드

testHasErrorAndHandleArityLessThanFourTriggersNextWithError() 공개 메소드

testIfErrorHandlerReturnsResponseDispatchReturnsTheResponse() 공개 메소드

testInvokingMemoizesResponseIfNonePreviouslyPresent() 공개 메소드

testInvokingWithInteropMiddlewareDispatchesIt() 공개 메소드

testNoErrorAndHandleArityGreaterThanThreeTriggersNext() 공개 메소드

testNoErrorAndHandleArityLessThanFourTriggersHandler() 공개 메소드

testProcessRaisesExceptionForNonInteropHandlersWhenNoResponsePrototypeIsPresent() 공개 메소드

testProcessRaisesExceptionForNonInteropHandlersWhenNotProvidedAServerRequest() 공개 메소드

testProcessRaisesExceptionWhenCatchingAnExceptionAndNoResponsePrototypePresent() 공개 메소드

testProcessUsesResponsePrototypeForNonInteropHandlerWhenPresent() 공개 메소드

testProcessWillInjectMiddlewarePipeWithResponsePrototypeIfPipelineDoesNotHaveOne() 공개 메소드

testProcessWillNotInjectMiddlewarePipeWithResponsePrototypeIfPipelineAlreadyHasOne() 공개 메소드

testResponsePrototypeIsAbsentByDefault() 공개 메소드

testReturnsValueFromNonErrorHandler() 공개 메소드

testShouldAllowDispatchingPsr7Instances() 공개 메소드

testThrowingExceptionInErrorHandlerTriggersNextWithException() 공개 메소드

testThrowingExceptionInNonErrorHandlerTriggersNextWithException() 공개 메소드

testThrowsThrowablesRaisedByCallableMiddlewareWhenRaiseThrowablesFlagIsEnabled() 공개 메소드

testThrowsThrowablesRaisedByErrorMiddlewareWhenRaiseThrowablesFlagIsEnabled() 공개 메소드

testThrowsThrowablesRaisedByInteropMiddlewareWhenRaiseThrowablesFlagIsEnabled() 공개 메소드

testThrowsThrowablesRaisedByNextMiddlewareWhenRaiseThrowablesFlagIsEnabled() 공개 메소드

testWillCatchPhp7Throwable() 공개 메소드

throwablesProvider() 공개 메소드

public throwablesProvider ( )