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 /// An annotation for applying a set of user-defined tags to a test suite. | 5 /// An annotation for applying a set of user-defined tags to a test suite. |
| 6 /// |
| 7 /// See [the documentation on tagging tests][tagging tests]. |
| 8 /// |
| 9 /// [tagging tests]: https://github.com/dart-lang/test/blob/master/README.md#tag
ging-tests |
6 class Tags { | 10 class Tags { |
7 /// The tags for the test suite. | 11 /// The tags for the test suite. |
8 Set<String> get tags => _tags.toSet(); | 12 Set<String> get tags => _tags.toSet(); |
9 | 13 |
10 final Iterable<String> _tags; | 14 final Iterable<String> _tags; |
11 | 15 |
12 /// Applies a set of user-defined tags to a test suite. | 16 /// Applies a set of user-defined tags to a test suite. |
13 const Tags(this._tags); | 17 const Tags(this._tags); |
14 } | 18 } |
OLD | NEW |