| Index: lib/src/frontend/skip.dart
|
| diff --git a/lib/src/frontend/skip.dart b/lib/src/frontend/skip.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aaac2805a49c4ebfceace985ec9f4b5b4eb0dc68
|
| --- /dev/null
|
| +++ b/lib/src/frontend/skip.dart
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library test.frontend.skip;
|
| +
|
| +/// An annotation for marking a test suite as skipped.
|
| +class Skip {
|
| + /// The reason the test suite is skipped, or `null` if no reason is given.
|
| + final String reason;
|
| +
|
| + /// Marks a suite as skipped.
|
| + ///
|
| + /// If [reason] is passed, it's included in the test output as the reason the
|
| + /// test is skipped.
|
| + const Skip([this.reason]);
|
| +}
|
|
|