Yahoo! UI Library

yuitest  2.5.2

Yahoo! UI Library > yuitest > YAHOO.tool.TestLogger

Show Private Show Protected

Class YAHOO.tool.TestLogger

Displays test execution progress and results, providing filters based on different key events.

Constructor

YAHOO.tool.TestLogger ( element , config )
Parameters:
element <HTMLElement> (Optional) The element to create the logger in.
config <Object> (Optional) Configuration options for the logger.

Methods

clearTestRunner

static Void clearTestRunner ( )
Clears the reference to the TestRunner from previous operations. This unsubscribes all events and removes the object reference.
Returns: Void

setTestRunner

static Void setTestRunner ( testRunner )
Sets the source test runner that the logger should monitor.
Parameters:
testRunner <YAHOO.tool.TestRunner> The TestRunner to observe.
Returns: Void


Copyright © 2007 Yahoo! Inc. All rights reserved.