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

Side by Side Diff: tests/standalone/io/web_socket_no_secure_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 5
6 // TODO(7157): Remove this test once the bug is fixed. 6 // TODO(7157): Remove this test once the bug is fixed.
7 // This is a copy of web_socket_test.dart with the secure connection 7 // This is a copy of web_socket_test.dart with the secure connection
8 // tests disabled, so it does not crash on Windows. 8 // tests disabled, so it does not crash on Windows.
9 import "package:expect/expect.dart";
9 import "dart:async"; 10 import "dart:async";
10 import "dart:io"; 11 import "dart:io";
11 import "dart:isolate"; 12 import "dart:isolate";
12 import "dart:scalarlist"; 13 import "dart:scalarlist";
13 import "dart:uri"; 14 import "dart:uri";
14 15
15 const SERVER_ADDRESS = "127.0.0.1"; 16 const SERVER_ADDRESS = "127.0.0.1";
16 const HOST_NAME = "localhost"; 17 const HOST_NAME = "localhost";
17 18
18 19
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 var testPkcertDatabase = 372 var testPkcertDatabase =
372 new Path(new Options().script).directoryPath.append("pkcert/"); 373 new Path(new Options().script).directoryPath.append("pkcert/");
373 SecureSocket.initialize(database: testPkcertDatabase.toNativePath(), 374 SecureSocket.initialize(database: testPkcertDatabase.toNativePath(),
374 password: "dartdart"); 375 password: "dartdart");
375 } 376 }
376 377
377 378
378 main() { 379 main() {
379 new SecurityConfiguration(secure: false).runTests(); 380 new SecurityConfiguration(secure: false).runTests();
380 } 381 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698