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

Side by Side Diff: lib/src/frontend/tags.dart

Issue 1691173002: Support tag configuration. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes 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 | « lib/src/backend/metadata.dart ('k') | lib/src/runner.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 /// 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 }
OLDNEW
« no previous file with comments | « lib/src/backend/metadata.dart ('k') | lib/src/runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698