diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 21:56:40 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 21:56:40 +0000 |
commit | dde46b66c618a3ab242ddfbceb0290699a32012c (patch) | |
tree | 1d038e21efce2e388728d6926971a3d52d3a7ea6 /chrome/installer/util/helper_unittest.cc | |
parent | 21ef86656994c1e5128ea2a469bde8b6fc70675a (diff) | |
download | chromium_src-dde46b66c618a3ab242ddfbceb0290699a32012c.zip chromium_src-dde46b66c618a3ab242ddfbceb0290699a32012c.tar.gz chromium_src-dde46b66c618a3ab242ddfbceb0290699a32012c.tar.bz2 |
Windows: Make file_util::Delete("c:\\foo_dir", false) work correctly. Add more unit tests for Delete.
BUG=42374
TEST=included
Review URL: http://codereview.chromium.org/1763008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46633 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/helper_unittest.cc')
-rw-r--r-- | chrome/installer/util/helper_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/helper_unittest.cc b/chrome/installer/util/helper_unittest.cc index 6ccbd29..05ca505 100644 --- a/chrome/installer/util/helper_unittest.cc +++ b/chrome/installer/util/helper_unittest.cc @@ -33,7 +33,7 @@ namespace { virtual void TearDown() { logging::CloseLogFile(); // Clean up test directory - ASSERT_TRUE(file_util::Delete(test_dir_, false)); + ASSERT_TRUE(file_util::Delete(test_dir_, true)); ASSERT_FALSE(file_util::PathExists(test_dir_)); } |