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

Unified Diff: tests/lib/async/stream_transformer_test.dart

Issue 54723007: Fix warnings in library-tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 7 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 | « tests/lib/async/stream_event_transformed_test.dart ('k') | tests/lib/async/zone_debug_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/stream_transformer_test.dart
diff --git a/tests/lib/async/stream_transformer_test.dart b/tests/lib/async/stream_transformer_test.dart
index 8029a65cc7089a3cc7a6e3f9dd45b937a4651ca2..3088076c57b4374d104ebe3a8739b44dc3400d80 100644
--- a/tests/lib/async/stream_transformer_test.dart
+++ b/tests/lib/async/stream_transformer_test.dart
@@ -21,7 +21,7 @@ class MyStreamSubscription<T> implements StreamSubscription<T> {
MyStreamSubscription(this.stream, this.cancelOnError);
- void cancel() {}
+ Future cancel() => null;
void onData(void handleData(T data)) {
this.handleData = handleData == null ? _defaultData: handleData;
}
@@ -33,6 +33,8 @@ class MyStreamSubscription<T> implements StreamSubscription<T> {
}
void pause([Future resumeSignal]) {}
+ void resume() {}
+
final isPaused = false;
Future asFuture([var futureValue]) => null;
}
« no previous file with comments | « tests/lib/async/stream_event_transformed_test.dart ('k') | tests/lib/async/zone_debug_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698