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

Side by Side Diff: tests/standalone/io/process_test_util.dart

Issue 10252020: test rename overhaul: step 12 - standalone (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 String getPlatformOutDir() { 5 String getPlatformOutDir() {
6 var os = Platform.operatingSystem(); 6 var os = Platform.operatingSystem();
7 if (os == 'linux') return 'out/'; 7 if (os == 'linux') return 'out/';
8 if (os == 'macos') return 'xcodebuild/'; 8 if (os == 'macos') return 'xcodebuild/';
9 return ''; // Windows. 9 return ''; // Windows.
10 } 10 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 '${outDir}Release_x64/dart$extension', 43 '${outDir}Release_x64/dart$extension',
44 '${outDir}Debug_x64/dart$extension']; 44 '${outDir}Debug_x64/dart$extension'];
45 45
46 for (var name in names) { 46 for (var name in names) {
47 if (new File(name).existsSync()) { 47 if (new File(name).existsSync()) {
48 return name; 48 return name;
49 } 49 }
50 } 50 }
51 Expect.fail('Could not find the dart executable.'); 51 Expect.fail('Could not find the dart executable.');
52 } 52 }
OLDNEW
« no previous file with comments | « tests/standalone/io/process_stdout_test.dart ('k') | tests/standalone/io/process_working_directory_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698