Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: pkg/scheduled_test/lib/scheduled_test.dart

Issue 13973021: Retrying the setUp/tearDown chaining change. This is the same as r21819 but with a change to schedu… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
});

Powered by Google App Engine
This is Rietveld 408576698