diff options
author | qsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-27 10:51:34 +0000 |
---|---|---|
committer | qsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-27 10:51:34 +0000 |
commit | e6ab3071f0d71d7aaf80b76a0fabc4a5d8f93195 (patch) | |
tree | 6037968dfbb03a37cbb19290d12c0d37a5f3a74b /sync | |
parent | 24194e8a1289387af114c3211963aad2fd6621e7 (diff) | |
download | chromium_src-e6ab3071f0d71d7aaf80b76a0fabc4a5d8f93195.zip chromium_src-e6ab3071f0d71d7aaf80b76a0fabc4a5d8f93195.tar.gz chromium_src-e6ab3071f0d71d7aaf80b76a0fabc4a5d8f93195.tar.bz2 |
Fix sync unit test.
OnDiskSyncableDirectory::FailInitialWrite was using a ScopedTempDir
without calling any Create method.
TEST=None
BUG=144537,144422
R=rlarocque@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10873062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r-- | sync/syncable/syncable_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sync/syncable/syncable_unittest.cc b/sync/syncable/syncable_unittest.cc index 6a25f75..b74d41c 100644 --- a/sync/syncable/syncable_unittest.cc +++ b/sync/syncable/syncable_unittest.cc @@ -1449,6 +1449,7 @@ TEST(OnDiskSyncableDirectory, FailInitialWrite) { FakeEncryptor encryptor; TestUnrecoverableErrorHandler handler; ScopedTempDir temp_dir; + ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); FilePath file_path = temp_dir.path().Append( FILE_PATH_LITERAL("Test.sqlite3")); std::string name = "user@x.com"; |