static
Class YAHOO.tool.TestManager
Runs pages containing test suite definitions.
_curPage
- private static String
The URL of the page currently being executed.
_frame
- private static Window
The frame used to load and run tests.
_logger
- private static YAHOO.tool.TestLogger
The logger used to output results from the various tests.
_pages
- private static String[]
_results
- private static Object
Results for each test page.
_timeoutId
- private static int
The timeout ID for the next iteration through the tests.
private
static
Void
_handleTestRunnerComplete
(
data
)
Handles TestRunner.COMPLETE_EVENT, storing the results and beginning
the loop again.
- Parameters:
-
data <Object>
Data about the event.
- Returns:
Void
private
static
Void
_processResults
(
)
Processes the results of a test page run, outputting log messages
for failed tests.
private
static
Void
_run
(
)
Loads the next test page into the iframe.
static
Void
load
(
)
Signals that a test page has been loaded. This should be called from
within the test page itself to notify the TestManager that it is ready.
static
Void
setPages
(
pages
)
Sets the pages to be loaded.
- Parameters:
-
pages <String[]>
An array of URLs to load.
- Returns:
Void
static
Void
start
(
)
Begins the process of running the tests.
static
Void
stop
(
)
Stops the execution of tests.