PHP Class PhlyTest\Conduit\NextTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: phly/conduit

Méthodes publiques

Méthode Description
setUp ( )
testDoneHandlerIsInvokedWhenQueueIsExhausted ( )
testDoneHandlerReceivesRequestAndResponse ( )
testInvokesHandlerWhenMatched ( )
testInvokesItselfIfRouteDoesNotMatchAtABoundary ( )
testInvokesItselfWhenRouteDoesNotMatchCurrentUrl ( )
testMiddlewareCallingNextWithRequestPassesRequestToNextMiddleware ( )
testMiddlewareCallingNextWithResponseAsFirstArgumentResetsResponse ( )
testMiddlewareCallingNextWithResponseResetsResponse ( )
testMiddlewareReturningResponseShortcircuits ( )
testNextShouldReturnPassedResponseWhenNoReturnValueProvided ( )
testRequestUriInInvokedHandlerDoesNotContainMatchedPortionOfRoute ( )
testSlashAndPathGetResetBeforeExecutingNextMiddleware ( )

Method Details

setUp() public méthode

public setUp ( )

testDoneHandlerIsInvokedWhenQueueIsExhausted() public méthode

testDoneHandlerReceivesRequestAndResponse() 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

testMiddlewareReturningResponseShortcircuits() public méthode

testNextShouldReturnPassedResponseWhenNoReturnValueProvided() public méthode

testRequestUriInInvokedHandlerDoesNotContainMatchedPortionOfRoute() public méthode

testSlashAndPathGetResetBeforeExecutingNextMiddleware() public méthode