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

Unified Diff: client/testing/unittest/unittest.dart

Issue 8515004: Fix unittest - fix error in the error reporting code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/testing/unittest/unittest.dart
diff --git a/client/testing/unittest/unittest.dart b/client/testing/unittest/unittest.dart
index 17de9e338d37ca216f8163f9a210dd31f3317107..cabb344c29e306bde892d7c69a2acc5d48c8d8aa 100644
--- a/client/testing/unittest/unittest.dart
+++ b/client/testing/unittest/unittest.dart
@@ -27,7 +27,7 @@ void _onError(e) {
final testCase = _tests[_currentTest];
// TODO(vsm): figure out how to expose the stack trace here
// Currently e.message works in dartium, but not in dartc.
- testCase.recordError('(DOM callback has errors) Caught ${e}', '');
+ testCase.error('(DOM callback has errors) Caught ${e}', '');
_state = _UNCAUGHT_ERROR;
if (testCase.callbacks > 0) {
_currentTest++;
@@ -101,4 +101,4 @@ String _toHtml(TestCase test) {
}
return html;
-}
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698