goog.testing.TestCase.Test | |
goog.testing.ContinuationTestCase.Test | goog.testing.TestCase.Test |
setUp
: goog.testing.TestCase.Test
A setUp test method to run before
the main test phase.
|
test
: goog.testing.TestCase.Test
A test method to run.
|
tearDown
: goog.testing.TestCase.Test
A tearDown test method to run
after the test method completes or fails.
|
![]()
Adds a new test step to the end of the current phase. The new step will wait
for a condition to be met before running, or will fail after a timeout.
Arguments:
|
code » | ||
![]()
Cancels all remaining steps in the current phase. Called after an error in
any phase occurs.
|
code » | ||
![]()
Clears a test phase and cancels any pending steps found.
Arguments:
|
code » | ||
![]()
Skips the rest of the setUp and test phases, but leaves the tearDown phase to
clean up.
|
code » | ||
No description.
Returns: Array.<goog.testing.TestCase.Test>
The current phase of steps
being processed. Returns null if all steps have been completed.
|
code » | ||
![]()
No description.
Returns: Error
The first error to be raised during the test run or null if
no errors occurred.
|
code » | ||
![]()
Sets an error for the test so it can be reported. Only the first error set
during a test will be reported. Additional errors that occur in later test
phases will be discarded.
Arguments:
|
code » |
![]()
Executes the test function.
|
code » |
![]()
No description.
|
Code » | |
![]()
The first error encountered during the test run, if any.
|
Code » | |
![]()
The list of test steps to run during setUp.
|
Code » | |
![]()
The list of test steps to run during the tearDown phase.
|
Code » | |
![]()
The list of test steps to run for the actual test.
|
Code » |
![]()
No description.
|
Code » |