Chromium Code Reviews| Index: pkg/unittest/lib/unittest.dart |
| =================================================================== |
| --- pkg/unittest/lib/unittest.dart (revision 28320) |
| +++ pkg/unittest/lib/unittest.dart (working copy) |
| @@ -750,6 +750,7 @@ |
| try { |
| timer = new Timer(timeout, () { |
| testCase.error("Test timed out after ${timeout.inSeconds} seconds."); |
| + Timer.run(_nextTestCase); |
|
Siggi Cherem (dart-lang)
2013/10/07 21:39:45
since this is already in a timer callback, it seem
devoncarew
2013/10/07 21:45:33
Done.
|
| }); |
| } on UnsupportedError catch (e) { |
| if (e.message != "Timer greater than 0.") rethrow; |
| @@ -858,13 +859,13 @@ |
| bool formatStacks = true; |
| /** |
| - * A flag that controls whether we try to filter out irrelevant frames from |
| + * A flag that controls whether we try to filter out irrelevant frames from |
| * the stack trace. Requires formatStacks to be set. |
| */ |
| bool filterStacks = true; |
| /** |
| - * Returns a Trace object from a StackTrace object or a String, or the |
| + * Returns a Trace object from a StackTrace object or a String, or the |
| * unchanged input if formatStacks is false; |
| */ |
| Trace _getTrace(stack) { |