goog.testing.TestRunner |
![]()
Function to use when filtering errors.
|
code » | ||
![]()
Executes a test case and prints the results to the window.
|
code » | ||
Returns the number of script files that were loaded in order to run the test.
Returns: number
The number of script files.
|
code » | ||
Returns a report of the test case that ran.
Used by Selenium Hooks.
Arguments:
Returns: string
A report summary of the test.
|
code » | ||
Returns the amount of time it took for the test to run.
Used by Selenium Hooks.
Returns: number
The run time, in milliseconds.
|
code » | ||
No description.
|
code » | ||
Returns true if the test case runner has errors that were caught outside of
the test case.
Returns: boolean
Whether there were JS errors.
|
code » | ||
![]()
Initializes the test runner.
Arguments:
|
code » | ||
Returns true if the test runner is finished.
Used by Selenium Hooks.
Returns: boolean
Whether the test runner is active.
|
code » | ||
Returns true if the test runner is initialized.
Used by Selenium Hooks.
Returns: boolean
Whether the test runner is active.
|
code » | ||
No description.
Returns: boolean
Whether the test runner should fail on an empty
test case.
|
code » | ||
Returns true if the test case didn't fail.
Used by Selenium Hooks.
Returns: boolean
Whether the current test returned successfully.
|
code » | ||
![]()
Logs a message to the current test case.
Arguments:
|
code » | ||
![]()
Logs an error that occurred. Used in the case of environment setting up
an onerror handler.
Arguments:
|
code » | ||
![]()
Log failure in current running test.
Arguments:
|
code » | ||
![]()
Writes the results to the document when the test case completes.
|
code » | ||
![]()
Sets a function to use as a filter for errors.
Arguments:
|
code » | ||
![]()
By default, the test runner is strict, and fails if it runs an empty
test case.
Arguments:
|
code » | ||
![]()
Writes a nicely formatted log out to the document.
Arguments:
|
code » |
![]()
Errors that occurred in the window.
|
Code » | |
![]()
Whether the test runner has been initialized yet.
|
Code » | |
![]()
Element created in the document to add test results to.
|
Code » | |
![]()
Whether an empty test case counts as an error.
|
Code » | |
Reference to the active test case.
|
Code » |