| OLD | NEW |
| 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 import "package:expect/expect.dart"; |
| 6 import "dart:async"; | 7 import "dart:async"; |
| 7 import "dart:io"; | 8 import "dart:io"; |
| 8 import "dart:isolate"; | 9 import "dart:isolate"; |
| 9 import "dart:scalarlist"; | 10 import "dart:scalarlist"; |
| 10 import "dart:uri"; | 11 import "dart:uri"; |
| 11 | 12 |
| 12 const SERVER_ADDRESS = "127.0.0.1"; | 13 const SERVER_ADDRESS = "127.0.0.1"; |
| 13 const HOST_NAME = "localhost"; | 14 const HOST_NAME = "localhost"; |
| 14 | 15 |
| 15 | 16 |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 SecureSocket.initialize(database: testPkcertDatabase.toNativePath(), | 371 SecureSocket.initialize(database: testPkcertDatabase.toNativePath(), |
| 371 password: "dartdart"); | 372 password: "dartdart"); |
| 372 } | 373 } |
| 373 | 374 |
| 374 | 375 |
| 375 main() { | 376 main() { |
| 376 new SecurityConfiguration(secure: false).runTests(); | 377 new SecurityConfiguration(secure: false).runTests(); |
| 377 initializeSSL(); | 378 initializeSSL(); |
| 378 new SecurityConfiguration(secure: true).runTests(); | 379 new SecurityConfiguration(secure: true).runTests(); |
| 379 } | 380 } |
| OLD | NEW |