提交 b13c6c73 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
上级 de628a7e
......@@ -889,7 +889,7 @@ HWTEST_F(BundleMgrTest, testGetBundleSizeWithLegal_0003, Function | MediumTest |
char *bundleName = (char*)"com.huawei.testjsdemoBundleNameLengt" \
"hEqualTo127testjsdemoBundleNameLengthEqualTo127testjsdemoBundleNameLengthEqualTo127testjsde";
sem_init(&g_sem, 0, 0);
InstallParam installParam = { .installLocation = 1, .keepData = false };
InstallParam installParam = {.installLocation = 1, .keepData = false};
string hapPath = g_testPath + "testGetBundleNameWithLegal127.hap";
Install(hapPath.c_str(), &installParam, TestBundleStateCallback);
sem_wait(&g_sem);
......@@ -1000,7 +1000,7 @@ HWTEST_F(BundleMgrTest, testStressConfig_0002, Function | MediumTest | Level2)
char *bundleName = (char*)"com.huawei.testjsdemo";
char *bundleName2 = (char*)"com.huawei.testjsdemoBtestjsdemoB";
sem_init(&g_sem, 0, 0);
InstallParam installParam = { .installLocation = 1, .keepData = false };
InstallParam installParam = {.installLocation = 1, .keepData = false};
string hapPath = g_testPath + "frequentlyStress2.hap";
Install(hapPath.c_str(), &installParam, TestBundleStateCallback);
sem_wait(&g_sem);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册