Index: lib/src/backend/closed_exception.dart |
diff --git a/lib/src/backend/closed_exception.dart b/lib/src/backend/closed_exception.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0c9dcca2e5bc70eb0643fdc55eb227e139219cee |
--- /dev/null |
+++ b/lib/src/backend/closed_exception.dart |
@@ -0,0 +1,13 @@ |
+// 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 unittest.backend.closed_exception; |
+ |
+/// An exception thrown by various front-end methods when the test framework has |
+/// been closed and a test must shut down as soon as possible. |
+class ClosedException implements Exception { |
+ ClosedException(); |
+ |
+ String toString() => "This test has been closed."; |
+} |