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

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

Issue 14051005: Remove deprecated CollectionSink and Stream.pipeInto. (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 | « tests/lib/async/stream_controller_async_test.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 d16a4289f83d8f06c4b20f96d26df5ded3b322c8..7eba3c15f0ed1c7f522c5cd902bf60f18778234b 100644
--- a/tests/lib/async/stream_controller_test.dart
+++ b/tests/lib/async/stream_controller_test.dart
@@ -232,18 +232,6 @@ testSingleController() {
sentEvents.replay(c);
Expect.listEquals(expectedEvents.events, actualEvents.events);
- // pipe is tested asynchronously and therefore not in this file.
- c = new StreamController();
- var list = <int>[];
- c.stream.pipeInto(new CollectionSink<int>(list))
- .whenComplete(() { Expect.listEquals(<int>[1,2,9,3,9], list); });
- c.add(1);
- c.add(2);
- c.add(9);
- c.add(3);
- c.add(9);
- c.close();
-
// test contains.
{
c = new StreamController();
« no previous file with comments | « tests/lib/async/stream_controller_async_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698