Lines Matching refs:test
152 if(/^test/.test(this.options.tests[i])) {
157 if (this.options.test) {
158 …this.tests = [new Test.Unit.Testcase(this.options.test, testcases[this.options.test], testcases["s…
162 if(/^test/.test(testcase)) {
211 var test = this.tests[this.currentTest];
212 if (!test) {
218 if(!test.isWaiting) {
219 this.logger.start(test.name);
221 test.run();
222 if(test.isWaiting) {
223 this.logger.message("Waiting for " + test.timeToWait + "ms");
224 setTimeout(this.runTests.bind(this), test.timeToWait || 1000);
226 this.logger.finish(test.status(), test.summary());
468 initialize: function(name, test, setup, teardown) { argument
472 if(typeof test == 'string') {
473 test = test.gsub(/(\.should[^\(]+\()/,'#{0}this,');
474 test = test.gsub(/(\.should[^\(]+)\(this,\)/,'#{1}(this)');
475 this.test = function() { method in AnonymousFunction0a8a43170700
476 eval('with(this){'+test+'}');
479 this.test = test || function() {};
489 this.test = nextPart;
497 this.test.bind(this)();
558 if(/^\{/.test(body[0])) body = body.slice(1);