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

Side by Side Diff: tests/standalone/io/socket_upgrade_to_secure_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 // VMOptions= 5 // VMOptions=
6 // VMOptions=--short_socket_read 6 // VMOptions=--short_socket_read
7 // VMOptions=--short_socket_write 7 // VMOptions=--short_socket_write
8 // VMOptions=--short_socket_read --short_socket_write 8 // VMOptions=--short_socket_read --short_socket_write
9 // OtherResources=certificates/server_chain.pem
10 // OtherResources=certificates/server_key.pem
11 // OtherResources=certificates/trusted_certs.pem
9 12
10 import "dart:async"; 13 import "dart:async";
11 import "dart:io"; 14 import "dart:io";
12 15
13 import "package:async_helper/async_helper.dart"; 16 import "package:async_helper/async_helper.dart";
14 import "package:expect/expect.dart"; 17 import "package:expect/expect.dart";
15 18
16 InternetAddress HOST; 19 InternetAddress HOST;
17 String localFile(path) => Platform.script.resolve(path).toFilePath(); 20 String localFile(path) => Platform.script.resolve(path).toFilePath();
18 List<int> readLocalFile(path) => (new File(localFile(path))).readAsBytesSync(); 21 List<int> readLocalFile(path) => (new File(localFile(path))).readAsBytesSync();
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 test(false, false); 234 test(false, false);
232 // TODO(whesse): Enable the test with all argument combinations: 235 // TODO(whesse): Enable the test with all argument combinations:
233 // test(true, false); 236 // test(true, false);
234 // test(false, true); 237 // test(false, true);
235 // test(true, true); 238 // test(true, true);
236 // test(false, true, true); 239 // test(false, true, true);
237 // test(true, true, true); 240 // test(true, true, true);
238 asyncEnd(); 241 asyncEnd();
239 }); 242 });
240 } 243 }
OLDNEW
« no previous file with comments | « tests/standalone/io/security_context_argument_test.dart ('k') | tests/standalone/io/web_socket_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698