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

Unified Diff: lib/src/runner/browser/static/host.dart

Issue 1664433002: Support shelf 0.7.0. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 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 | « lib/src/runner/browser/iframe_test.dart ('k') | lib/src/runner/browser/suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/static/host.dart
diff --git a/lib/src/runner/browser/static/host.dart b/lib/src/runner/browser/static/host.dart
index db557d0a4b8aa3bc88645c117f2537f2d910af84..3a72b2150b495a14ab533e0be268efb741638999 100644
--- a/lib/src/runner/browser/static/host.dart
+++ b/lib/src/runner/browser/static/host.dart
@@ -8,8 +8,7 @@ import 'dart:html';
import 'dart:js' as js;
import 'package:stack_trace/stack_trace.dart';
-import 'package:test/src/util/multi_channel.dart';
-import 'package:test/src/util/stream_channel.dart';
+import 'package:stream_channel/stream_channel.dart';
/// The iframes created for each loaded test suite, indexed by the suite id.
final _iframes = new Map<int, IFrameElement>();
@@ -116,7 +115,8 @@ MultiChannel _connectToServer() {
outputController.stream.listen(
(message) => webSocket.send(JSON.encode(message)));
- return new MultiChannel(inputController.stream, outputController.sink);
+ return new MultiChannel(
+ new StreamChannel(inputController.stream, outputController.sink));
}
/// Creates an iframe with `src` [url] and establishes a connection to it using
« no previous file with comments | « lib/src/runner/browser/iframe_test.dart ('k') | lib/src/runner/browser/suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698