mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-23 07:00:17 +00:00
修复沙箱子失败ut
Signed-off-by: 王达 <wangda20@huawei.com>
This commit is contained in:
parent
bf8fa0a42e
commit
e8fa401e3f
@ -119,9 +119,9 @@ HWTEST_F(AppSpawnSandboxMgrTest, App_Spawn_AppSpawnSandboxCfg_003, TestSize.Leve
|
||||
EXPECT_EQ(ret, 0);
|
||||
#else
|
||||
// for nwebspawn
|
||||
ret = LoadAppSandboxConfig(sandbox, MODE_FOR_NWEB_SPAWN);
|
||||
ret = LoadAppSandboxConfig(sandbox, MODE_FOR_APP_SPAWN);
|
||||
EXPECT_EQ(ret, 0);
|
||||
ret = LoadAppSandboxConfig(sandbox, MODE_FOR_NWEB_SPAWN); // 重复load
|
||||
ret = LoadAppSandboxConfig(sandbox, MODE_FOR_APP_SPAWN); // 重复load
|
||||
EXPECT_EQ(ret, 0);
|
||||
#endif
|
||||
DeleteAppSpawnSandbox(sandbox);
|
||||
|
Loading…
Reference in New Issue
Block a user