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

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

Issue 1008483003: Add a function to parse metadata into a usable object. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Code review changes Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/backend/metadata.dart ('k') | lib/src/runner/parse_metadata.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/frontend/test_on.dart
diff --git a/lib/src/frontend/test_on.dart b/lib/src/frontend/test_on.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d5ed975400b9a10c89129028b81faba548d62f3a
--- /dev/null
+++ b/lib/src/frontend/test_on.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 unittest.frontend.test_on;
+
+/// An annotation indicating which platforms a test or test suite supports.
+///
+/// For the full syntax of [expression], see [the README][readme].
+///
+/// [readme]: https://github.com/dart-lang/unittest/#readme
+class TestOn {
+ /// The expression specifying the platform.
+ final String expression;
+
+ const TestOn(this.expression);
+}
« no previous file with comments | « lib/src/backend/metadata.dart ('k') | lib/src/runner/parse_metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698