提交 53866ab5 编写于 作者: J jiyong 提交者: Gitee

回退 'Pull Request !483 : 删除用户程序框架无效log'

上级 eb74a8ef
...@@ -840,6 +840,7 @@ HWTEST_F(BundleMgrTest, testGetBundleNameForUidWithIllegal, Function | MediumTes ...@@ -840,6 +840,7 @@ HWTEST_F(BundleMgrTest, testGetBundleNameForUidWithIllegal, Function | MediumTes
printf("------start testGetBundleNameForUidWithIllegal------\n"); printf("------start testGetBundleNameForUidWithIllegal------\n");
char *bundleName = nullptr; char *bundleName = nullptr;
int32_t resultCode = GetBundleNameForUid(0, &bundleName); int32_t resultCode = GetBundleNameForUid(0, &bundleName);
printf("GetBundleNameForUid content of bundleName is %s \n", bundleName);
EXPECT_EQ(resultCode, 114); EXPECT_EQ(resultCode, 114);
printf("GetBundleNameForUid result is %d \n", resultCode); printf("GetBundleNameForUid result is %d \n", resultCode);
if (bundleName != nullptr) { if (bundleName != nullptr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册