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

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

Issue 11902002: Disable secure web socket test on Windows (issue 7157) and replace with web socket test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
7 // This is a copy of web_socket_test.dart with the secure connection
8 // tests disabled, so it does not crash on Windows.
6 import "dart:async"; 9 import "dart:async";
7 import "dart:io"; 10 import "dart:io";
8 import "dart:isolate"; 11 import "dart:isolate";
9 import "dart:scalarlist"; 12 import "dart:scalarlist";
10 import "dart:uri"; 13 import "dart:uri";
11 14
12 const SERVER_ADDRESS = "127.0.0.1"; 15 const SERVER_ADDRESS = "127.0.0.1";
13 const HOST_NAME = "localhost"; 16 const HOST_NAME = "localhost";
14 17
15 // We will run the tests once over HTTP and once over HTTPS. 18 // We will run the tests once over HTTP and once over HTTPS.
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 testMessageLength(65536)).then((_) => 415 testMessageLength(65536)).then((_) =>
413 testNoUpgrade()).then((_) => 416 testNoUpgrade()).then((_) =>
414 testUsePOST()).then((_) => 417 testUsePOST()).then((_) =>
415 testHashCode(2)).then((_) => 418 testHashCode(2)).then((_) =>
416 testW3CInterface(2, 3002, "Got tired")); 419 testW3CInterface(2, 3002, "Got tired"));
417 420
418 421
419 main() { 422 main() {
420 ReceivePort keepAlive = new ReceivePort(); 423 ReceivePort keepAlive = new ReceivePort();
421 runTests().then((_) { 424 runTests().then((_) {
422 InitializeSSL();
423 secure = true;
424 }).then((_) =>
425 runTests()).then((_) {
426 keepAlive.close(); 425 keepAlive.close();
427 }); 426 });
428 } 427 }
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698