PHP Trait React\Promise\PromiseTest\RejectTestTrait

Afficher le fichier Open project: reactphp/promise

Méthodes publiques

Méthode Description
alwaysShouldNotSuppressRejection ( )
alwaysShouldNotSuppressRejectionWhenHandlerReturnsANonPromise ( )
alwaysShouldNotSuppressRejectionWhenHandlerReturnsAPromise ( )
alwaysShouldRejectWhenHandlerRejectsForRejection ( )
alwaysShouldRejectWhenHandlerThrowsForRejection ( )
doneShouldInvokeRejectionHandler ( )
doneShouldRecoverWhenRejectionHandlerCatchesException ( )
doneShouldThrowExceptionProvidedAsRejectionValue ( )
doneShouldThrowExceptionThrownByRejectionHandler ( )
doneShouldThrowRejectionExceptionWhenRejectionHandlerRejectsWithException ( )
doneShouldThrowUnhandledRejectionExceptionWhenRejectedWithNonException ( )
doneShouldThrowUnhandledRejectionExceptionWhenRejectionHandlerRejects ( )
doneShouldThrowUnhandledRejectionExceptionWhenRejectionHandlerRetunsPendingPromiseWhichRejectsLater ( )
doneShouldThrowWithDeepNestingPromiseChains ( )
getPromiseTestAdapter ( callable $canceller = null ) : React\Promise\PromiseAdapter\PromiseAdapterInterface
rejectShouldForwardReasonWhenCallbackIsNull ( )
rejectShouldInvokeOtherwiseHandler ( )
rejectShouldMakePromiseImmutable ( )
rejectShouldRejectWithAnImmediateValue ( )
rejectShouldRejectWithFulfilledPromise ( )
rejectShouldRejectWithRejectedPromise ( )

Method Details

alwaysShouldNotSuppressRejection() public méthode

alwaysShouldNotSuppressRejectionWhenHandlerReturnsANonPromise() public méthode

alwaysShouldNotSuppressRejectionWhenHandlerReturnsAPromise() public méthode

alwaysShouldRejectWhenHandlerRejectsForRejection() public méthode

alwaysShouldRejectWhenHandlerThrowsForRejection() public méthode

doneShouldInvokeRejectionHandler() public méthode

doneShouldRecoverWhenRejectionHandlerCatchesException() public méthode

doneShouldThrowExceptionProvidedAsRejectionValue() public méthode

doneShouldThrowExceptionThrownByRejectionHandler() public méthode

doneShouldThrowRejectionExceptionWhenRejectionHandlerRejectsWithException() public méthode

doneShouldThrowUnhandledRejectionExceptionWhenRejectedWithNonException() public méthode

doneShouldThrowUnhandledRejectionExceptionWhenRejectionHandlerRejects() public méthode

doneShouldThrowUnhandledRejectionExceptionWhenRejectionHandlerRetunsPendingPromiseWhichRejectsLater() public méthode

doneShouldThrowWithDeepNestingPromiseChains() public méthode

getPromiseTestAdapter() abstract public méthode

abstract public getPromiseTestAdapter ( callable $canceller = null ) : React\Promise\PromiseAdapter\PromiseAdapterInterface
$canceller callable
Résultat React\Promise\PromiseAdapter\PromiseAdapterInterface

rejectShouldForwardReasonWhenCallbackIsNull() public méthode

rejectShouldInvokeOtherwiseHandler() public méthode

rejectShouldMakePromiseImmutable() public méthode

rejectShouldRejectWithAnImmediateValue() public méthode

rejectShouldRejectWithFulfilledPromise() public méthode

rejectShouldRejectWithRejectedPromise() public méthode