Line data Source code
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
3 : // BSD-style license that can be found in the LICENSE file.
4 :
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#tagging-tests
10 : class Tags {
11 : /// The tags for the test suite.
12 0 : Set<String> get tags => _tags.toSet();
13 :
14 : final Iterable<String> _tags;
15 :
16 : /// Applies a set of user-defined tags to a test suite.
17 0 : const Tags(this._tags);
18 : }
|