Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
PhlyTest
Conduit
MiddlewarePipeTest
PHP Class PhlyTest\Conduit\MiddlewarePipeTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Datei anzeigen
Open project: phly/conduit
Public Methods
Method
Description
invalidHandlers
( )
nestedPaths
( )
rootPaths
( )
setUp
( )
testCanUseDecoratedRequestAndResponseDirectly
( )
testHandleInvokesFirstErrorHandlerOnErrorInChain
( )
testHandleInvokesOutHandlerIfQueueIsExhausted
( )
testHandleInvokesUntilFirstHandlerThatDoesNotCallNext
( )
testMiddlewareRequestPathMustBeTrimmedOffWithPipeRoutePath
( )
testMiddlewareTreatsBothSlashAndEmptyPathAsTheRootPath
(
$path
)
testNestedMiddlewareMatchesOnlyAtPathBoundaries
(
$topPath
,
$nestedPath
,
$fullPath
,
$assertion
)
testNestedMiddlewareMayInvokeDoneToInvokeNextOfParent
( )
testPipeThrowsExceptionForInvalidHandler
(
$handler
)
testPipeWillCreateErrorClosureForObjectImplementingHandle
( )
testReturnsOrigionalResponseIfQueueDoesNotReturnAResponse
( )
testReturnsResponseReturnedByQueue
( )
testSlashShouldBeAppendedInChildMiddlewareWhenRequestUriIncludesIt
( )
testSlashShouldNotBeAppendedInChildMiddlewareWhenLayerDoesNotIncludeIt
( )
Method Details
invalidHandlers()
public
method
public
invalidHandlers
( )
nestedPaths()
public
method
public
nestedPaths
( )
rootPaths()
public
method
public
rootPaths
( )
setUp()
public
method
public
setUp
( )
testCanUseDecoratedRequestAndResponseDirectly()
public
method
public
testCanUseDecoratedRequestAndResponseDirectly
( )
testHandleInvokesFirstErrorHandlerOnErrorInChain()
public
method
public
testHandleInvokesFirstErrorHandlerOnErrorInChain
( )
testHandleInvokesOutHandlerIfQueueIsExhausted()
public
method
public
testHandleInvokesOutHandlerIfQueueIsExhausted
( )
testHandleInvokesUntilFirstHandlerThatDoesNotCallNext()
public
method
public
testHandleInvokesUntilFirstHandlerThatDoesNotCallNext
( )
testMiddlewareRequestPathMustBeTrimmedOffWithPipeRoutePath()
public
method
public
testMiddlewareRequestPathMustBeTrimmedOffWithPipeRoutePath
( )
testMiddlewareTreatsBothSlashAndEmptyPathAsTheRootPath()
public
method
public
testMiddlewareTreatsBothSlashAndEmptyPathAsTheRootPath
(
$path
)
testNestedMiddlewareMatchesOnlyAtPathBoundaries()
public
method
public
testNestedMiddlewareMatchesOnlyAtPathBoundaries
(
$topPath
,
$nestedPath
,
$fullPath
,
$assertion
)
testNestedMiddlewareMayInvokeDoneToInvokeNextOfParent()
public
method
public
testNestedMiddlewareMayInvokeDoneToInvokeNextOfParent
( )
testPipeThrowsExceptionForInvalidHandler()
public
method
public
testPipeThrowsExceptionForInvalidHandler
(
$handler
)
testPipeWillCreateErrorClosureForObjectImplementingHandle()
public
method
public
testPipeWillCreateErrorClosureForObjectImplementingHandle
( )
testReturnsOrigionalResponseIfQueueDoesNotReturnAResponse()
public
method
public
testReturnsOrigionalResponseIfQueueDoesNotReturnAResponse
( )
testReturnsResponseReturnedByQueue()
public
method
public
testReturnsResponseReturnedByQueue
( )
testSlashShouldBeAppendedInChildMiddlewareWhenRequestUriIncludesIt()
public
method
public
testSlashShouldBeAppendedInChildMiddlewareWhenRequestUriIncludesIt
( )
testSlashShouldNotBeAppendedInChildMiddlewareWhenLayerDoesNotIncludeIt()
public
method
public
testSlashShouldNotBeAppendedInChildMiddlewareWhenLayerDoesNotIncludeIt
( )