continuationtestcase.js
No description.

File Location

/goog/testing/continuationtestcase.js

Classes

goog.testing.ContinuationTestCase
Constructs a test case that supports tests with continuations. Test functions may issue "wait" commands that suspend the test temporarily and continue once the wait condition is met.
goog.testing.ContinuationTestCase.Step
Constructs a single step in a larger continuation test. Each step is similar to a typical TestCase test, except it may wait for an event or timeout to occur before running the test function.
goog.testing.ContinuationTestCase.Test
Creates a continuation test case, which consists of multiple test steps that occur in several phases. The steps are distributed between setUp, test, and tearDown phases. During the execution of each step, 0 or more steps may be added to the current phase. Once all steps in a phase have completed, the next phase will be executed. If any errors occur (such as an assertion failure), the setUp and Test phases will be cancelled immediately. The tearDown phase will always start, but may be cancelled as well if it raises an error.

Directory testing

File Reference