Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: lib/src/frontend/test_on.dart

Issue 1027193004: Respect top-level @TestOn declarations. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Add another test. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 unittest.frontend.test_on; 5 library unittest.frontend.test_on;
6 6
7 /// An annotation indicating which platforms a test or test suite supports. 7 /// An annotation indicating which platforms a test suite supports.
8 /// 8 ///
9 /// For the full syntax of [expression], see [the README][readme]. 9 /// For the full syntax of [expression], see [the README][].
10 /// 10 ///
11 /// [readme]: https://github.com/dart-lang/unittest/#readme 11 /// [the README]: https://github.com/dart-lang/unittest/#platform-selector-synta x
kevmoo 2015/03/25 08:06:55 nit: The old format avoided the long line
nweiz 2015/03/25 22:40:55 Ditto.
12 class TestOn { 12 class TestOn {
13 /// The expression specifying the platform. 13 /// The expression specifying the platform.
14 final String expression; 14 final String expression;
15 15
16 const TestOn(this.expression); 16 const TestOn(this.expression);
17 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698