| 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.test_on; | |
| 6 | |
| 7 /// An annotation indicating which platforms a test suite supports. | 5 /// An annotation indicating which platforms a test suite supports. |
| 8 /// | 6 /// |
| 9 /// For the full syntax of [expression], see [the README][]. | 7 /// For the full syntax of [expression], see [the README][]. |
| 10 /// | 8 /// |
| 11 /// [the README]: https://github.com/dart-lang/test/#platform-selector-syntax | 9 /// [the README]: https://github.com/dart-lang/test/#platform-selector-syntax |
| 12 class TestOn { | 10 class TestOn { |
| 13 /// The expression specifying the platform. | 11 /// The expression specifying the platform. |
| 14 final String expression; | 12 final String expression; |
| 15 | 13 |
| 16 const TestOn(this.expression); | 14 const TestOn(this.expression); |
| 17 } | 15 } |
| OLD | NEW |