Chromium Code Reviews| Index: pkg/scheduled_test/lib/scheduled_test.dart |
| =================================================================== |
| --- pkg/scheduled_test/lib/scheduled_test.dart (revision 21853) |
| +++ pkg/scheduled_test/lib/scheduled_test.dart (working copy) |
| @@ -314,11 +314,9 @@ |
| if (!_inGroup) _setUpForTopLevel = true; |
| unittest.setUp(() { |
| - if (currentSchedule != null) { |
| - throw new StateError('There seems to be another scheduled test ' |
| - 'still running.'); |
|
nweiz
2013/04/23 00:04:53
Why is this being removed? This is important, sinc
gram
2013/04/23 00:07:05
Because it is completely broken with the chaining
nweiz
2013/04/23 00:20:52
We should fix that, then, rather than just removin
gram
2013/04/23 19:42:47
Done.
|
| + if (currentSchedule == null) { |
| + _currentSchedule = new Schedule(); |
| } |
| - _currentSchedule = new Schedule(); |
| _setUpFn = setUpFn; |
| }); |