OLD | NEW |
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 // OtherResources=certificates/server_chain.pem |
| 6 // OtherResources=certificates/server_key.pem |
| 7 // OtherResources=certificates/trusted_certs.pem |
| 8 |
5 import "package:convert/convert.dart"; | 9 import "package:convert/convert.dart"; |
6 import "package:crypto/crypto.dart"; | 10 import "package:crypto/crypto.dart"; |
7 import "package:expect/expect.dart"; | 11 import "package:expect/expect.dart"; |
8 import "package:path/path.dart"; | 12 import "package:path/path.dart"; |
9 import "dart:async"; | 13 import "dart:async"; |
10 import "dart:io"; | 14 import "dart:io"; |
11 import 'dart:convert'; | 15 import 'dart:convert'; |
12 | 16 |
13 String localFile(path) => Platform.script.resolve(path).toFilePath(); | 17 String localFile(path) => Platform.script.resolve(path).toFilePath(); |
14 | 18 |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 // The two invocations use the same global variable for state - | 629 // The two invocations use the same global variable for state - |
626 // run one after the other. | 630 // run one after the other. |
627 testProxyAuthenticate(false) | 631 testProxyAuthenticate(false) |
628 .then((_) => testProxyAuthenticate(true)); | 632 .then((_) => testProxyAuthenticate(true)); |
629 | 633 |
630 // This test is not normally run. It can be used for locally testing | 634 // This test is not normally run. It can be used for locally testing |
631 // with a real proxy server (e.g. Apache). | 635 // with a real proxy server (e.g. Apache). |
632 // testRealProxy(); | 636 // testRealProxy(); |
633 // testRealProxyAuth(); | 637 // testRealProxyAuth(); |
634 } | 638 } |
OLD | NEW |