Line data Source code
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
3 : // BSD-style license that can be found in the LICENSE file.
4 :
5 : /// An annotation indicating which platforms a test suite supports.
6 : ///
7 : /// For the full syntax of [expression], see [the README][].
8 : ///
9 : /// [the README]: https://github.com/dart-lang/test/#platform-selector-syntax
10 : class TestOn {
11 : /// The expression specifying the platform.
12 : final String expression;
13 :
14 0 : const TestOn(this.expression);
15 : }
|