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

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

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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) 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 "package:expect/expect.dart"; 10 import "package:expect/expect.dart";
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 testNoUpgrade(); 398 testNoUpgrade();
399 testUsePOST(); 399 testUsePOST();
400 testConnections(10, 3002, "Got tired"); 400 testConnections(10, 3002, "Got tired");
401 testIndivitualUpgrade(5); 401 testIndivitualUpgrade(5);
402 } 402 }
403 } 403 }
404 404
405 405
406 void initializeSSL() { 406 void initializeSSL() {
407 var testPkcertDatabase = 407 var testPkcertDatabase =
408 new Path(new Options().script).directoryPath.append("pkcert/"); 408 new Path(Platform.script).directoryPath.append("pkcert/");
409 SecureSocket.initialize(database: testPkcertDatabase.toNativePath(), 409 SecureSocket.initialize(database: testPkcertDatabase.toNativePath(),
410 password: "dartdart"); 410 password: "dartdart");
411 } 411 }
412 412
413 413
414 main() { 414 main() {
415 new SecurityConfiguration(secure: false).runTests(); 415 new SecurityConfiguration(secure: false).runTests();
416 initializeSSL(); 416 initializeSSL();
417 new SecurityConfiguration(secure: true).runTests(); 417 new SecurityConfiguration(secure: true).runTests();
418 } 418 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698