Index: tests/standalone/src/io/ProcessTestUtil.dart |
diff --git a/tests/standalone/src/io/ProcessTestUtil.dart b/tests/standalone/src/io/ProcessTestUtil.dart |
deleted file mode 100644 |
index 258d89ce6e4c4e1749ede94716fbe824a6d66b82..0000000000000000000000000000000000000000 |
--- a/tests/standalone/src/io/ProcessTestUtil.dart |
+++ /dev/null |
@@ -1,52 +0,0 @@ |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-String getPlatformOutDir() { |
- var os = Platform.operatingSystem(); |
- if (os == 'linux') return 'out/'; |
- if (os == 'macos') return 'xcodebuild/'; |
- return ''; // Windows. |
-} |
- |
-String getPlatformExecutableExtension() { |
- var os = Platform.operatingSystem(); |
- if (os == 'windows') return '.exe'; |
- return ''; // Linux and Mac OS. |
-} |
- |
-String getProcessTestFileName() { |
- var outDir = getPlatformOutDir(); |
- var extension = getPlatformExecutableExtension(); |
- // We do not expose information about the mode or architecture we are testing |
- // to the tests themselves, so we use any working copy. |
- var names = ['${outDir}Release_ia32/process_test$extension', |
- '${outDir}Debug_ia32/process_test$extension', |
- '${outDir}Release_x64/process_test$extension', |
- '${outDir}Debug_x64/process_test$extension']; |
- |
- for (var name in names) { |
- if (new File(name).existsSync()) { |
- return name; |
- } |
- } |
- Expect.fail('Could not find the process_test executable.'); |
-} |
- |
-String getDartFileName() { |
- var outDir = getPlatformOutDir(); |
- var extension = getPlatformExecutableExtension(); |
- // We do not expose information about the mode or architecture we are testing |
- // to the tests themselves, so we use any working dart shell. |
- var names = ['${outDir}Release_ia32/dart$extension', |
- '${outDir}Debug_ia32/dart$extension', |
- '${outDir}Release_x64/dart$extension', |
- '${outDir}Debug_x64/dart$extension']; |
- |
- for (var name in names) { |
- if (new File(name).existsSync()) { |
- return name; |
- } |
- } |
- Expect.fail('Could not find the dart executable.'); |
-} |