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 import "package:expect/expect.dart"; | |
6 import 'dart:async'; | 5 import 'dart:async'; |
7 import 'dart:crypto'; | 6 import 'dart:crypto'; |
8 import 'dart:io'; | 7 import 'dart:io'; |
9 import 'dart:isolate'; | 8 import 'dart:isolate'; |
10 import 'dart:uri'; | 9 import 'dart:uri'; |
11 import 'dart:utf'; | 10 import 'dart:utf'; |
12 | 11 |
13 class Server { | 12 class Server { |
14 HttpServer server; | 13 HttpServer server; |
15 bool passwordChanged = false; | 14 bool passwordChanged = false; |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 main() { | 259 main() { |
261 testUrlUserInfo(); | 260 testUrlUserInfo(); |
262 testBasicNoCredentials(); | 261 testBasicNoCredentials(); |
263 testBasicCredentials(); | 262 testBasicCredentials(); |
264 testBasicAuthenticateCallback(); | 263 testBasicAuthenticateCallback(); |
265 // These teste are not normally run. They can be used for locally | 264 // These teste are not normally run. They can be used for locally |
266 // testing with another web server (e.g. Apache). | 265 // testing with another web server (e.g. Apache). |
267 //testLocalServerBasic(); | 266 //testLocalServerBasic(); |
268 //testLocalServerDigest(); | 267 //testLocalServerDigest(); |
269 } | 268 } |
OLD | NEW |