!1364 fix: 修复UT AttachValidObjectTest001

Merge pull request !1364 from jialinbo/master
This commit is contained in:
openharmony_ci 2024-09-23 08:29:23 +00:00 committed by Gitee
commit 63ee7d1a5f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -110,7 +110,7 @@ HWTEST_F(ProcessSkeletonUnitTest, AttachValidObjectTest001, TestSize.Level1)
sptr<IRemoteObject> object = new IPCObjectStub(u"testObject");
ASSERT_TRUE(object != nullptr);
bool ret = skeleton->AttachValidObject(object.GetRefPtr());
EXPECT_EQ(ret, true);
EXPECT_EQ(ret, false);
}
/**