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

Unified Diff: tests/standalone/io/http_proxy_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 | « tests/standalone/io/http_proxy_advanced_test.dart ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_proxy_test.dart
diff --git a/tests/standalone/io/http_proxy_test.dart b/tests/standalone/io/http_proxy_test.dart
index 38dd8bdd1fd2968905de352ff27ea11185d05e02..e5607e9488e8d909e960f398ffccc68074f57908 100644
--- a/tests/standalone/io/http_proxy_test.dart
+++ b/tests/standalone/io/http_proxy_test.dart
@@ -285,7 +285,7 @@ Future<ProxyServer> setupProxyServer({ipV6: false}) {
}
testInvalidProxy() {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
client.findProxy = (Uri uri) => "";
client.getUrl(Uri.parse("http://www.google.com/test"))
@@ -307,7 +307,7 @@ testInvalidProxy() {
int testDirectDoneCount = 0;
void testDirectProxy() {
setupServer(0).then((server) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
List<String> proxy =
["DIRECT", " DIRECT ", "DIRECT ;", " DIRECT ; ",
";DIRECT", " ; DIRECT ", ";;DIRECT;;"];
@@ -416,7 +416,7 @@ void testProxyChain() {
proxyServer1.client.findProxy = (_) => "PROXY localhost:${proxyServer2.port}";
setupServer(2, directRequestPaths: ["/4"]).then((server) {
- HttpClient client = new HttpClient();
+ HttpClient client = new HttpClient(context: clientContext);
List<String> proxy;
if (Platform.operatingSystem == "windows") {
« no previous file with comments | « tests/standalone/io/http_proxy_advanced_test.dart ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698