Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1964)

Unified Diff: lib/test.dart

Issue 1058973004: Remove handleExternalError. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/test.dart
diff --git a/lib/test.dart b/lib/test.dart
index 964a59a25bc238b5cdff7112052ed591e584d9f7..394161281607e0fc0f46ef58abb083762b03b88e 100644
--- a/lib/test.dart
+++ b/lib/test.dart
@@ -172,12 +172,6 @@ void setUp(callback()) => _declarer.setUp(callback);
/// groups or at the top level.
void tearDown(callback()) => _declarer.tearDown(callback);
-/// Handle an error that occurs outside of any test.
-void handleExternalError(error, String message, [stackTrace]) {
- // TODO(nweiz): handle this better.
- registerException(error, stackTrace);
-}
-
/// Registers an exception that was caught for the current test.
void registerException(error, [StackTrace stackTrace]) =>
Invoker.current.handleError(error, stackTrace);
« no previous file with comments | « CHANGELOG.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698