//Setting up our aliases..
});
/**
* Asserts that a given condition is true. If not, then a Y.Assert.Error object is thrown
* and the test fails.
* @method assert
* @param {Boolean} condition The condition to test.
* @param {String} message The message to display if the assertion fails.
* @for YUI
* @static
*/
Y.Assert._increment();
if (!condition){
}
};
/**
* Forces an assertion error to occur. Shortcut for Y.Assert.fail().
* @method fail
* @param {String} message (Optional) The message to display with the failure.
* @for YUI
* @static
*/
//data variables
var message = "";
var messageType = "";
case this.BEGIN_EVENT:
messageType = "info";
break;
case this.COMPLETE_EVENT:
(new Date()).toString() + ".\n" +
"Passed:{passed} Failed:{failed} " +
"Total:{total} ({ignored} ignored)",
messageType = "info";
break;
case this.TEST_FAIL_EVENT:
messageType = "fail";
break;
case this.TEST_IGNORE_EVENT:
messageType = "ignore";
break;
case this.TEST_PASS_EVENT:
messageType = "pass";
break;
case this.TEST_SUITE_BEGIN_EVENT:
messageType = "info";
break;
case this.TEST_SUITE_COMPLETE_EVENT:
"Passed:{passed} Failed:{failed} " +
"Total:{total} ({ignored} ignored)",
messageType = "info";
break;
case this.TEST_CASE_BEGIN_EVENT:
messageType = "info";
break;
case this.TEST_CASE_COMPLETE_EVENT:
"Passed:{passed} Failed:{failed} " +
"Total:{total} ({ignored} ignored)",
messageType = "info";
break;
default:
message = "info";
}
}
}
var i, name;
}
};
};
};
}