equal
deleted
inserted
replaced
187 yield InnerTest(test_name, lambda : 1) |
187 yield InnerTest(test_name, lambda : 1) |
188 else: |
188 else: |
189 yield InnerTest(test_name, self.fail, msg) |
189 yield InnerTest(test_name, self.fail, msg) |
190 except Empty: |
190 except Empty: |
191 error = True |
191 error = True |
192 yield InnerTest(test_file, raise_exception, RuntimeError, "%s did not report execution end. %i test processed so far." % (test_file, test_count)) |
192 msg = '%s inactivity timeout (%is). %i test results received' |
193 |
193 yield InnerTest(test_file, raise_exception, RuntimeError, |
|
194 msg % (test_file, timeout, test_count)) |
194 browser.stop() |
195 browser.stop() |
195 if test_count <= 0 and not error: |
196 if test_count <= 0 and not error: |
196 yield InnerTest(test_name, raise_exception, RuntimeError, 'No test yielded by qunit for %s' % test_file) |
197 yield InnerTest(test_name, raise_exception, RuntimeError, |
|
198 'No test yielded by qunit for %s' % test_file) |
197 |
199 |
198 class QUnitResultController(Controller): |
200 class QUnitResultController(Controller): |
199 |
201 |
200 __regid__ = 'qunit_result' |
202 __regid__ = 'qunit_result' |
201 |
203 |