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

Side by Side Diff: lib/src/backend/group.dart

Issue 1704183002: pkg/test: cleanup imports (Closed) Base URL: https://github.com/dart-lang/test.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | lib/src/backend/suite.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 import 'group_entry.dart';
5 import 'metadata.dart'; 6 import 'metadata.dart';
6 import 'operating_system.dart'; 7 import 'operating_system.dart';
7 import 'group_entry.dart';
8 import 'test.dart'; 8 import 'test.dart';
9 import 'test_platform.dart'; 9 import 'test_platform.dart';
10 10
11 /// A group contains one or more tests and subgroups. 11 /// A group contains one or more tests and subgroups.
12 /// 12 ///
13 /// It includes metadata that applies to all contained tests. 13 /// It includes metadata that applies to all contained tests.
14 class Group implements GroupEntry { 14 class Group implements GroupEntry {
15 final String name; 15 final String name;
16 16
17 final Metadata metadata; 17 final Metadata metadata;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 /// Returns the entries of this group mapped using [callback]. 66 /// Returns the entries of this group mapped using [callback].
67 /// 67 ///
68 /// Any `null` values returned by [callback] will be removed. 68 /// Any `null` values returned by [callback] will be removed.
69 List<GroupEntry> _map(GroupEntry callback(GroupEntry entry)) { 69 List<GroupEntry> _map(GroupEntry callback(GroupEntry entry)) {
70 return entries 70 return entries
71 .map((entry) => callback(entry)) 71 .map((entry) => callback(entry))
72 .where((entry) => entry != null) 72 .where((entry) => entry != null)
73 .toList(); 73 .toList();
74 } 74 }
75 } 75 }
OLDNEW
« no previous file with comments | « no previous file | lib/src/backend/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698