PHP Class ZendTest\Stratigility\NextTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: zendframework/zend-stratigility

Protected Properties

Свойство Type Description
$errorHandler

Méthodes publiques

Méthode Description
nonNullNonThrowableNonStringErrors ( )
restoreErrorHandler ( )
setUp ( )
tearDown ( )
testDoneHandlerIsInvokedWhenQueueIsExhausted ( )
testDoneHandlerIsInvokedWhenQueueIsExhaustedByProcessAndResponsePrototypeIsPresent ( )
testDoneHandlerReceivesRequestAndResponse ( )
testEnablingRaiseThrowablesFlagWillCauseInvocationToRaiseMiddlewareExceptionForNonNullArguments ( $error )
testEnablingRaiseThrowablesFlagWillCauseInvocationToRaiseMiddlewareExceptionForStringArgument ( )
testEnablingRaiseThrowablesFlagWillCauseInvocationToRaiseThrowableForThrowableErrorArguments ( $throwable )
testInvocationWillSetResponsePrototypeIfNotAlreadySet ( )
testInvokesHandlerWhenMatched ( )
testInvokesItselfIfRouteDoesNotMatchAtABoundary ( )
testInvokesItselfWhenRouteDoesNotMatchCurrentUrl ( )
testMiddlewareCallingNextWithRequestPassesRequestToNextMiddleware ( )
testMiddlewareCallingNextWithResponseAsFirstArgumentResetsResponse ( )
testMiddlewareCallingNextWithResponseResetsResponse ( )
testMiddlewareReturningResponseShortCircuitsProcess ( )
testMiddlewareReturningResponseShortcircuits ( )
testNestedNextInvocationWithAnErrorShouldDispatchErrorMiddleware ( )
testNextCanComposeAResponsePrototype ( )
testNextCanUseADelegateForTheDoneHandler ( )
testNextDoesNotComposeResponsePrototypeByDefault ( )
testNextImplementsDelegateInterface ( )
testNextShouldCloneQueueOnInstantiation ( )
testNextShouldRaiseDeprecationNoticeWhenInvokedWithErrorArgument ( )
testNextShouldReturnPassedResponseWhenNoReturnValueProvided ( )
testProcessDispatchesHandlerWhenMatched ( )
testProcessRaisesExceptionIfNoResponseReturnedByMiddlewareAndNoResponsePrototypePresent ( )
testProcessRaisesExceptionPriorToCallingDoneHandlerIfNoResponsePrototypePresent ( )
testProcessRaisesExceptionPriorToCallingDoneHandlerIfNotAServerRequest ( )
testProcessReinvokesItselfIfRouteDoesNotMatchAtABoundary ( )
testProcessReinvokesItselfWhenRouteDoesNotMatchCurrentUrl ( )
testProcessReturnsResponsePrototypeIfNoResponseReturnedByMiddleware ( )
testRequestUriInHandlerInvokedByProcessDoesNotContainMatchedPortionOfRoute ( )
testRequestUriInInvokedHandlerDoesNotContainMatchedPortionOfRoute ( )
testSettingRaiseThrowablesFlagSetsCorrespondingFlagOnComposedDispatchInstance ( )
testSlashAndPathGetResetBeforeExecutingNextMiddleware ( )
testSlashAndPathGetResetByProcessBeforeExecutingNextMiddleware ( )
throwablesProvider ( )

Method Details

nonNullNonThrowableNonStringErrors() public méthode

restoreErrorHandler() public méthode

public restoreErrorHandler ( )

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

testDoneHandlerIsInvokedWhenQueueIsExhausted() public méthode

testDoneHandlerIsInvokedWhenQueueIsExhaustedByProcessAndResponsePrototypeIsPresent() public méthode

testDoneHandlerReceivesRequestAndResponse() public méthode

testEnablingRaiseThrowablesFlagWillCauseInvocationToRaiseMiddlewareExceptionForNonNullArguments() public méthode

testEnablingRaiseThrowablesFlagWillCauseInvocationToRaiseMiddlewareExceptionForStringArgument() public méthode

testEnablingRaiseThrowablesFlagWillCauseInvocationToRaiseThrowableForThrowableErrorArguments() public méthode

testInvocationWillSetResponsePrototypeIfNotAlreadySet() public méthode

testInvokesHandlerWhenMatched() public méthode

testInvokesItselfIfRouteDoesNotMatchAtABoundary() public méthode

testInvokesItselfWhenRouteDoesNotMatchCurrentUrl() public méthode

testMiddlewareCallingNextWithRequestPassesRequestToNextMiddleware() public méthode

testMiddlewareCallingNextWithResponseAsFirstArgumentResetsResponse() public méthode

testMiddlewareCallingNextWithResponseResetsResponse() public méthode

testMiddlewareReturningResponseShortCircuitsProcess() public méthode

testMiddlewareReturningResponseShortcircuits() public méthode

testNestedNextInvocationWithAnErrorShouldDispatchErrorMiddleware() public méthode

testNextCanComposeAResponsePrototype() public méthode

testNextCanUseADelegateForTheDoneHandler() public méthode

testNextDoesNotComposeResponsePrototypeByDefault() public méthode

testNextImplementsDelegateInterface() public méthode

testNextShouldCloneQueueOnInstantiation() public méthode

testNextShouldRaiseDeprecationNoticeWhenInvokedWithErrorArgument() public méthode

testNextShouldReturnPassedResponseWhenNoReturnValueProvided() public méthode

testProcessDispatchesHandlerWhenMatched() public méthode

testProcessRaisesExceptionIfNoResponseReturnedByMiddlewareAndNoResponsePrototypePresent() public méthode

testProcessRaisesExceptionPriorToCallingDoneHandlerIfNoResponsePrototypePresent() public méthode

testProcessRaisesExceptionPriorToCallingDoneHandlerIfNotAServerRequest() public méthode

testProcessReinvokesItselfIfRouteDoesNotMatchAtABoundary() public méthode

testProcessReinvokesItselfWhenRouteDoesNotMatchCurrentUrl() public méthode

testProcessReturnsResponsePrototypeIfNoResponseReturnedByMiddleware() public méthode

testRequestUriInHandlerInvokedByProcessDoesNotContainMatchedPortionOfRoute() public méthode

testRequestUriInInvokedHandlerDoesNotContainMatchedPortionOfRoute() public méthode

testSettingRaiseThrowablesFlagSetsCorrespondingFlagOnComposedDispatchInstance() public méthode

testSlashAndPathGetResetBeforeExecutingNextMiddleware() public méthode

testSlashAndPathGetResetByProcessBeforeExecutingNextMiddleware() public méthode

throwablesProvider() public méthode

public throwablesProvider ( )

Property Details

$errorHandler protected_oe property

protected $errorHandler