Chromium Code Reviews| Index: base/files/file_util_unittest.cc |
| diff --git a/base/files/file_util_unittest.cc b/base/files/file_util_unittest.cc |
| index ac3a654fdd3d8b179ecc9710b8fd48a1b4ab7a36..0b7c2a8def95e57792730d6bc6e80e09af05a714 100644 |
| --- a/base/files/file_util_unittest.cc |
| +++ b/base/files/file_util_unittest.cc |
| @@ -838,6 +838,11 @@ TEST_F(FileUtilTest, ChangeDirectoryPermissionsAndEnumerate) { |
| EXPECT_FALSE(PathExists(subdir_path)); |
| } |
| +TEST_F(FileUtilTest, ExecutableExistsInPath) { |
|
Tom (Use chromium acct)
2016/06/22 16:57:56
Not much to it at this point...
Maybe it would be
|
| + EXPECT_TRUE(ExecutableExistsInPath("sh")); |
| + EXPECT_FALSE(ExecutableExistsInPath("foobar")); |
| +} |
| + |
| #endif // defined(OS_POSIX) |
| #if defined(OS_WIN) |