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 for marking a test suite as skipped.
6 : class Skip {
7 : /// The reason the test suite is skipped, or `null` if no reason is given.
8 : final String reason;
9 :
10 : /// Marks a suite as skipped.
11 : ///
12 : /// If [reason] is passed, it's included in the test output as the reason the
13 : /// test is skipped.
14 0 : const Skip([this.reason]);
15 : }
|