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

Side by Side Diff: lib/src/runner/browser/polymer.dart

Issue 1158873005: pkg/test: remove unused imports (Closed) Base URL: https://github.com/dart-lang/test.git@master
Patch Set: Created 5 years, 6 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/frontend/future_matchers.dart ('k') | lib/test.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.runner.browser.polymer; 5 library test.runner.browser.polymer;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:glob/glob.dart'; 9 import 'package:glob/glob.dart';
10 import 'package:path/path.dart' as p; 10 import 'package:path/path.dart' as p;
11 import 'package:pub_semver/pub_semver.dart';
12 import 'package:yaml/yaml.dart'; 11 import 'package:yaml/yaml.dart';
13 12
14 /// Whether the package being tested uses the Polymer transforemrs at all. 13 /// Whether the package being tested uses the Polymer transforemrs at all.
15 /// 14 ///
16 /// This will be `null` until [_initialize] is called. 15 /// This will be `null` until [_initialize] is called.
17 bool _usesPolymer; 16 bool _usesPolymer;
18 17
19 /// The set of entry points passed in to the polymer transformer's config. 18 /// The set of entry points passed in to the polymer transformer's config.
20 /// 19 ///
21 /// This will be `null` if no entrypoints are declared, indicating that all 20 /// This will be `null` if no entrypoints are declared, indicating that all
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 var field = configuration[name]; 98 var field = configuration[name];
100 99
101 if (field is String) { 100 if (field is String) {
102 return new Set.from([new Glob(field, context: p.url, recursive: true)]); 101 return new Set.from([new Glob(field, context: p.url, recursive: true)]);
103 } 102 }
104 103
105 return new Set.from(field.map((node) { 104 return new Set.from(field.map((node) {
106 return new Glob(node, context: p.url, recursive: true); 105 return new Glob(node, context: p.url, recursive: true);
107 })); 106 }));
108 } 107 }
OLDNEW
« no previous file with comments | « lib/src/frontend/future_matchers.dart ('k') | lib/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698