OLD | NEW |
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 library test.frontend.on_platform; | |
6 | |
7 /// An annotation for platform-specific customizations for a test suite. | 5 /// An annotation for platform-specific customizations for a test suite. |
8 /// | 6 /// |
9 /// See [the README][onPlatform]. | 7 /// See [the README][onPlatform]. |
10 /// | 8 /// |
11 /// [onPlatform]: https://github.com/dart-lang/test/blob/master/README.md#platfo
rm-specific-configuration | 9 /// [onPlatform]: https://github.com/dart-lang/test/blob/master/README.md#platfo
rm-specific-configuration |
12 class OnPlatform { | 10 class OnPlatform { |
13 final Map<String, dynamic> annotationsByPlatform; | 11 final Map<String, dynamic> annotationsByPlatform; |
14 | 12 |
15 const OnPlatform(this.annotationsByPlatform); | 13 const OnPlatform(this.annotationsByPlatform); |
16 } | 14 } |
OLD | NEW |