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

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

Issue 52723007: Revert "Change dart:io Platform.script to return a Uri." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // VMOptions= 5 // VMOptions=
6 // VMOptions=--short_socket_read 6 // VMOptions=--short_socket_read
7 // VMOptions=--short_socket_write 7 // VMOptions=--short_socket_write
8 // VMOptions=--short_socket_read --short_socket_write 8 // VMOptions=--short_socket_read --short_socket_write
9 9
10 import "dart:async"; 10 import "dart:async";
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 testImmediateCloseClient(); 401 testImmediateCloseClient();
402 testNoUpgrade(); 402 testNoUpgrade();
403 testUsePOST(); 403 testUsePOST();
404 testConnections(10, 3002, "Got tired"); 404 testConnections(10, 3002, "Got tired");
405 testIndividualUpgrade(5); 405 testIndividualUpgrade(5);
406 } 406 }
407 } 407 }
408 408
409 409
410 void initializeSSL() { 410 void initializeSSL() {
411 var testPkcertDatabase = Platform.script.resolve('pkcert').toFilePath(); 411 var testPkcertDatabase = join(dirname(Platform.script), 'pkcert');
412 SecureSocket.initialize(database: testPkcertDatabase, 412 SecureSocket.initialize(database: testPkcertDatabase,
413 password: "dartdart"); 413 password: "dartdart");
414 } 414 }
415 415
416 416
417 main() { 417 main() {
418 asyncStart(); 418 asyncStart();
419 new SecurityConfiguration(secure: false).runTests(); 419 new SecurityConfiguration(secure: false).runTests();
420 initializeSSL(); 420 initializeSSL();
421 new SecurityConfiguration(secure: true).runTests(); 421 new SecurityConfiguration(secure: true).runTests();
422 asyncEnd(); 422 asyncEnd();
423 } 423 }
OLDNEW
« no previous file with comments | « tests/standalone/io/web_socket_error_test.dart ('k') | tests/standalone/io/windows_environment_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698