Lines Matching refs:YUITest

9     YUITest.TestRunner = function(){

83 this.results = new YUITest.Results();
86 if (testObject instanceof YUITest.TestSuite){
89 } else if (testObject instanceof YUITest.TestCase){
127 YUITest.EventTarget.call(this);
131 * @type YUITest.TestSuite
136 this.masterSuite = new YUITest.TestSuite("yuitests" + (new Date()).getTime());
216 TestRunner.prototype = YUITest.Util.mix(new YUITest.EventTarget(), {
219 * If true, YUITest will not fire an error for tests with no Asserts.
228 constructor: YUITest.TestRunner,
352 if (testSuite.items[i] instanceof YUITest.TestSuite) {
354 } else if (testSuite.items[i] instanceof YUITest.TestCase) {
376 if (this.masterSuite.items[i] instanceof YUITest.TestSuite) {
378 } else if (this.masterSuite.items[i] instanceof YUITest.TestCase) {
408 if (node.testObject instanceof YUITest.TestSuite){
412 } else if (node.testObject instanceof YUITest.TestCase){
488 if (testObject instanceof YUITest.TestCase){
502 * @param {Test.TestCase|YUITest.TestSuite} testObject The test case or test suite to run.
528 if (testObject instanceof YUITest.TestSuite){
532 } else if (testObject instanceof YUITest.TestCase){
556 YUITest.TestRunner._run();
609 if(YUITest.Assert._getCount() == 0 && !this._ignoreEmpty){
610 throw new YUITest.AssertionError("Test has no asserts.");
614 error = new YUITest.ShouldFail();
617 error = new YUITest.ShouldError();
630 if (thrown instanceof YUITest.AssertionError) {
635 } else if (thrown instanceof YUITest.Wait){
643 YUITest.TestRunner._resumeTest(thrown.segment);
657 error = new YUITest.UnexpectedError(thrown);
665 error = new YUITest.UnexpectedError(thrown);
672 error = new YUITest.UnexpectedError(thrown);
681 error = new YUITest.UnexpectedError(thrown);
703 YUITest.Assert._reset();
727 YUITest.TestRunner._run();
799 YUITest.TestRunner._run();
866 this.masterSuite = new YUITest.TestSuite("yuitests" + (new Date()).getTime());
986 var runner = YUITest.TestRunner,
991 if (!oldMode && this.masterSuite.items.length == 1 && this.masterSuite.items[0] instanceof YUITest.TestSuite){