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

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: 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
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..04ca2b0e67ddbd4591e0d5dddaba94325abf9919 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() {}
Lasse Reichstein Nielsen 2013/11/01 09:37:36 Change it to '=> null;', just to be sure. It shou
floitsch 2013/11/01 16:57:25 Done.
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;
}

Powered by Google App Engine
This is Rietveld 408576698