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

Side by Side Diff: pkg/scheduled_test/test/utils.dart

Issue 22284003: pkg: analysis aided cleanup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test_utils; 5 library test_utils;
6 6
7 import 'dart:io';
8 import 'dart:async'; 7 import 'dart:async';
9 8
10 import 'package:scheduled_test/scheduled_test.dart'; 9 import 'package:scheduled_test/scheduled_test.dart';
11 import 'package:scheduled_test/src/utils.dart'; 10 import 'package:scheduled_test/src/utils.dart';
12 import 'package:scheduled_test/src/mock_clock.dart' as mock_clock; 11 import 'package:scheduled_test/src/mock_clock.dart' as mock_clock;
13 12
14 import 'metatest.dart'; 13 import 'metatest.dart';
15 14
16 export 'package:scheduled_test/src/utils.dart'; 15 export 'package:scheduled_test/src/utils.dart';
17 16
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 /// Sets up a timeout for every metatest in this file. 51 /// Sets up a timeout for every metatest in this file.
53 void setUpTimeout() { 52 void setUpTimeout() {
54 metaSetUp(() { 53 metaSetUp(() {
55 // TODO(nweiz): We used to only increase the timeout to 10s for the Windows 54 // TODO(nweiz): We used to only increase the timeout to 10s for the Windows
56 // bots, but the Linux and Mac bots have started taking upwards of 5s when 55 // bots, but the Linux and Mac bots have started taking upwards of 5s when
57 // running pumpEventQueue, so we're increasing the timeout across the board 56 // running pumpEventQueue, so we're increasing the timeout across the board
58 // (see issue 9248). 57 // (see issue 9248).
59 currentSchedule.timeout = new Duration(seconds: 10); 58 currentSchedule.timeout = new Duration(seconds: 10);
60 }); 59 });
61 } 60 }
OLDNEW
« no previous file with comments | « pkg/scheduled_test/test/scheduled_test/wrap_future_test.dart ('k') | pkg/serialization/lib/serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698