Chromium Code Reviews

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

Issue 1580973002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « lib/src/backend/state.dart ('k') | lib/src/backend/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.backend.suite;
6
7 import 'metadata.dart'; 5 import 'metadata.dart';
8 import 'operating_system.dart'; 6 import 'operating_system.dart';
9 import 'group.dart'; 7 import 'group.dart';
10 import 'test.dart'; 8 import 'test.dart';
11 import 'test_platform.dart'; 9 import 'test_platform.dart';
12 10
13 /// A test suite. 11 /// A test suite.
14 /// 12 ///
15 /// A test suite is a set of tests that are intended to be run together and that 13 /// A test suite is a set of tests that are intended to be run together and that
16 /// share default configuration. 14 /// share default configuration.
(...skipping 49 matching lines...)
66 /// Returns a new suite with all tests matching [test] removed. 64 /// Returns a new suite with all tests matching [test] removed.
67 /// 65 ///
68 /// Unlike [GroupEntry.filter], this never returns `null`. If all entries are 66 /// Unlike [GroupEntry.filter], this never returns `null`. If all entries are
69 /// filtered out, it returns an empty suite. 67 /// filtered out, it returns an empty suite.
70 Suite filter(bool callback(Test test)) { 68 Suite filter(bool callback(Test test)) {
71 var filtered = group.filter(callback); 69 var filtered = group.filter(callback);
72 if (filtered == null) filtered = new Group.root([], metadata: metadata); 70 if (filtered == null) filtered = new Group.root([], metadata: metadata);
73 return new Suite(filtered, platform: platform, os: os, path: path); 71 return new Suite(filtered, platform: platform, os: os, path: path);
74 } 72 }
75 } 73 }
OLDNEW
« no previous file with comments | « lib/src/backend/state.dart ('k') | lib/src/backend/test.dart » ('j') | no next file with comments »

Powered by Google App Engine