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

Unified Diff: utils/tests/pub/error_group_test.dart

Issue 12049013: Change singleSubscription/multiSubscription to normal/broadcast. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments, renamed .multiSubscription to .broadcast. 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
« sdk/lib/async/stream_controller.dart ('K') | « utils/pub/error_group.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/error_group_test.dart
diff --git a/utils/tests/pub/error_group_test.dart b/utils/tests/pub/error_group_test.dart
index e6f8769b92f3528c62cd69a1713ef3cc43c6ac4a..9d2d59e0fe41d0cccecdd93acaca97660cb004cf 100644
--- a/utils/tests/pub/error_group_test.dart
+++ b/utils/tests/pub/error_group_test.dart
@@ -202,7 +202,7 @@ main() {
setUp(() {
errorGroup = new ErrorGroup();
- controller = new StreamController.multiSubscription();
+ controller = new StreamController.broadcast();
stream = errorGroup.registerStream(controller.stream);
});
@@ -341,8 +341,8 @@ main() {
setUp(() {
errorGroup = new ErrorGroup();
- controller1 = new StreamController.multiSubscription();
- controller2 = new StreamController.multiSubscription();
+ controller1 = new StreamController.broadcast();
+ controller2 = new StreamController.broadcast();
stream1 = errorGroup.registerStream(controller1.stream);
stream2 = errorGroup.registerStream(controller2.stream);
});
@@ -396,7 +396,7 @@ main() {
setUp(() {
errorGroup = new ErrorGroup();
- controller = new StreamController.multiSubscription();
+ controller = new StreamController.broadcast();
stream = errorGroup.registerStream(controller.stream);
completer = new Completer();
future = errorGroup.registerFuture(completer.future);
« sdk/lib/async/stream_controller.dart ('K') | « utils/pub/error_group.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698