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

Unified Diff: webkit/appcache/appcache_database_unittest.cc

Issue 3033037: Make tests that rely on getting a temp dir exit if they don't. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 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 | « no previous file | webkit/database/database_tracker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_database_unittest.cc
diff --git a/webkit/appcache/appcache_database_unittest.cc b/webkit/appcache/appcache_database_unittest.cc
index f02402608b7d8413107ed3b1c8e0bbd24ea1466b..94db8137ec216a91879f7433c92a9e9a601be499 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");
« no previous file with comments | « no previous file | webkit/database/database_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698