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

Side by Side Diff: tests/standalone/io/http_proxy_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
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 "dart:async"; 12 import "dart:async";
9 import "dart:io"; 13 import "dart:io";
10 import 'dart:convert'; 14 import 'dart:convert';
11 15
12 String localFile(path) => Platform.script.resolve(path).toFilePath(); 16 String localFile(path) => Platform.script.resolve(path).toFilePath();
13 17
14 SecurityContext serverContext = new SecurityContext() 18 SecurityContext serverContext = new SecurityContext()
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 }); 459 });
456 }); 460 });
457 } 461 }
458 462
459 main() { 463 main() {
460 testInvalidProxy(); 464 testInvalidProxy();
461 testDirectProxy(); 465 testDirectProxy();
462 testProxy(); 466 testProxy();
463 testProxyChain(); 467 testProxyChain();
464 } 468 }
OLDNEW
« no previous file with comments | « tests/standalone/io/http_proxy_advanced_test.dart ('k') | tests/standalone/io/https_bad_certificate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698