OLD | NEW |
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 '../../../../pkg/unittest/lib/unittest.dart' as unittest; | 10 import 'package:unittest/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 'utils.dart'; | 16 import 'utils.dart'; |
17 import 'value_future.dart'; | 17 import 'value_future.dart'; |
18 | 18 |
19 /// The schedule of tasks to run for a single test. This has three separate task | 19 /// The schedule of tasks to run for a single test. This has three separate task |
20 /// queues: [tasks], [onComplete], and [onException]. It also provides | 20 /// queues: [tasks], [onComplete], and [onException]. It also provides |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 return prefixLines(child.toString(), | 573 return prefixLines(child.toString(), |
574 firstPrefix: " $prefix ", prefix: " | "); | 574 firstPrefix: " $prefix ", prefix: " | "); |
575 }).join('\n'); | 575 }).join('\n'); |
576 taskString = '$taskString\n$childrenString'; | 576 taskString = '$taskString\n$childrenString'; |
577 } | 577 } |
578 | 578 |
579 return taskString; | 579 return taskString; |
580 }).join("\n"); | 580 }).join("\n"); |
581 } | 581 } |
582 } | 582 } |
OLD | NEW |