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

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

공개 메소드들

메소드 설명
createDeferred ( ) : Kraken\Promise\DeferredInterface
createPromiseMock ( string[] $methods = [] ) : Kraken\Promise\PromiseInterface | PHPUnit_Framework_MockObject_MockObject
getTest ( ) : TUnit
testApiAbort_CallsThenWithValidArguments_ForPendingPromise ( )
testApiAlways_ReturnsPromise_ForPendingPromise ( )
testApiDone_ReturnsNull_ForPendingPromise ( )
testApiDone_ReturnsNull_UsingSetOfNulls_ForPendingPromise ( )
testApiFailure_CallsThenWithValidArguments_ForPendingPromise ( )
testApiIsCancelled_ReturnsFalse_ForPendingPromise ( )
testApiIsFulfilled_ReturnsFalse_ForPendingPromise ( )
testApiIsPending_ReturnsTrue_ForPendingPromise ( )
testApiIsRejected_ReturnsFalse_ForPendingPromise ( )
testApiSuccess_CallsThenWithValidArguments_ForPendingPromise ( )
testApiThen_ReturnsPromise_ForPendingPromise ( )
testApiThen_ReturnsPromise_UsingSetOfNulls_ForPendingPromise ( )

메소드 상세

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

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

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

abstract public createPromiseMock ( string[] $methods = [] ) : Kraken\Promise\PromiseInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[]
리턴 Kraken\Promise\PromiseInterface | PHPUnit_Framework_MockObject_MockObject

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

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

testApiAbort_CallsThenWithValidArguments_ForPendingPromise() 공개 메소드

testApiAlways_ReturnsPromise_ForPendingPromise() 공개 메소드

testApiDone_ReturnsNull_ForPendingPromise() 공개 메소드

testApiDone_ReturnsNull_UsingSetOfNulls_ForPendingPromise() 공개 메소드

testApiFailure_CallsThenWithValidArguments_ForPendingPromise() 공개 메소드

testApiIsCancelled_ReturnsFalse_ForPendingPromise() 공개 메소드

testApiIsFulfilled_ReturnsFalse_ForPendingPromise() 공개 메소드

testApiIsPending_ReturnsTrue_ForPendingPromise() 공개 메소드

testApiIsRejected_ReturnsFalse_ForPendingPromise() 공개 메소드

testApiSuccess_CallsThenWithValidArguments_ForPendingPromise() 공개 메소드

testApiThen_ReturnsPromise_ForPendingPromise() 공개 메소드

testApiThen_ReturnsPromise_UsingSetOfNulls_ForPendingPromise() 공개 메소드