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

Unified Diff: third_party/leveldatabase/env_chromium_unittest.cc

Issue 213843002: Building env_chromium_unittests for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Eliminated redundant condition Created 6 years, 9 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 | « third_party/leveldatabase/README.chromium ('k') | third_party/leveldatabase/leveldatabase.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/env_chromium_unittest.cc
diff --git a/third_party/leveldatabase/env_chromium_unittest.cc b/third_party/leveldatabase/env_chromium_unittest.cc
index 66e498b0ba748949dbc55f059c21fe2ad6f50374..092ddfb92e8daeca3f49c0b1fd703ddca9e66d20 100644
--- a/third_party/leveldatabase/env_chromium_unittest.cc
+++ b/third_party/leveldatabase/env_chromium_unittest.cc
@@ -113,7 +113,7 @@ TYPED_TEST(ChromiumEnvMultiPlatformTests, DirectorySyncing) {
MyEnv<TypeParam> env;
base::ScopedTempDir dir;
- dir.CreateUniqueTempDir();
+ ASSERT_TRUE(dir.CreateUniqueTempDir());
base::FilePath dir_path = dir.path();
std::string some_data = "some data";
Slice data = some_data;
@@ -176,7 +176,7 @@ TEST(ChromiumEnv, BackupTables) {
options.env = IDBEnv();
base::ScopedTempDir scoped_temp_dir;
- scoped_temp_dir.CreateUniqueTempDir();
+ ASSERT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
base::FilePath dir = scoped_temp_dir.path();
DB* db;
@@ -221,7 +221,7 @@ TEST(ChromiumEnv, BackupTables) {
TEST(ChromiumEnv, GetChildrenEmptyDir) {
base::ScopedTempDir scoped_temp_dir;
- scoped_temp_dir.CreateUniqueTempDir();
+ ASSERT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
base::FilePath dir = scoped_temp_dir.path();
Env* env = IDBEnv();
@@ -233,7 +233,7 @@ TEST(ChromiumEnv, GetChildrenEmptyDir) {
TEST(ChromiumEnv, GetChildrenPriorResults) {
base::ScopedTempDir scoped_temp_dir;
- scoped_temp_dir.CreateUniqueTempDir();
+ ASSERT_TRUE(scoped_temp_dir.CreateUniqueTempDir());
base::FilePath dir = scoped_temp_dir.path();
base::FilePath new_file_dir = dir.Append(FPL("tmp_file"));
« no previous file with comments | « third_party/leveldatabase/README.chromium ('k') | third_party/leveldatabase/leveldatabase.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698