PHP 트레잇 Kraken\_Unit\Promise\_Partial\ApiCancelPartial

파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
createDeferred ( ) : Kraken\Promise\DeferredInterface
getTest ( ) : TUnit
testApiAlways_DoesNotSuppressCancellation ( )
testApiAlways_DoesNotSuppressCancellation_WhenHandlerReturnsNonPromise ( )
testApiAlways_DoesNotSuppressCancellation_WhenHandlerReturnsPromise ( )
testApiCancel_CallsCancellerOnce_IfCalledMultipleTimes ( )
testApiCancel_CallsCanceller_FromDeepNestedPromiseChain ( )
testApiCancel_CallsCanceller_OnAllChildrenWhenCalledOnRootPromise ( )
testApiCancel_CancelPromiseOnce_WhenCancellingMultipleTimes ( )
testApiCancel_CancelsPromise_InRightOrder ( )
testApiCancel_CancelsPromise_WhenAllChildrenCancelled ( )
testApiCancel_CancelsPromise_WithAnImmediateValue ( )
testApiCancel_CancelsPromise_WithPromisedValue ( )
testApiCancel_CancelsPromise_WithRejectedPromise ( )
testApiCancel_DoesNotCancelPromise_WhenOneChildCancelled ( )
testApiCancel_DoesNotCancelPromise_WhenOneChildCancelledMultipleTimes ( )
testApiCancel_ForwardsReason_WhenCallbackIsNull ( )
testApiCancel_ForwardsReason_WithoutChange ( )
testApiCancel_ForwardsReason_WithoutChange_WhenOnCancelThrows ( )
testApiCancel_InvokesDoneCancellationHandler ( )
testApiCancel_ReturnsCancelledPromise ( )
testApiCancel_Returns_FromCancellationHandler ( )
testApiCancel_ThrowsExceptionInDone_FromCancellationHandler ( )
testApiCancel_ThrowsExceptionInDone_WhenCancellationHandlerRejects ( )

메소드 상세

createDeferred() 추상적인 공개 메소드

abstract public createDeferred ( ) : Kraken\Promise\DeferredInterface
리턴 Kraken\Promise\DeferredInterface

getTest() 추상적인 공개 메소드

또한 보기: TUnit::getTest
abstract public getTest ( ) : TUnit
리턴 Kraken\Test\TUnit

testApiAlways_DoesNotSuppressCancellation() 공개 메소드

testApiAlways_DoesNotSuppressCancellation_WhenHandlerReturnsNonPromise() 공개 메소드

testApiAlways_DoesNotSuppressCancellation_WhenHandlerReturnsPromise() 공개 메소드

testApiCancel_CallsCancellerOnce_IfCalledMultipleTimes() 공개 메소드

testApiCancel_CallsCanceller_FromDeepNestedPromiseChain() 공개 메소드

testApiCancel_CallsCanceller_OnAllChildrenWhenCalledOnRootPromise() 공개 메소드

testApiCancel_CancelPromiseOnce_WhenCancellingMultipleTimes() 공개 메소드

testApiCancel_CancelsPromise_InRightOrder() 공개 메소드

testApiCancel_CancelsPromise_WhenAllChildrenCancelled() 공개 메소드

testApiCancel_CancelsPromise_WithAnImmediateValue() 공개 메소드

testApiCancel_CancelsPromise_WithPromisedValue() 공개 메소드

testApiCancel_CancelsPromise_WithRejectedPromise() 공개 메소드

testApiCancel_DoesNotCancelPromise_WhenOneChildCancelled() 공개 메소드

testApiCancel_DoesNotCancelPromise_WhenOneChildCancelledMultipleTimes() 공개 메소드

testApiCancel_ForwardsReason_WhenCallbackIsNull() 공개 메소드

testApiCancel_ForwardsReason_WithoutChange() 공개 메소드

testApiCancel_ForwardsReason_WithoutChange_WhenOnCancelThrows() 공개 메소드

testApiCancel_InvokesDoneCancellationHandler() 공개 메소드

testApiCancel_ReturnsCancelledPromise() 공개 메소드

testApiCancel_Returns_FromCancellationHandler() 공개 메소드

testApiCancel_ThrowsExceptionInDone_FromCancellationHandler() 공개 메소드

testApiCancel_ThrowsExceptionInDone_WhenCancellationHandlerRejects() 공개 메소드