mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-28 03:10:48 +00:00
!6235 kv_adapter UT使用独立的数据库
Merge pull request !6235 from wzhhhh/master
This commit is contained in:
commit
87e23c3ccd
@ -26,7 +26,7 @@ namespace OHOS {
|
||||
|
||||
namespace {
|
||||
const std::string APP_ID = "dsoftbus";
|
||||
const std::string STORE_ID = "dsoftbus_kv_db";
|
||||
const std::string STORE_ID = "dsoftbus_kv_db_test";
|
||||
shared_ptr<KVAdapter> kvStore = nullptr;
|
||||
constexpr int32_t MAX_STRING_LEN = 4096;
|
||||
constexpr int32_t MAX_MAP_SIZE = 10000;
|
||||
|
@ -29,9 +29,9 @@ namespace {
|
||||
constexpr int32_t MAX_STRING_LEN = 4096;
|
||||
constexpr int32_t MIN_STRING_LEN = 1;
|
||||
constexpr int32_t APP_ID_LEN = 8;
|
||||
constexpr int32_t STORE_ID_LEN = 14;
|
||||
constexpr int32_t STORE_ID_LEN = 19;
|
||||
const std::string APP_ID = "dsoftbus";
|
||||
const std::string STORE_ID = "dsoftbus_kv_db";
|
||||
const std::string STORE_ID = "dsoftbus_kv_db_test";
|
||||
}
|
||||
static int32_t g_dbId = 1;
|
||||
class KVAdapterWrapperTest : public testing::Test {
|
||||
|
Loading…
Reference in New Issue
Block a user