提交 9dcbc256 编写于 作者: C chengjinsong2

补充 LoadParamsFile UT

Signed-off-by: Nchengjinsong2 <chengjinsong2@huawei.com>
上级 a0bea9fd
......@@ -21,6 +21,7 @@
#include "param_security.h"
#include "param_utils.h"
#include "init_group_manager.h"
#include "init_module_engine.h"
#include "beget_ext.h"
#ifdef PARAM_LOAD_CFG_FROM_CODE
#include "param_cfg.h"
......@@ -419,6 +420,7 @@ void PrepareInitUnitTestEnv(void)
LoadDefaultParams(STARTUP_INIT_UT_PATH "/system/etc/param/ohos_const", LOAD_PARAM_NORMAL);
LoadDefaultParams(STARTUP_INIT_UT_PATH "/vendor/etc/param", LOAD_PARAM_NORMAL);
LoadDefaultParams(STARTUP_INIT_UT_PATH "/system/etc/param", LOAD_PARAM_ONLY_ADD);
LoadParamsFile(STARTUP_INIT_UT_PATH "/system/etc/param", true);
LoadParamFromCfg();
// for test int get
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册