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

Unified Diff: base/test/test_file_util.cc

Issue 1139883004: Testing: Fixed printing FilePaths when a test fails comparing them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bauerb-profiles-ephemeral
Patch Set: Remove BASE_EXPORT; see if this fixes Windows compile. Created 5 years, 7 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/file_path_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_file_util.cc
diff --git a/base/test/test_file_util.cc b/base/test/test_file_util.cc
index 8dafc58a7dfd43207812266c680515115e56a38f..40b25f01aa8bea2a6c52be5e5ee17609431eeecb 100644
--- a/base/test/test_file_util.cc
+++ b/base/test/test_file_util.cc
@@ -20,4 +20,9 @@ bool EvictFileFromSystemCacheWithRetry(const FilePath& path) {
return false;
}
+// Declared in base/files/file_path.h.
+void PrintTo(const FilePath& path, std::ostream* out) {
+ *out << path.value();
+}
+
} // namespace base
« no previous file with comments | « base/files/file_path_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698