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

Side by Side Diff: tests/standalone/io/secure_server_client_certificate_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 4
5 // OtherResources=certificates/server_chain.pem
6 // OtherResources=certificates/server_key.pem
7 // OtherResources=certificates/trusted_certs.pem
8 // OtherResources=certificates/client_authority.pem
9 // OtherResources=certificates/client1.pem
10 // OtherResources=certificates/client1_key.pem
11 // OtherResources=certificates/server_chain.p12
12 // OtherResources=certificates/server_key.p12
13 // OtherResources=certificates/trusted_certs.p12
14 // OtherResources=certificates/client_authority.p12
15 // OtherResources=certificates/client1.p12
16 // OtherResources=certificates/client1_key.p12
17
5 import "dart:async"; 18 import "dart:async";
6 import "dart:io"; 19 import "dart:io";
7 20
8 import "package:async_helper/async_helper.dart"; 21 import "package:async_helper/async_helper.dart";
9 import "package:expect/expect.dart"; 22 import "package:expect/expect.dart";
10 23
11 InternetAddress HOST; 24 InternetAddress HOST;
12 25
13 String localFile(path) => Platform.script.resolve(path).toFilePath(); 26 String localFile(path) => Platform.script.resolve(path).toFilePath();
14 27
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 await testClientCertificate( 107 await testClientCertificate(
95 required: false, sendCert: true, certType: 'p12', password: 'dartdart'); 108 required: false, sendCert: true, certType: 'p12', password: 'dartdart');
96 await testClientCertificate( 109 await testClientCertificate(
97 required: true, sendCert: true, certType: 'p12', password: 'dartdart'); 110 required: true, sendCert: true, certType: 'p12', password: 'dartdart');
98 await testClientCertificate( 111 await testClientCertificate(
99 required: false, sendCert: false, certType: 'p12', password: 'dartdart'); 112 required: false, sendCert: false, certType: 'p12', password: 'dartdart');
100 await testClientCertificate( 113 await testClientCertificate(
101 required: true, sendCert: false, certType: 'p12', password: 'dartdart'); 114 required: true, sendCert: false, certType: 'p12', password: 'dartdart');
102 asyncEnd(); 115 asyncEnd();
103 } 116 }
OLDNEW
« no previous file with comments | « tests/standalone/io/secure_multiple_client_server_test.dart ('k') | tests/standalone/io/secure_server_closing_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698