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

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

Issue 2423593002: Add test directive to include other files used by a test in its compiled output directory. (Closed)
Patch Set: Created 4 years, 2 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
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 //
5 // OtherResources=certificates/server_chain.pem
6 // OtherResources=certificates/server_key.pem
4 7
5 // This test verifies that secure connections that fail due to 8 // This test verifies that secure connections that fail due to
6 // unauthenticated certificates throw exceptions in HttpClient. 9 // unauthenticated certificates throw exceptions in HttpClient.
7 10
8 import "package:expect/expect.dart"; 11 import "package:expect/expect.dart";
9 import "package:path/path.dart"; 12 import "package:path/path.dart";
10 import "dart:async"; 13 import "dart:async";
11 import "dart:io"; 14 import "dart:io";
12 15
13 const HOST_NAME = "localhost"; 16 const HOST_NAME = "localhost";
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 55 }
53 }); 56 });
54 } 57 }
55 58
56 runServer().then((server) { 59 runServer().then((server) {
57 clientProcess(server.port).then((_) { 60 clientProcess(server.port).then((_) {
58 server.close(); 61 server.close();
59 }); 62 });
60 }); 63 });
61 } 64 }
OLDNEW
« no previous file with comments | « tests/standalone/io/https_server_test.dart ('k') | tests/standalone/io/raw_secure_server_closing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698