Overview

Namespaces

  • Docta
    • MercadoLibre
      • Exception
      • OAuth2
        • Client
          • Test
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
      • Test
      • Tests
    • Psr7
    • Test
      • Handler
    • Tests
      • CookieJar
      • Event
      • Exception
      • Handler
      • Promise
      • Psr7
  • League
    • OAuth2
      • Client
        • Grant
          • Exception
        • Provider
          • Exception
        • Test
          • Grant
          • Provider
            • Exception
            • Fake
          • Token
          • Tool
        • Token
        • Tool
  • None
  • Psr
    • Http
      • Message

Classes

  • AggregateExceptionTest
  • CoroutineTest
  • EachPromiseTest
  • FunctionsTest
  • NotPromiseInstance
  • PromiseTest
  • RejectedPromiseTest
  • RejectionExceptionTest
  • Thennable
  • Thing1
  • Thing2
  • Overview
  • Namespace
  • Class
  • Download

Class FunctionsTest

PHPUnit_Framework_TestCase
Extended by GuzzleHttp\Promise\Tests\FunctionsTest
Namespace: GuzzleHttp\Promise\Tests
Located at tests/functionsTest.php
Methods summary
public
# testCreatesPromiseForValue( )
public
# testReturnsPromiseForPromise( )
public
# testReturnsPromiseForThennable( )
public
# testReturnsRejection( )
public
# testReturnsPromisesAsIsInRejectionFor( )
public
# testWaitsOnAllPromisesIntoArray( )
public
# testUnwrapsPromisesWithNoDefaultAndFailure( )

Expectedexception

\GuzzleHttp\Promise\RejectionException
public
# testUnwrapsPromisesWithNoDefault( )
public
# testUnwrapsPromisesWithKeys( )
public
# testAllAggregatesSortedArray( )
public
# testAllThrowsWhenAnyRejected( )
public
# testSomeAggregatesSortedArrayWithMax( )
public
# testSomeRejectsWhenTooManyRejections( )
public
# testCanWaitUntilSomeCountIsSatisfied( )
public
# testThrowsIfImpossibleToWaitForSomeCount( )

Expectedexception

\GuzzleHttp\Promise\AggregateException

Expectedexceptionmessage

Not enough promises to fulfill count
public
# testThrowsIfResolvedWithoutCountTotalResults( )

Expectedexception

\GuzzleHttp\Promise\AggregateException

Expectedexceptionmessage

Not enough promises to fulfill count
public
# testAnyReturnsFirstMatch( )
public
# testSettleFulfillsWithFulfilledAndRejected( )
public
# testCanInspectFulfilledPromise( )
public
# testCanInspectRejectedPromise( )
public
# testCanInspectRejectedPromiseWithNormalException( )
public
# testCallsEachLimit( )
public
# testEachLimitAllRejectsOnFailure( )
public
# testIterForReturnsIterator( )
public
# testKnowsIfFulfilled( )
public
# testKnowsIfRejected( )
public
# testKnowsIfSettled( )
public
# testReturnsTrampoline( )
public
# testCanScheduleThunk( )
public
# testCanScheduleThunkWithRejection( )
public
# testCanScheduleThunkWithWait( )
public
# testYieldsFromCoroutine( )
public
# testCanCatchExceptionsInCoroutine( )
public
# testRejectsParentExceptionWhenException( )
public
# testCanRejectFromRejectionCallback( )
public
# testCanAsyncReject( )
public
# testCanCatchAndThrowOtherException( )
public
# testCanCatchAndYieldOtherException( )
public
# createLotsOfSynchronousPromise( )
public
# testLotsOfSynchronousDoesNotBlowStack( )
public
# testLotsOfSynchronousWaitDoesNotBlowStack( )
public
# testLotsOfTryCatchingDoesNotBlowStack( )
public
# testLotsOfTryCatchingWaitingDoesNotBlowStack( )
public
# testAsyncPromisesWithCorrectlyYieldedValues( )
public
# testYieldFinalWaitablePromise( )
public
# testCanYieldFinalPendingPromise( )
public
# testCanNestYieldsAndFailures( )
public
# testCanYieldErrorsAndSuccessesWithoutRecursion( )
public
# testCanWaitOnPromiseAfterFulfilled( )
public
# testCanWaitOnErroredPromises( )
public
# testCoroutineOtherwiseIntegrationTest( )
MercadoLibre PHP SDK API documentation generated by ApiGen