summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_database_unittest.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 21:30:34 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 21:30:34 +0000
commit8e43e077d1115872a7556744b8aca51816ac69fd (patch)
tree6955f33b7216f0189dfa4579ec541cdfdff018ea /webkit/appcache/appcache_database_unittest.cc
parent65049c1095517f4eb305469c42d94e10d47a9501 (diff)
downloadchromium_src-8e43e077d1115872a7556744b8aca51816ac69fd.zip
chromium_src-8e43e077d1115872a7556744b8aca51816ac69fd.tar.gz
chromium_src-8e43e077d1115872a7556744b8aca51816ac69fd.tar.bz2
Make tests that rely on getting a temp dir exit if they don't.
It may be the case that some tests march onward with the wrong directory and then do something bad. Review URL: http://codereview.chromium.org/3033037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54024 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_database_unittest.cc')
-rw-r--r--webkit/appcache/appcache_database_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/appcache/appcache_database_unittest.cc b/webkit/appcache/appcache_database_unittest.cc
index f024026..94db813 100644
--- a/webkit/appcache/appcache_database_unittest.cc
+++ b/webkit/appcache/appcache_database_unittest.cc
@@ -54,7 +54,7 @@ TEST(AppCacheDatabaseTest, LazyOpen) {
TEST(AppCacheDatabaseTest, ReCreate) {
// Real files on disk for this test.
ScopedTempDir temp_dir;
- EXPECT_TRUE(temp_dir.CreateUniqueTempDir());
+ ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
const FilePath kDbFile = temp_dir.path().AppendASCII("appcache.db");
const FilePath kNestedDir = temp_dir.path().AppendASCII("nested");
const FilePath kOtherFile = kNestedDir.AppendASCII("other_file");