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

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

공개 메소드들

메소드 설명
createDeferred ( ) : Kraken\Promise\DeferredInterface
getTest ( ) : TUnit
testApiAlways_DoesNotSuppressValue ( )
testApiAlways_DoesNotSuppressValue_WhenHandlerReturnsNonPromise ( )
testApiAlways_DoesNotSuppressValue_WhenHandlerReturnsPromise ( )
testApiAlways_RejectsPromise_WhenHandlerRejects_AfterResolved ( )
testApiAlways_RejectsPromise_WhenHandlerThrows_AfterResolved ( )
testApiDone_ThrowsException_FromFulfillmentHandler ( )
testApiDone_ThrowsException_WhenFulfillmentHandlerRejects ( )
testApiResolve_ForwardsValue_WhenCallbackIsNull ( )
testApiResolve_InvokesDoneFulfillmentHandler ( )
testApiResolve_MakesPromiseImmutable ( )
testApiResolve_RejectsPromise_WhenResolvedWithRejectedPromise ( )
testApiResolve_ResolvesPromise ( )
testApiResolve_ResolvesPromise_WithPromisedValue ( )
testApiResolve_ReturnsFulfilledPromise ( )
testApiResolve_Returns_FromFulfillmentHandler ( )

메소드 상세

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

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

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

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

testApiAlways_DoesNotSuppressValue() 공개 메소드

testApiAlways_DoesNotSuppressValue_WhenHandlerReturnsNonPromise() 공개 메소드

testApiAlways_DoesNotSuppressValue_WhenHandlerReturnsPromise() 공개 메소드

testApiAlways_RejectsPromise_WhenHandlerRejects_AfterResolved() 공개 메소드

testApiAlways_RejectsPromise_WhenHandlerThrows_AfterResolved() 공개 메소드

testApiDone_ThrowsException_FromFulfillmentHandler() 공개 메소드

testApiDone_ThrowsException_WhenFulfillmentHandlerRejects() 공개 메소드

testApiResolve_ForwardsValue_WhenCallbackIsNull() 공개 메소드

testApiResolve_InvokesDoneFulfillmentHandler() 공개 메소드

testApiResolve_MakesPromiseImmutable() 공개 메소드

testApiResolve_RejectsPromise_WhenResolvedWithRejectedPromise() 공개 메소드

testApiResolve_ResolvesPromise() 공개 메소드

testApiResolve_ResolvesPromise_WithPromisedValue() 공개 메소드

testApiResolve_ReturnsFulfilledPromise() 공개 메소드

testApiResolve_Returns_FromFulfillmentHandler() 공개 메소드