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

Side by Side Diff: tests/standalone/http_launch_test.dart

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | tests/standalone/io/addlatexhash_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // VMOptions= 4 // VMOptions=
5 // VMOptions=--short_socket_read 5 // VMOptions=--short_socket_read
6 // VMOptions=--short_socket_write 6 // VMOptions=--short_socket_write
7 // VMOptions=--short_socket_read --short_socket_write 7 // VMOptions=--short_socket_read --short_socket_write
8 // OtherResources=http_launch_data/http_isolate_main.dart
9 // OtherResources=http_launch_data/http_launch_main.dart
10 // OtherResources=http_launch_data/http_spawn_main.dart
11 // OtherResources=http_launch_data/packages/simple/simple.dart
8 // 12 //
9 // Test: 13 // Test:
10 // *) Launching a script fetched over HTTP. 14 // *) Launching a script fetched over HTTP.
11 // *) Importing a library fetched over HTTP. 15 // *) Importing a library fetched over HTTP.
12 // *) Automatically resolving package_root when script is fetched over HTTP. 16 // *) Automatically resolving package_root when script is fetched over HTTP.
13 // *) Spawning a URI over HTTP. 17 // *) Spawning a URI over HTTP.
14 18
15 library http_launch_test; 19 library http_launch_test;
16 20
17 import 'dart:async'; 21 import 'dart:async';
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 Expect.isTrue(stdout.startsWith('hello')); 93 Expect.isTrue(stdout.startsWith('hello'));
90 // Same output from all three process runs. 94 // Same output from all three process runs.
91 for (int i = 0; i < results.length; i++) { 95 for (int i = 0; i < results.length; i++) {
92 Expect.equals(stdout, results[i].stdout); 96 Expect.equals(stdout, results[i].stdout);
93 } 97 }
94 } 98 }
95 99
96 main() { 100 main() {
97 HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0).then(serverRunning); 101 HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0).then(serverRunning);
98 } 102 }
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | tests/standalone/io/addlatexhash_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698