Lines Matching refs:Unit

39     alert('['+new Date().getTime().toString()+'] '+eventName+'/'+Test.Unit.inspect(options));
71 Test.Unit = {};
74 Test.Unit.inspect = Object.inspect;
76 Test.Unit.Logger = Class.create();
77 Test.Unit.Logger.prototype = {
138 Test.Unit.Runner = Class.create();
139 Test.Unit.Runner.prototype = {
153 …this.tests.push(new Test.Unit.Testcase(this.options.tests[i], testcases[this.options.tests[i]], te…
158 …this.tests = [new Test.Unit.Testcase(this.options.test, testcases[this.options.test], testcases["s…
164 new Test.Unit.Testcase(
173 this.logger = new Test.Unit.Logger(this.options.testLog);
251 Test.Unit.Assertions = Class.create();
252 Test.Unit.Assertions.prototype = {
278 this.messages.push(error.name + ": "+ error.message + "(" + Test.Unit.inspect(error) +")");
286 var message = arguments[1] || 'assert: got "' + Test.Unit.inspect(expression) + '"';
294 this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
295 '", actual "' + Test.Unit.inspect(actual) + '"'); }
301 this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
302 '", actual "' + Test.Unit.inspect(actual) + '"'); }
309 this.pass() : this.fail(message + ': expected ' + Test.Unit.inspect(expected) +
310 ', actual ' + Test.Unit.inspect(actual)); }
316 this.fail(message + ': got "' + Test.Unit.inspect(actual) + '"'); }
322 this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
323 '", actual "' + Test.Unit.inspect(actual) + '"'); }
329 this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
330 '", actual "' + Test.Unit.inspect(actual) + '"'); }
336 this.fail(message + ': got "' + Test.Unit.inspect(obj) + '"'); }
343 …this.fail(message + ' : regex: "' + Test.Unit.inspect(expected) + ' did not match: ' + Test.Unit.…
358 this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
366 this.fail(message + ': expected "' + Test.Unit.inspect(expected) +
451 …this.assert(!this._isVisible(element), Test.Unit.inspect(element) + " was not hidden and didn't ha…
454 …this.assert(this._isVisible(element), Test.Unit.inspect(element) + " was not visible. " + ("" || a…
466 Test.Unit.Testcase = Class.create();
467 Object.extend(Object.extend(Test.Unit.Testcase.prototype, Test.Unit.Assertions.prototype), {
469 Test.Unit.Assertions.prototype.initialize.bind(this)();
567 new Test.Unit.Runner(compiledSpec, { titles: titles, testLog: log || 'testlog', context: name });