OLD | NEW |
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.test; | |
6 | |
7 import 'group.dart'; | 5 import 'group.dart'; |
8 import 'live_test.dart'; | 6 import 'live_test.dart'; |
9 import 'metadata.dart'; | 7 import 'metadata.dart'; |
10 import 'operating_system.dart'; | 8 import 'operating_system.dart'; |
11 import 'suite.dart'; | 9 import 'suite.dart'; |
12 import 'group_entry.dart'; | 10 import 'group_entry.dart'; |
13 import 'test_platform.dart'; | 11 import 'test_platform.dart'; |
14 | 12 |
15 /// A single test. | 13 /// A single test. |
16 /// | 14 /// |
(...skipping 10 matching lines...) Expand all Loading... |
27 /// | 25 /// |
28 /// [suite] is the suite within which this test is being run. If [groups] is | 26 /// [suite] is the suite within which this test is being run. If [groups] is |
29 /// passed, it's the list of groups containing this test; otherwise, it | 27 /// passed, it's the list of groups containing this test; otherwise, it |
30 /// defaults to just containing `suite.group`. | 28 /// defaults to just containing `suite.group`. |
31 LiveTest load(Suite suite, {Iterable<Group> groups}); | 29 LiveTest load(Suite suite, {Iterable<Group> groups}); |
32 | 30 |
33 Test forPlatform(TestPlatform platform, {OperatingSystem os}); | 31 Test forPlatform(TestPlatform platform, {OperatingSystem os}); |
34 | 32 |
35 Test filter(bool callback(Test test)) => callback(this) ? this : null; | 33 Test filter(bool callback(Test test)) => callback(this) ? this : null; |
36 } | 34 } |
OLD | NEW |