TestSuite.js revision 33d85edf47749fa345d7b636b9b4b9d0d0386f44
0N/A * A test suite that can contain a collection of TestCase and TestSuite objects. 0N/A * @param {String||Object} data The name of the test suite or an object containing 0N/A * a name property as well as setUp and tearDown methods. 0N/A * @namespace YUITest 0N/A * The name of the test suite. 0N/A * Array of test suites and test cases. 0N/A //initialize the properties 0N/A }
else if (
data instanceof Object){
0N/A this.
name =
"testSuite" + (+
new Date());
0N/A //restore constructor 1365N/A * Adds a test suite or test case to the test suite. 0N/A * @param {YUITest.TestSuite||YUITest.TestCase} testObject The test suite or test case to add. 0N/A //------------------------------------------------------------------------- 0N/A //------------------------------------------------------------------------- 0N/A * Function to run before each test is executed. 0N/A * Function to run after each test is executed.