Index: mojo/public/dart/third_party/test/lib/src/frontend/test_on.dart |
diff --git a/mojo/public/dart/third_party/test/lib/src/frontend/test_on.dart b/mojo/public/dart/third_party/test/lib/src/frontend/test_on.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..74d9749b136ba1f42dc26a8d9e8c37fddea8939f |
--- /dev/null |
+++ b/mojo/public/dart/third_party/test/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 test.frontend.test_on; |
+ |
+/// An annotation indicating which platforms a test suite supports. |
+/// |
+/// For the full syntax of [expression], see [the README][]. |
+/// |
+/// [the README]: https://github.com/dart-lang/test/#platform-selector-syntax |
+class TestOn { |
+ /// The expression specifying the platform. |
+ final String expression; |
+ |
+ const TestOn(this.expression); |
+} |