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

Side by Side Diff: lib/src/runner/configuration/load.dart

Issue 2012113002: Use APIs from the latest collection package. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « lib/src/runner/configuration.dart ('k') | lib/src/runner/parse_metadata.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 import 'dart:io'; 5 import 'dart:io';
6 6
7 import 'package:boolean_selector/boolean_selector.dart'; 7 import 'package:boolean_selector/boolean_selector.dart';
8 import 'package:collection/collection.dart';
8 import 'package:glob/glob.dart'; 9 import 'package:glob/glob.dart';
9 import 'package:path/path.dart' as p; 10 import 'package:path/path.dart' as p;
10 import 'package:source_span/source_span.dart'; 11 import 'package:source_span/source_span.dart';
11 import 'package:yaml/yaml.dart'; 12 import 'package:yaml/yaml.dart';
12 13
13 import '../../backend/operating_system.dart'; 14 import '../../backend/operating_system.dart';
14 import '../../backend/platform_selector.dart'; 15 import '../../backend/platform_selector.dart';
15 import '../../backend/test_platform.dart'; 16 import '../../backend/test_platform.dart';
16 import '../../frontend/timeout.dart'; 17 import '../../frontend/timeout.dart';
17 import '../../utils.dart'; 18 import '../../utils.dart';
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 _document.nodes.keys.firstWhere((key) => key.value == field).span, 395 _document.nodes.keys.firstWhere((key) => key.value == field).span,
395 _source); 396 _source);
396 } 397 }
397 398
398 /// Throws a [SourceSpanFormatException] with [message] about [field]. 399 /// Throws a [SourceSpanFormatException] with [message] about [field].
399 void _error(String message, String field) { 400 void _error(String message, String field) {
400 throw new SourceSpanFormatException( 401 throw new SourceSpanFormatException(
401 message, _document.nodes[field].span, _source); 402 message, _document.nodes[field].span, _source);
402 } 403 }
403 } 404 }
OLDNEW
« no previous file with comments | « lib/src/runner/configuration.dart ('k') | lib/src/runner/parse_metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698