summaryrefslogtreecommitdiffstats
path: root/base/file_util_unittest.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-18 19:15:54 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-18 19:15:54 +0000
commit21dec3879b53f3de1afad9f7147b011415bbc7f9 (patch)
treeb307affba95ba88f799c692ee25005cf815d623f /base/file_util_unittest.cc
parent36987e9fae95a51a980b4f0d71ca2df1a630407e (diff)
downloadchromium_src-21dec3879b53f3de1afad9f7147b011415bbc7f9.zip
chromium_src-21dec3879b53f3de1afad9f7147b011415bbc7f9.tar.gz
chromium_src-21dec3879b53f3de1afad9f7147b011415bbc7f9.tar.bz2
Implement CopyDirectory() for the POSIX branch of file_util.
This lets us pass some more base unit tests and at least one net test. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util_unittest.cc')
-rw-r--r--base/file_util_unittest.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc
index 142967e..e5cea3a 100644
--- a/base/file_util_unittest.cc
+++ b/base/file_util_unittest.cc
@@ -399,8 +399,6 @@ TEST_F(FileUtilTest, Move) {
EXPECT_TRUE(file_util::PathExists(file_name_to));
}
-// TODO(erikkay): implement
-#if defined(OS_WIN)
TEST_F(FileUtilTest, CopyDirectoryRecursively) {
// Create a directory.
std::wstring dir_name_from(test_dir_);
@@ -497,7 +495,6 @@ TEST_F(FileUtilTest, CopyDirectory) {
EXPECT_TRUE(file_util::PathExists(file_name_to));
EXPECT_FALSE(file_util::PathExists(subdir_name_to));
}
-#endif
TEST_F(FileUtilTest, CopyFile) {
// Create a directory