Index: lib/src/frontend/on_platform.dart |
diff --git a/lib/src/frontend/on_platform.dart b/lib/src/frontend/on_platform.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9da290178993b18547d41a3fc0cb6d62d062ebd0 |
--- /dev/null |
+++ b/lib/src/frontend/on_platform.dart |
@@ -0,0 +1,16 @@ |
+// 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.on_platform; |
+ |
+/// An annotation for platform-specific customizations for a test suite. |
+/// |
+/// See [the README][onPlatform]. |
+/// |
+/// [onPlatform]: https://github.com/dart-lang/test/blob/master/README.md#platform-specific-configuration |
+class OnPlatform { |
+ final Map<String, dynamic> annotationsByPlatform; |
+ |
+ const OnPlatform(this.annotationsByPlatform); |
+} |