mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 09:01:45 +00:00
修改codecheck
Signed-off-by: ljy <liujiaying7@huawei.com>
This commit is contained in:
parent
dc61f1baff
commit
e404d593d1
@ -128,8 +128,8 @@ ohos_unittest("StoreTest") {
|
||||
module_out_path = module_output_path
|
||||
|
||||
sources = [
|
||||
"store_test.cpp",
|
||||
"../../service/rdb/rdb_query.cpp",
|
||||
"store_test.cpp",
|
||||
]
|
||||
|
||||
configs = [ ":module_private_config" ]
|
||||
@ -259,10 +259,10 @@ group("unittest") {
|
||||
":GeneralStoreTest",
|
||||
":MetaDataManagerTest",
|
||||
":SerializableTest",
|
||||
":UtilsTest",
|
||||
":StoreTest",
|
||||
":StoreMetaDataLocalTest",
|
||||
":StoreTest",
|
||||
":SubscriptionTest",
|
||||
":UtilsTest",
|
||||
]
|
||||
}
|
||||
###############################################################################
|
||||
|
@ -41,7 +41,8 @@ public:
|
||||
void TearDown(){};
|
||||
static uint64_t GetCurrentTime()
|
||||
{
|
||||
return static_cast<uint64_t>(std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now().time_since_epoch()).count());
|
||||
return static_cast<uint64_t>(std::chrono::duration_cast<std::chrono::microseconds>
|
||||
(std::chrono::system_clock::now().time_since_epoch()).count());
|
||||
}
|
||||
int intervalTime = 100 * 1000;
|
||||
int testNum = 10;
|
||||
|
Loading…
Reference in New Issue
Block a user