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

Unified Diff: tests/standalone/io/file_test.dart

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 7 years, 2 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 | « tests/standalone/io/echo_server_stream_test.dart ('k') | tests/standalone/io/http_10_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/file_test.dart
diff --git a/tests/standalone/io/file_test.dart b/tests/standalone/io/file_test.dart
index 4657a30974df68279f639e0ad1d515069b2ca463..926d63ffc2e7f95ef1f96da0d99c7067798e94d3 100644
--- a/tests/standalone/io/file_test.dart
+++ b/tests/standalone/io/file_test.dart
@@ -167,10 +167,9 @@ class FileTest {
}
position += d.length;
},
- onError: (error) {
+ onError: (error, trace) {
print('Error on input in testReadWriteStreamLargeFile');
print('with error $error');
- var trace = getAttachedStackTrace(error);
if (trace != null) print("StackTrace: $trace");
throw error;
},
@@ -181,10 +180,9 @@ class FileTest {
.then((_) {
asyncTestDone('testReadWriteStreamLargeFile: main test');
})
- .catchError((e) {
+ .catchError((e, trace) {
print('Exception while deleting ReadWriteStreamLargeFile file');
print('Exception $e');
- var trace = getAttachedStackTrace(e);
if (trace != null) print("StackTrace: $trace");
});
});
« no previous file with comments | « tests/standalone/io/echo_server_stream_test.dart ('k') | tests/standalone/io/http_10_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698