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

Unified Diff: lib/src/frontend/tags.dart

Issue 1405633004: feature: tag tests; choose tags on command line Base URL: git@github.com:yjbanov/test.git@tags
Patch Set: address comments Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/backend/metadata.dart ('k') | lib/src/runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/frontend/tags.dart
diff --git a/lib/src/frontend/tags.dart b/lib/src/frontend/tags.dart
new file mode 100644
index 0000000000000000000000000000000000000000..ad1e8b7409c476e6a244cb285909b0743815c1e0
--- /dev/null
+++ b/lib/src/frontend/tags.dart
@@ -0,0 +1,17 @@
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+library test.frontend.tags;
+
+/// An annotation for applying a set of tags for a test suite.
+class Tags {
+ /// Tags applied to a test suite.
+ final tags;
+
+ /// Applies a set of tags to a test suite.
+ ///
+ /// [tags] is either an [Iterable] specifying one or more tags, or a [String]
+ /// specifying one tag.
+ const Tags([this.tags]);
+}
« 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