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

Side by Side Diff: tests/isolate/package_config_test.dart

Issue 2153813003: Remove windows debug print and trace shutdown on some tests (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « runtime/bin/extensions_win.cc ('k') | tests/standalone/io/http_basic_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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // VMOptions=--trace_shutdown
5 import 'dart:io'; 5 import 'dart:io';
6 import 'dart:isolate'; 6 import 'dart:isolate';
7 7
8 final SPAWN_PACKAGE_CONFIG = "foobar:///no/such/file/"; 8 final SPAWN_PACKAGE_CONFIG = "foobar:///no/such/file/";
9 9
10 main([args, port]) async { 10 main([args, port]) async {
11 if (port != null) { 11 if (port != null) {
12 testPackageConfig(port); 12 testPackageConfig(port);
13 return; 13 return;
14 } 14 }
(...skipping 15 matching lines...) Expand all
30 print("Spawning isolate's package config: ${await Isolate.packageConfig}"); 30 print("Spawning isolate's package config: ${await Isolate.packageConfig}");
31 } 31 }
32 32
33 testPackageConfig(port) async { 33 testPackageConfig(port) async {
34 var packageConfigStr = Platform.packageConfig; 34 var packageConfigStr = Platform.packageConfig;
35 var packageConfig = await Isolate.packageConfig; 35 var packageConfig = await Isolate.packageConfig;
36 print("Spawned isolate's package config flag: $packageConfigStr"); 36 print("Spawned isolate's package config flag: $packageConfigStr");
37 print("Spawned isolate's loaded package config: $packageConfig"); 37 print("Spawned isolate's loaded package config: $packageConfig");
38 port.send([packageConfigStr, packageConfig?.toString()]); 38 port.send([packageConfigStr, packageConfig?.toString()]);
39 } 39 }
OLDNEW
« no previous file with comments | « runtime/bin/extensions_win.cc ('k') | tests/standalone/io/http_basic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698