Chromium Code Reviews| Index: base/file_util_unittest.cc |
| =================================================================== |
| --- base/file_util_unittest.cc (revision 68690) |
| +++ base/file_util_unittest.cc (working copy) |
| @@ -692,11 +692,13 @@ |
| EXPECT_FALSE(file_util::PathExists(file_name)); |
| } |
| + |
|
kinuko
2010/12/10 23:03:43
Do we need these two empty lines?
|
| + |
| #if defined(OS_WIN) |
| // Tests that the Delete function works for wild cards, especially |
| // with the recursion flag. Also coincidentally tests PathExists. |
| // TODO(erikkay): see if anyone's actually using this feature of the API |
| -TEST_F(FileUtilTest, DeleteWildCard) { |
| +TEST_F(FileUtilTest, DISABLED_DeleteWildCard) { |
| // Create a file and a directory |
| FilePath file_name = temp_dir_.path().Append(FPL("Test DeleteWildCard.txt")); |
| CreateTextFile(file_name, bogus_content); |
| @@ -788,6 +790,15 @@ |
| file_util::CreateDirectory(subdir_path1); |
| ASSERT_TRUE(file_util::PathExists(subdir_path1)); |
| + FilePath sub_subdir_path1 = subdir_path1.Append(FPL("TestSubSubDir1")); |
| + file_util::CreateDirectory(sub_subdir_path1); |
| + ASSERT_TRUE(file_util::PathExists(sub_subdir_path1)); |
| + |
| + FilePath subdir_file_name = |
| + sub_subdir_path1.Append(FPL("DeleteDirRecursiveSubDir.txt")); |
| + CreateTextFile(subdir_file_name, bogus_content); |
| + ASSERT_TRUE(file_util::PathExists(subdir_file_name)); |
| + |
| FilePath subdir_path2 = test_subdir.Append(FPL("TestSubDir2")); |
| file_util::CreateDirectory(subdir_path2); |
| ASSERT_TRUE(file_util::PathExists(subdir_path2)); |