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 /// Pub-specific scheduled_test descriptors. | 5 /// Pub-specific scheduled_test descriptors. |
6 library descriptor.packages_file; | |
7 | |
8 import "dart:io" show File; | 6 import "dart:io" show File; |
9 import "dart:async" show Future; | 7 import "dart:async" show Future; |
10 import "dart:convert" show UTF8; | 8 import "dart:convert" show UTF8; |
11 | 9 |
12 import 'package:package_config/packages_file.dart' as packages_file; | 10 import 'package:package_config/packages_file.dart' as packages_file; |
13 import 'package:path/path.dart' as p; | 11 import 'package:path/path.dart' as p; |
14 import 'package:scheduled_test/descriptor.dart'; | 12 import 'package:scheduled_test/descriptor.dart'; |
15 import 'package:scheduled_test/scheduled_test.dart'; | 13 import 'package:scheduled_test/scheduled_test.dart'; |
16 | 14 |
17 import '../test_pub.dart'; | 15 import '../test_pub.dart'; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 for (var key in map.keys) { | 104 for (var key in map.keys) { |
107 if (!_dependencies.containsKey(key)) { | 105 if (!_dependencies.containsKey(key)) { |
108 fail(".packages file contains unexpected entry: $key"); | 106 fail(".packages file contains unexpected entry: $key"); |
109 } | 107 } |
110 } | 108 } |
111 } | 109 } |
112 } | 110 } |
113 | 111 |
114 String describe() => name; | 112 String describe() => name; |
115 } | 113 } |
OLD | NEW |