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