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

Side by Side Diff: pkg/scheduled_test/lib/src/schedule.dart

Issue 12449016: Use ".."-style imports in scheduled_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 schedule; 5 library schedule;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import 'package:unittest/unittest.dart' as unittest; 10 import '../../../../pkg/unittest/lib/unittest.dart' as unittest;
11 11
12 import 'mock_clock.dart' as mock_clock; 12 import 'mock_clock.dart' as mock_clock;
13 import 'schedule_error.dart'; 13 import 'schedule_error.dart';
14 import 'substitute_future.dart'; 14 import 'substitute_future.dart';
15 import 'task.dart'; 15 import 'task.dart';
16 import 'value_future.dart'; 16 import 'value_future.dart';
17 17
18 /// The schedule of tasks to run for a single test. This has three separate task 18 /// The schedule of tasks to run for a single test. This has three separate task
19 /// queues: [tasks], [onComplete], and [onException]. It also provides 19 /// queues: [tasks], [onComplete], and [onException]. It also provides
20 /// visibility into the current state of the schedule. 20 /// visibility into the current state of the schedule.
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 var childLines = child.toString().split("\n"); 546 var childLines = child.toString().split("\n");
547 lines.add(" $prefix ${childLines.first}"); 547 lines.add(" $prefix ${childLines.first}");
548 lines.addAll(childLines.skip(1).map((line) => " | $line")); 548 lines.addAll(childLines.skip(1).map((line) => " | $line"));
549 } 549 }
550 } 550 }
551 551
552 return lines.join("\n"); 552 return lines.join("\n");
553 }).join("\n"); 553 }).join("\n");
554 } 554 }
555 } 555 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698