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

Unified Diff: sync/test/engine/test_directory_setter_upper.cc

Issue 10946042: Remove ScopedTempDir from sync test utility class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « sync/test/engine/test_directory_setter_upper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/test_directory_setter_upper.cc
diff --git a/sync/test/engine/test_directory_setter_upper.cc b/sync/test/engine/test_directory_setter_upper.cc
index 318900d824bb284fc9e346b9bfa0c777ae6c3adf..9225e5716539b7cedc775550abc0053064ec9542 100644
--- a/sync/test/engine/test_directory_setter_upper.cc
+++ b/sync/test/engine/test_directory_setter_upper.cc
@@ -29,7 +29,6 @@ void TestDirectorySetterUpper::SetUp() {
NULL,
&encryption_handler_,
encryption_handler_.cryptographer()));
- ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
ASSERT_EQ(syncable::OPENED, directory_->Open(
name_, &delegate_, NullTransactionObserver()));
}
@@ -44,8 +43,6 @@ void TestDirectorySetterUpper::TearDown() {
directory()->SaveChanges();
directory_.reset();
-
- ASSERT_TRUE(temp_dir_.Delete());
}
void TestDirectorySetterUpper::RunInvariantCheck() {
« no previous file with comments | « sync/test/engine/test_directory_setter_upper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698