Lines Matching full:suite
70 var suite = current();
71 if (!suite) {
76 suite.Run();
99 TestCase.prototype.RunFunction = function(suite, fn, postAction) {
114 suite.ReportError(this, e);
123 TestCase.prototype.Run = function(suite, postAction) {
124 print('Running ' + suite.description + '#' + this.name + ' ...');
128 suite.ReportError(this, Error('timeout'));
131 this.RunFunction(suite, this.before, function(e) {
136 return suite.ReportError(this, e);
139 return suite.ReportError(this, assert.fails[0]);
141 this.RunFunction(suite, this.fn, function(e) {
146 return suite.ReportError(this, e);
149 return suite.ReportError(this, assert.fails[0]);
151 this.RunFunction(suite, this.after, function(e) {
156 return suite.ReportError(this, e);
159 return suite.ReportError(this, assert.fails[0]);
163 print('PASS: ' + suite.description + '#' + this.name);