Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2425)

Unified Diff: base/file_util_unittest.cc

Issue 2441: implement things needed to run net/disk_cache/backend_unittest (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/file_util_linux.cc ('k') | net/SConscript » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_unittest.cc
===================================================================
--- base/file_util_unittest.cc (revision 2109)
+++ base/file_util_unittest.cc (working copy)
@@ -399,8 +399,7 @@
EXPECT_TRUE(file_util::PathExists(file_name_to));
}
-// TODO(erikkay): implement
-#if defined(OS_WIN)
+#if !defined(OS_MACOSX)
TEST_F(FileUtilTest, CopyDirectoryRecursively) {
// Create a directory.
std::wstring dir_name_from(test_dir_);
@@ -696,7 +695,7 @@
TEST_F(FileUtilTest, CreateTemporaryFileNameTest) {
std::wstring temp_file;
- file_util::CreateTemporaryFileName(&temp_file);
+ ASSERT_TRUE(file_util::CreateTemporaryFileName(&temp_file));
EXPECT_TRUE(file_util::PathExists(temp_file));
EXPECT_TRUE(file_util::Delete(temp_file, false));
}
« no previous file with comments | « base/file_util_linux.cc ('k') | net/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698