/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv_test.cc | 33 ASSERT_OK(env_->CreateDir("/dir")); 38 ASSERT_OK(env_->GetChildren("/dir", &children)); 42 ASSERT_OK(env_->NewWritableFile("/dir/f", &writable_file)); 47 ASSERT_OK(env_->GetFileSize("/dir/f", &file_size)); 49 ASSERT_OK(env_->GetChildren("/dir", &children)); 54 ASSERT_OK(env_->NewWritableFile("/dir/f", &writable_file)); 55 ASSERT_OK(writable_file->Append("abc")); 59 ASSERT_OK(env_->GetFileSize("/dir/f", &file_size)); 64 ASSERT_OK(env_->RenameFile("/dir/f", "/dir/g")); 67 ASSERT_OK(env_->GetFileSize("/dir/g", &file_size)) [all...] |
/external/chromium_org/third_party/leveldatabase/src/issues/ |
issue200_test.cc | 24 ASSERT_OK(DB::Open(options, dbpath, &db)); 27 ASSERT_OK(db->Put(write_options, "1", "b")); 28 ASSERT_OK(db->Put(write_options, "2", "c")); 29 ASSERT_OK(db->Put(write_options, "3", "d")); 30 ASSERT_OK(db->Put(write_options, "4", "e")); 31 ASSERT_OK(db->Put(write_options, "5", "f")); 37 ASSERT_OK(db->Put(write_options, "25", "cd"));
|
issue178_test.cc | 42 ASSERT_OK(leveldb::DB::Open(db_options, dbpath, &db)); 49 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); 56 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); 63 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch));
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_test.cc | 258 ASSERT_OK(TryReopen(options)); 270 ASSERT_OK(TryReopen(options)); 475 ASSERT_OK(env_->GetChildren(dbname_, &filenames)); 480 ASSERT_OK(env_->DeleteFile(TableFileName(dbname_, number))); 490 ASSERT_OK(env_->GetChildren(dbname_, &filenames)); 498 ASSERT_OK(env_->RenameFile(from, to)); 515 ASSERT_OK(Put("foo", "v1")); 517 ASSERT_OK(Put("bar", "v2")); 518 ASSERT_OK(Put("foo", "v3")); 526 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v1")) [all...] |
autocompact_test.cc | 27 ASSERT_OK(DB::Open(options_, dbname_, &db_)); 64 ASSERT_OK(db_->Put(WriteOptions(), Key(i), value)); 66 ASSERT_OK(dbi->TEST_CompactMemTable()); 70 ASSERT_OK(db_->Delete(WriteOptions(), Key(i))); 72 ASSERT_OK(dbi->TEST_CompactMemTable());
|
corruption_test.cc | 61 ASSERT_OK(TryReopen()); 67 ASSERT_OK(::leveldb::RepairDB(dbname_, options_)); 84 ASSERT_OK(db_->Write(options, &batch)); 129 ASSERT_OK(env_.GetChildren(dbname_, &filenames)); 281 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v1")); 282 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v2")); 283 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v3")); 284 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v4")); 285 ASSERT_OK(db_->Put(WriteOptions(), "foo", "v5")); 289 ASSERT_OK(db_->Get(ReadOptions(), "foo", &v)) [all...] |
/frameworks/native/libs/gui/tests/ |
IGraphicBufferProducer_test.cpp | 32 #define ASSERT_OK(x) ASSERT_EQ(OK, (x)) 92 ASSERT_OK(mConsumer->consumerConnect(mDC, /*controlledByApp*/false)); 114 ASSERT_OK(TryConnectProducer()); 238 ASSERT_OK(mConsumer->consumerDisconnect()); 249 ASSERT_OK(mProducer->disconnect(TEST_API)); 315 ASSERT_OK(mConsumer->consumerDisconnect()); 343 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer)); 350 ASSERT_OK(mProducer->queueBuffer(dequeuedSlot, input, &output)); 413 ASSERT_OK(mProducer->requestBuffer(dequeuedSlot, &dequeuedBuffer)); 450 ASSERT_OK(mConsumer->consumerDisconnect()) [all...] |
/system/core/libcutils/tests/ |
PropertiesTest.cpp | 32 #define ASSERT_OK(x) ASSERT_EQ(0, (x)) 144 ASSERT_OK(property_set(PROPERTY_TEST_KEY, VALID_TEST_VALUE)); 162 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); 181 ASSERT_OK(property_set(PROPERTY_TEST_KEY, valuesTrue[i])); 191 ASSERT_OK(property_set(PROPERTY_TEST_KEY, valuesFalse[i])); 204 ASSERT_OK(property_set(PROPERTY_TEST_KEY, valuesNeither[i])); 255 ASSERT_OK(property_set(PROPERTY_TEST_KEY, setValues[i])); 302 ASSERT_OK(property_set(PROPERTY_TEST_KEY, setValues[i]));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
astrotst.cpp | 46 #define ASSERT_OK(x) if(U_FAILURE(x)) { dataerrln("%s:%d: %s\n", __FILE__, __LINE__, u_errorName(x)); return; } 80 ASSERT_OK(status); 103 ASSERT_OK(status); 111 ASSERT_OK(status); 128 ASSERT_OK(status); 136 ASSERT_OK(status); 142 ASSERT_OK(status); 150 ASSERT_OK(status); 154 ASSERT_OK(status); 204 ASSERT_OK(status) [all...] |
dtfmttst.cpp | 34 #define ASSERT_OK(status) if(U_FAILURE(status)) {errcheckln(status, #status " = %s @ %s:%d", u_errorName(status), __FILE__, __LINE__); return; } 837 ASSERT_OK(status); [all...] |
/external/icu/icu4c/source/test/intltest/ |
astrotst.cpp | 44 #define ASSERT_OK(x) if(U_FAILURE(x)) { dataerrln("%s:%d: %s\n", __FILE__, __LINE__, u_errorName(x)); return; } 78 ASSERT_OK(status); 101 ASSERT_OK(status); 109 ASSERT_OK(status); 126 ASSERT_OK(status); 134 ASSERT_OK(status); 140 ASSERT_OK(status); 148 ASSERT_OK(status); 152 ASSERT_OK(status); 202 ASSERT_OK(status) [all...] |
dtfmttst.cpp | 34 #define ASSERT_OK(status) if(U_FAILURE(status)) {errcheckln(status, #status " = %s @ %s:%d", u_errorName(status), __FILE__, __LINE__); return; } 840 ASSERT_OK(status); [all...] |
/frameworks/av/camera/tests/ |
ProCameraTests.cpp | 69 #define ASSERT_OK(x) ASSERT_EQ(OK, (x)) 624 ASSERT_OK(mCamera->createStream(mDisplayW, mDisplayH, mDisplayFmt, 718 ASSERT_OK(append_camera_metadata(tmp, request)); 722 ASSERT_OK(add_camera_metadata_entry(request, tag, &allStreams, 726 ASSERT_OK(update_camera_metadata_entry(request, entry.index, 787 ASSERT_OK(append_camera_metadata(tmp, request)); 791 ASSERT_OK(add_camera_metadata_entry(request, tag, &allStreams, 795 ASSERT_OK(update_camera_metadata_entry(request, entry.index, 859 ASSERT_OK(append_camera_metadata(tmp, request)); 863 ASSERT_OK(add_camera_metadata_entry(request, tag, &allStreams [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
testharness.h | 106 #define ASSERT_OK(s) ::leveldb::test::Tester(__FILE__, __LINE__).IsOk((s))
|