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

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

Issue 14036017: Revert "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: 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 4edabef519ec53b51b877f1869acd0e9221a19c9..4d24783d991cd1c6a5a00fef904d02de8eb4b1c5 100644
--- a/tests/standalone/io/secure_server_client_certificate_test.dart
+++ b/tests/standalone/io/secure_server_client_certificate_test.dart
@@ -7,12 +7,13 @@ 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(HOST_NAME,
+ SecureServerSocket.bind(SERVER_ADDRESS,
0,
5,
CERTIFICATE,
@@ -41,7 +42,7 @@ void testClientCertificate() {
void testRequiredClientCertificate() {
ReceivePort port = new ReceivePort();
- SecureServerSocket.bind(HOST_NAME,
+ SecureServerSocket.bind(SERVER_ADDRESS,
0,
5,
CERTIFICATE,
@@ -70,7 +71,7 @@ void testRequiredClientCertificate() {
void testNoClientCertificate() {
ReceivePort port = new ReceivePort();
- SecureServerSocket.bind(HOST_NAME,
+ SecureServerSocket.bind(SERVER_ADDRESS,
0,
5,
CERTIFICATE,
@@ -93,7 +94,7 @@ void testNoClientCertificate() {
void testNoRequiredClientCertificate() {
ReceivePort port = new ReceivePort();
bool clientError = false;
- SecureServerSocket.bind(HOST_NAME,
+ SecureServerSocket.bind(SERVER_ADDRESS,
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