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

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

Issue 1386023003: Add full BoringSSL error information to Dart exceptions it throws. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « runtime/bin/secure_socket.cc ('k') | tests/standalone/io/http_proxy_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_proxy_advanced_test.dart
diff --git a/tests/standalone/io/http_proxy_advanced_test.dart b/tests/standalone/io/http_proxy_advanced_test.dart
index 1e89f4f7eaab47a62cdf3cd026dcac6bcdc85bb9..aeafaf03c2eef55dab3195c2a06d5f1cf5a41af3 100644
--- a/tests/standalone/io/http_proxy_advanced_test.dart
+++ b/tests/standalone/io/http_proxy_advanced_test.dart
@@ -290,7 +290,7 @@ void testProxyIPV6() {
setupProxyServer(ipV6: true).then((proxyServer) {
setupServer(1, directRequestPaths: ["/4"]).then((server) {
setupServer(1, directRequestPaths: ["/4"], secure: true).then((secureServer) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
List<String> proxy = ["PROXY [::1]:${proxyServer.port}"];
client.findProxy = (Uri uri) {
@@ -340,7 +340,7 @@ void testProxyFromEnviroment() {
setupProxyServer().then((proxyServer) {
setupServer(1).then((server) {
setupServer(1, secure: true).then((secureServer) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
client.findProxy = (Uri uri) {
return HttpClient.findProxyFromEnvironment(
@@ -394,7 +394,7 @@ Future testProxyAuthenticate(bool useDigestAuthentication) {
setupProxyServer().then((proxyServer) {
setupServer(1).then((server) {
setupServer(1, secure: true).then((secureServer) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
Completer step1 = new Completer();
Completer step2 = new Completer();
@@ -543,7 +543,7 @@ Future testProxyAuthenticate(bool useDigestAuthentication) {
int testRealProxyDoneCount = 0;
void testRealProxy() {
setupServer(1).then((server) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
client.addProxyCredentials(
"localhost",
8080,
@@ -586,7 +586,7 @@ void testRealProxy() {
int testRealProxyAuthDoneCount = 0;
void testRealProxyAuth() {
setupServer(1).then((server) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
List<String> proxy =
["PROXY dart:password@localhost:8080",
« no previous file with comments | « runtime/bin/secure_socket.cc ('k') | tests/standalone/io/http_proxy_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698