YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Yahoo! UI Library

yuitest  2.3.1

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

Show Private Show Protected

Class YAHOO.tool.TestCase

Test case containing various tests to run.

Constructor

YAHOO.tool.TestCase ( template )
Parameters:
template <object> An object containing any number of test methods, other methods, an optional name, and anything else the test case needs.

Methods

setUp

void setUp ( )
Function to run before each test is executed.
Returns: void

tearDown

void tearDown ( )
Function to run after each test is executed.
Returns: void


Copyright © 2007 Yahoo! Inc. All rights reserved.