未验证 提交 e45efaa1 编写于 作者: O openharmony_ci 提交者: Gitee

!1496 FIX: 补充 LoadParamsFile UT

Merge pull request !1496 from cheng_jinsong/1108_ut
......@@ -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.
先完成此消息的编辑!
想要评论请 注册