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

Unified Diff: tests/standalone/io/web_socket_test.dart

Issue 12052038: Rename new Uri.fromString to Uri.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload because of Error. 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 | « tests/standalone/io/web_socket_secure_test.dart ('k') | tests/utils/uri_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/web_socket_test.dart
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart
index 95d56c9689716fa4ef73dc6af80f793c8394ff42..2520992cdd50d5508ff1cb2a10d4ca3596eac864 100644
--- a/tests/standalone/io/web_socket_test.dart
+++ b/tests/standalone/io/web_socket_test.dart
@@ -39,7 +39,7 @@ class SecurityConfiguration {
WebSocketClientConnection createClient(int port,
{bool followRedirects,
String method: "GET"}) {
- HttpClientConnection conn = client.openUrl(method, new Uri.fromString(
+ HttpClientConnection conn = client.openUrl(method, Uri.parse(
'${secure ? "https" : "http"}://$HOST_NAME:$port/'));
if (followRedirects != null) {
conn.followRedirects = followRedirects;
« no previous file with comments | « tests/standalone/io/web_socket_secure_test.dart ('k') | tests/utils/uri_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698