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

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

Issue 13814010: Fix stream_controller_test failure. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/async/stream.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/stream_controller_test.dart
diff --git a/tests/lib/async/stream_controller_test.dart b/tests/lib/async/stream_controller_test.dart
index 4778ecc50b7194a30432d78ae79e059556b520c5..d16a4289f83d8f06c4b20f96d26df5ded3b322c8 100644
--- a/tests/lib/async/stream_controller_test.dart
+++ b/tests/lib/async/stream_controller_test.dart
@@ -98,8 +98,11 @@ testMultiController() {
handleData: (v, s) { s.addError(new AsyncError(v)); },
handleError: (e, s) { s.add(e.error); },
handleDone: (s) {
+
s.add("foo");
+
s.close();
+
})));
sentEvents.replay(c);
Expect.listEquals(expectedEvents.events, actualEvents.events);
@@ -373,6 +376,7 @@ testExtraMethods() {
sentEvents.replay(c);
Expect.listEquals(expectedEvents.events, actualEvents.events);
+
c = new StreamController();
sentEvents = new Events()
..add(1)..add(1)..add(2)..add(1)..add(2)..add(2)..add(2)..close();
@@ -382,6 +386,7 @@ testExtraMethods() {
sentEvents.replay(c);
Expect.listEquals(expectedEvents.events, actualEvents.events);
+
c = new StreamController();
sentEvents = new Events()
..add(5)..add(6)..add(4)..add(6)..add(8)..add(3)..add(4)..add(1)..close();
« no previous file with comments | « sdk/lib/async/stream.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698