提交 06e5c7f5 编写于 作者: S shilei

add

Signed-off-by: Nshilei <shilei91@huawei.com>
Change-Id: Ia0a38346609e92f5308841f20f56d8cdcea104e5
上级 983d68d4
......@@ -84,6 +84,7 @@ LITE_TEST_CASE(BundleMgrTestSuite, testClearAbilityInfoIllegal, Function | Mediu
TEST_ASSERT_EQUAL(err, EOK);
ClearAbilityInfo(NULL);
TEST_ASSERT_EQUAL_STRING(abilityInfo.bundleName, name);
free(abilityInfo.bundleName);
printf("------end testClearAbilityInfoIllegal------\n");
}
......@@ -129,6 +130,7 @@ LITE_TEST_CASE(BundleMgrTestSuite, testClearBundleInfoIllegal, Function | Medium
TEST_ASSERT_EQUAL(err, EOK);
ClearBundleInfo(NULL);
TEST_ASSERT_EQUAL_STRING(bundleInfo.bundleName, name);
free(bundleInfo.bundleName);
printf("------end testClearBundleInfoIllegal------\n");
}
......@@ -174,6 +176,7 @@ LITE_TEST_CASE(BundleMgrTestSuite, testClearModuleInfoIllegal, Function | Medium
TEST_ASSERT_EQUAL(err, EOK);
ClearModuleInfo(NULL);
TEST_ASSERT_EQUAL_STRING(moduleInfo.moduleName, name);
free(moduleInfo.moduleName);
printf("------end testClearModuleInfoIllegal------\n");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册