promise_test.js
No description.

File Location

/goog/promise/promise_test.js


Public Protected Private

Global Functions

testThenableInterface&C()
No description.
code »
testThenableInterface&T()
No description.
code »
continueTesting()
No description.
code »
fulfillSoon()
No description.
code »
testResolveWithRejectedPromise&rejectBlocker()
No description.
code »
testRejectWithRejectedPromise&rejectBlocker()
No description.
code »
testMultipleRejects&rejectPromise()
No description.
code »
rejectSoon()
No description.
code »
testMockClock&resolveA()
No description.
code »
testMockClock&resolveB()
No description.
code »
testResolveWithPromise&resolveBlocker()
No description.
code »
testRejectWithPromise&resolveBlocker()
No description.
code »
testMultipleResolves&resolvePromise()
No description.
code »
setUp()
No description.
code »
setUpPage()
No description.
code »
shouldNotCall(result)
Dummy onfulfilled or onrejected function that should not be called.
Arguments:
result : *
The result passed into the callback.
code »
tearDown()
No description.
code »
tearDownPage()
No description.
code »
testAllWithEmptyList()
No description.
code »
testAllWithFulfill()
No description.
code »
testAllWithReject()
No description.
code »
testAsynchronousThenCalls()
No description.
code »
testBlockingPromise()
No description.
code »
testBlockingPromiseFulfilled()
No description.
code »
testBlockingPromiseRejected()
No description.
code »
testBlockingThenableFulfilled()
No description.
code »
testBlockingThenableMisbehaves()
No description.
code »
testBlockingThenableRejected()
No description.
code »
testBlockingThenableThrows()
No description.
code »
testBranching()
No description.
code »
testCancel()
No description.
code »
testCancelAfterReject()
No description.
code »
testCancelAfterResolve()
No description.
code »
testCancelPropagation()
No description.
code »
testCancelPropagationUpward()
No description.
code »
testCancelPropagationUpwardWithMultipleChildren()
No description.
code »
testCancelRecovery()
No description.
code »
testCancellationError()
No description.
code »
testContextWithFulfillment()
No description.
code »
testContextWithInit()
No description.
code »
testContextWithInitDefault()
No description.
code »
testContextWithRejection()
No description.
code »
testCreateWithResolver_Rejected()
No description.
code »
testCreateWithResolver_Resolved()
No description.
code »
testFirstFulfilledWithEmptyList()
No description.
code »
testFirstFulfilledWithFulfill()
No description.
code »
testFirstFulfilledWithReject()
No description.
code »
testHandledBlockingRejection()
No description.
code »
testHandledRejection()
No description.
code »
testHandledRejectionWithTimeout()
No description.
code »
testMockClock()
No description.
code »
testMultipleRejects()
No description.
code »
testMultipleResolves()
No description.
code »
testNestingThenables()
No description.
code »
testNestingThenablesRejected()
No description.
code »
testOptionalOnFulfilled()
No description.
code »
testOptionalOnRejected()
No description.
code »
testRaceWithEmptyList()
No description.
code »
testRaceWithFulfill()
No description.
code »
testRaceWithReject()
No description.
code »
testRejectAndResolve()
No description.
code »
testRejectWithPromise()
No description.
code »
testRejectWithRejectedPromise()
No description.
code »
testRejectionOrder()
No description.
code »
testRejectionOrderWithNestedThen()
No description.
code »
testRejectionOrderWithThrow()
No description.
code »
testResolutionOrder()
No description.
code »
testResolutionOrderWithNestedThen()
No description.
code »
testResolutionOrderWithThrow()
No description.
code »
testResolveAndReject()
No description.
code »
testResolveWithPromise()
No description.
code »
testResolveWithRejectedPromise()
No description.
code »
testThenAlwaysCalledMultipleTimes()
No description.
code »
testThenAlwaysWithFulfill()
No description.
code »
testThenAlwaysWithReject()
No description.
code »
testThenAsserts()
No description.
code »
testThenCatch()
No description.
code »
testThenIsFulfilled()
No description.
code »
testThenIsRejected()
No description.
code »
testThenReturnsBeforeCallbackWithFulfill()
No description.
code »
testThenReturnsBeforeCallbackWithReject()
No description.
code »
testThenReturnsPromise()
No description.
code »
testThenableInterface()
No description.
code »
testUnhandledBlockingRejection()
No description.
code »
testUnhandledRejection()
No description.
code »
testUnhandledRejectionDisabled()
No description.
code »
testUnhandledRejectionWithTimeout()
No description.
code »
testUnhandledRejection_asyncTestCase()
No description.
code »
testUnhandledThrow_asyncTestCase()
No description.
code »
testBlockingThenableFulfilled&function%1@reason.then()
No description.
code »
testBlockingThenableRejected&thenable.then()
No description.
code »
testBlockingThenableThrows&thenable.then()
No description.
code »
testBlockingThenableMisbehaves&function%1@value.then()
No description.
code »
testNestingThenables&thenableA.then()
No description.
code »
testNestingThenables&thenableB.then()
No description.
code »
testNestingThenables&function%1@value.then()
No description.
code »
testNestingThenablesRejected&thenableA.then()
No description.
code »
testNestingThenablesRejected&thenableB.then()
No description.
code »
testNestingThenablesRejected&thenableC.then()
No description.
code »
dummy.toString()
No description.
code »
sentinel.toString()
No description.
code »

Global Variables

COMPIlED :
No description.
Code »
dummy :
No description.
Code »
sentinel :
No description.
Code »
unhandledRejections :
No description.
Code »

Directory promise

File Reference