/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
D | memenv_test.cc | 33 ASSERT_OK(env_->CreateDir("/dir")); in TEST() 38 ASSERT_OK(env_->GetChildren("/dir", &children)); in TEST() 42 ASSERT_OK(env_->NewWritableFile("/dir/f", &writable_file)); in TEST() 47 ASSERT_OK(env_->GetFileSize("/dir/f", &file_size)); in TEST() 49 ASSERT_OK(env_->GetChildren("/dir", &children)); in TEST() 54 ASSERT_OK(env_->NewWritableFile("/dir/f", &writable_file)); in TEST() 55 ASSERT_OK(writable_file->Append("abc")); in TEST() 59 ASSERT_OK(env_->GetFileSize("/dir/f", &file_size)); in TEST() 64 ASSERT_OK(env_->RenameFile("/dir/f", "/dir/g")); in TEST() 67 ASSERT_OK(env_->GetFileSize("/dir/g", &file_size)); in TEST() [all …]
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
D | db_test.cc | 258 ASSERT_OK(TryReopen(options)); in Reopen() 270 ASSERT_OK(TryReopen(options)); in DestroyAndReopen() 475 ASSERT_OK(env_->GetChildren(dbname_, &filenames)); in DeleteAnSSTFile() 480 ASSERT_OK(env_->DeleteFile(TableFileName(dbname_, number))); in DeleteAnSSTFile() 490 ASSERT_OK(env_->GetChildren(dbname_, &filenames)); in RenameLDBToSST() 498 ASSERT_OK(env_->RenameFile(from, to)); in RenameLDBToSST() 515 ASSERT_OK(Put("foo", "v1")); in TEST() 517 ASSERT_OK(Put("bar", "v2")); in TEST() 518 ASSERT_OK(Put("foo", "v3")); in TEST() 526 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v1")); in TEST() [all …]
|
D | corruption_test.cc | 61 ASSERT_OK(TryReopen()); in Reopen() 67 ASSERT_OK(::leveldb::RepairDB(dbname_, options_)); in RepairDB() 84 ASSERT_OK(db_->Write(options, &batch)); in Build() 129 ASSERT_OK(env_.GetChildren(dbname_, &filenames)); in Corrupt() 281 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v1")); in TEST() 282 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v2")); in TEST() 283 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v3")); in TEST() 284 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v4")); in TEST() 285 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v5")); in TEST() 289 ASSERT_OK(db_->Get(ReadOptions(), "foo", &v)); in TEST() [all …]
|
D | autocompact_test.cc | 27 ASSERT_OK(DB::Open(options_, dbname_, &db_)); in AutoCompactTest() 64 ASSERT_OK(db_->Put(WriteOptions(), Key(i), value)); in DoReads() 66 ASSERT_OK(dbi->TEST_CompactMemTable()); in DoReads() 70 ASSERT_OK(db_->Delete(WriteOptions(), Key(i))); in DoReads() 72 ASSERT_OK(dbi->TEST_CompactMemTable()); in DoReads()
|
/external/chromium_org/third_party/leveldatabase/src/issues/ |
D | issue200_test.cc | 24 ASSERT_OK(DB::Open(options, dbpath, &db)); in TEST() 27 ASSERT_OK(db->Put(write_options, "1", "b")); in TEST() 28 ASSERT_OK(db->Put(write_options, "2", "c")); in TEST() 29 ASSERT_OK(db->Put(write_options, "3", "d")); in TEST() 30 ASSERT_OK(db->Put(write_options, "4", "e")); in TEST() 31 ASSERT_OK(db->Put(write_options, "5", "f")); in TEST() 37 ASSERT_OK(db->Put(write_options, "25", "cd")); in TEST()
|
D | issue178_test.cc | 42 ASSERT_OK(leveldb::DB::Open(db_options, dbpath, &db)); in TEST() 49 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); in TEST() 56 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); in TEST() 63 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); in TEST()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | astrotst.cpp | 46 #define ASSERT_OK(x) if(U_FAILURE(x)) { dataerrln("%s:%d: %s\n", __FILE__, __LINE__, u_errorName(… macro 80 ASSERT_OK(status); in TestSolarLongitude() 103 ASSERT_OK(status); in TestSolarLongitude() 111 ASSERT_OK(status); in TestLunarPosition() 128 ASSERT_OK(status); in TestLunarPosition() 136 ASSERT_OK(status); in TestCoordinates() 142 ASSERT_OK(status); in TestCoordinates() 150 ASSERT_OK(status); in TestCoverage() 154 ASSERT_OK(status); in TestCoverage() 204 ASSERT_OK(status); in TestCoverage() [all …]
|
D | dtfmttst.cpp | 34 #define ASSERT_OK(status) if(U_FAILURE(status)) {errcheckln(status, #status " = %s @ %s:%d", u_err… macro 837 ASSERT_OK(status); in TestLetterDPattern212() 2129 ASSERT_OK(status); in TestGenericTime() 2323 ASSERT_OK(status); in TestRelative() 2344 ASSERT_OK(status); in TestRelative() 2402 ASSERT_OK(status); in TestRelativeClone() 2432 ASSERT_OK(status); in TestHostClone() 3243 ASSERT_OK(status); in TestTimeZoneDisplayName()
|
/external/icu/icu4c/source/test/intltest/ |
D | astrotst.cpp | 44 #define ASSERT_OK(x) if(U_FAILURE(x)) { dataerrln("%s:%d: %s\n", __FILE__, __LINE__, u_errorName(… macro 78 ASSERT_OK(status); in TestSolarLongitude() 101 ASSERT_OK(status); in TestSolarLongitude() 109 ASSERT_OK(status); in TestLunarPosition() 126 ASSERT_OK(status); in TestLunarPosition() 134 ASSERT_OK(status); in TestCoordinates() 140 ASSERT_OK(status); in TestCoordinates() 148 ASSERT_OK(status); in TestCoverage() 152 ASSERT_OK(status); in TestCoverage() 202 ASSERT_OK(status); in TestCoverage() [all …]
|
D | dtfmttst.cpp | 34 #define ASSERT_OK(status) if(U_FAILURE(status)) {errcheckln(status, #status " = %s @ %s:%d", u_err… macro 840 ASSERT_OK(status); in TestLetterDPattern212() 2132 ASSERT_OK(status); in TestGenericTime() 2326 ASSERT_OK(status); in TestRelative() 2347 ASSERT_OK(status); in TestRelative() 2405 ASSERT_OK(status); in TestRelativeClone() 2435 ASSERT_OK(status); in TestHostClone() 3246 ASSERT_OK(status); in TestTimeZoneDisplayName()
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
D | testharness.h | 106 #define ASSERT_OK(s) ::leveldb::test::Tester(__FILE__, __LINE__).IsOk((s)) macro
|