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

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

Issue 2984363004: Migrate first block of tests in standalone to standalone_2 (Closed)
Patch Set: Remove Expect.throws Created 3 years, 4 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 // 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 8 // OtherResources=http_launch_data/http_isolate_main.dart
9 // OtherResources=http_launch_data/http_launch_main.dart 9 // OtherResources=http_launch_data/http_launch_main.dart
10 // OtherResources=http_launch_data/http_spawn_main.dart 10 // OtherResources=http_launch_data/http_spawn_main.dart
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 Expect.isTrue(stdout.startsWith('hello')); 89 Expect.isTrue(stdout.startsWith('hello'));
90 // Same output from all three process runs. 90 // Same output from all three process runs.
91 for (int i = 0; i < results.length; i++) { 91 for (int i = 0; i < results.length; i++) {
92 Expect.equals(stdout, results[i].stdout); 92 Expect.equals(stdout, results[i].stdout);
93 } 93 }
94 } 94 }
95 95
96 main() { 96 main() {
97 HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0).then(serverRunning); 97 HttpServer.bind(InternetAddress.LOOPBACK_IP_V4, 0).then(serverRunning);
98 } 98 }
OLDNEW
« no previous file with comments | « tests/standalone_2/http_launch_data/packages/simple/simple.dart ('k') | tests/standalone_2/int_array_deopt.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698