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

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

Issue 12089066: Fix various warnings from the analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « sdk/lib/utf/utf32.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/event_helper.dart
diff --git a/tests/lib/async/event_helper.dart b/tests/lib/async/event_helper.dart
index 844721b66001aba9a9198c374b03849b11bac666..e6816e693c3a67a32c50c22e2201b9a14bb87dd0 100644
--- a/tests/lib/async/event_helper.dart
+++ b/tests/lib/async/event_helper.dart
@@ -6,7 +6,7 @@ library event_helper;
import 'dart:async';
-class Event {
+abstract class Event {
void replay(StreamSink sink);
}
@@ -121,9 +121,6 @@ class Events implements StreamSink {
throw new StateError("Not capturing events.");
}
- /** Whether the underlying subscription has been paused. */
- bool get isPaused => false;
-
/**
* Sets an action to be called when this [Events] receives a 'done' event.
*/
@@ -165,8 +162,6 @@ class CaptureEvents extends Events {
subscription.resume();
}
- bool get isPaused => subscription.isPaused;
-
void onDone(void action()) {
onDoneSignal.future.whenComplete(action);
}
« no previous file with comments | « sdk/lib/utf/utf32.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698