提交 47005d1d 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
上级 5b3f7afb
...@@ -840,7 +840,6 @@ HWTEST_F(BundleMgrTest, testGetBundleNameForUidWithIllegal, Function | MediumTes ...@@ -840,7 +840,6 @@ 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.
先完成此消息的编辑!
想要评论请 注册