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

Unified Diff: base/json/json_value_serializer_unittest.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/files/scoped_temp_dir_unittest.cc ('k') | base/native_library_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_value_serializer_unittest.cc
diff --git a/base/json/json_value_serializer_unittest.cc b/base/json/json_value_serializer_unittest.cc
index ce7129fa2ed42862babce124587a6701abd97be0..519af848f3e52b5ae647288ec5b1656e1ef935f3 100644
--- a/base/json/json_value_serializer_unittest.cc
+++ b/base/json/json_value_serializer_unittest.cc
@@ -423,8 +423,7 @@ TEST_F(JSONFileValueSerializerTest, Roundtrip) {
ASSERT_TRUE(PathExists(written_file_path));
// Now compare file contents.
- EXPECT_TRUE(file_util::TextContentsEqual(original_file_path,
- written_file_path));
+ EXPECT_TRUE(TextContentsEqual(original_file_path, written_file_path));
EXPECT_TRUE(base::Delete(written_file_path, false));
}
@@ -451,8 +450,7 @@ TEST_F(JSONFileValueSerializerTest, RoundtripNested) {
ASSERT_TRUE(PathExists(written_file_path));
// Now compare file contents.
- EXPECT_TRUE(file_util::TextContentsEqual(original_file_path,
- written_file_path));
+ EXPECT_TRUE(TextContentsEqual(original_file_path, written_file_path));
EXPECT_TRUE(base::Delete(written_file_path, false));
}
« no previous file with comments | « base/files/scoped_temp_dir_unittest.cc ('k') | base/native_library_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698