OLD | NEW |
---|---|
(Empty) | |
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 library unittest.backend.metadata; | |
6 | |
7 /// Metadata for a test or test suite. | |
8 /// | |
9 /// This metadata comes from declarations on the test itself; it doesn't include | |
10 /// configuration from the user. | |
11 class Metadata { | |
12 /// The expressions indicating which platforms the suite supports. | |
13 final String testOn; | |
Bob Nystrom
2015/03/12 21:03:21
Why is this a String and not a TestOn?
nweiz
2015/03/12 23:40:22
It should really be a PlatformSelector, actually,
| |
14 | |
15 Metadata(this.testOn); | |
16 } | |
OLD | NEW |