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 unittest.backend.closed_exception; | |
6 | |
7 /// An exception thrown by various front-end methods when the test framework has | 5 /// An exception thrown by various front-end methods when the test framework has |
8 /// been closed and a test must shut down as soon as possible. | 6 /// been closed and a test must shut down as soon as possible. |
9 class ClosedException implements Exception { | 7 class ClosedException implements Exception { |
10 ClosedException(); | 8 ClosedException(); |
11 | 9 |
12 String toString() => "This test has been closed."; | 10 String toString() => "This test has been closed."; |
13 } | 11 } |
OLD | NEW |