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

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

Issue 14083007: Add new InternetAddress class with a static lookup function (including IPv6 results). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix new test. Created 7 years, 8 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
Index: tests/standalone/io/secure_server_client_certificate_test.dart
diff --git a/tests/standalone/io/secure_server_client_certificate_test.dart b/tests/standalone/io/secure_server_client_certificate_test.dart
index 4d24783d991cd1c6a5a00fef904d02de8eb4b1c5..4edabef519ec53b51b877f1869acd0e9221a19c9 100644
--- a/tests/standalone/io/secure_server_client_certificate_test.dart
+++ b/tests/standalone/io/secure_server_client_certificate_test.dart
@@ -7,13 +7,12 @@ import "dart:async";
import "dart:io";
import "dart:isolate";
-const SERVER_ADDRESS = "127.0.0.1";
const HOST_NAME = "localhost";
const CERTIFICATE = "localhost_cert";
void testClientCertificate() {
ReceivePort port = new ReceivePort();
- SecureServerSocket.bind(SERVER_ADDRESS,
+ SecureServerSocket.bind(HOST_NAME,
0,
5,
CERTIFICATE,
@@ -42,7 +41,7 @@ void testClientCertificate() {
void testRequiredClientCertificate() {
ReceivePort port = new ReceivePort();
- SecureServerSocket.bind(SERVER_ADDRESS,
+ SecureServerSocket.bind(HOST_NAME,
0,
5,
CERTIFICATE,
@@ -71,7 +70,7 @@ void testRequiredClientCertificate() {
void testNoClientCertificate() {
ReceivePort port = new ReceivePort();
- SecureServerSocket.bind(SERVER_ADDRESS,
+ SecureServerSocket.bind(HOST_NAME,
0,
5,
CERTIFICATE,
@@ -94,7 +93,7 @@ void testNoClientCertificate() {
void testNoRequiredClientCertificate() {
ReceivePort port = new ReceivePort();
bool clientError = false;
- SecureServerSocket.bind(SERVER_ADDRESS,
+ SecureServerSocket.bind(HOST_NAME,
0,
5,
CERTIFICATE,
« no previous file with comments | « tests/standalone/io/secure_multiple_client_server_test.dart ('k') | tests/standalone/io/secure_server_closing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698