projects
/
platform
/
core
/
appfw
/
message-port.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d1be5
)
Fix unittest error
81/299081/1
author
Inkyun Kil
<inkyun.kil@samsung.com>
Tue, 19 Sep 2023 08:04:11 +0000
(17:04 +0900)
committer
Inkyun Kil
<inkyun.kil@samsung.com>
Tue, 19 Sep 2023 08:04:11 +0000
(17:04 +0900)
Change-Id: I10cc52a92e03cd45574156503916a88a46eae6ce
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
test/unit_tests/test_message_port.cc
patch
|
blob
|
history
diff --git
a/test/unit_tests/test_message_port.cc
b/test/unit_tests/test_message_port.cc
index
f06938b
..
faf6cfb
100644
(file)
--- a/
test/unit_tests/test_message_port.cc
+++ b/
test/unit_tests/test_message_port.cc
@@
-509,6
+509,12
@@
TEST_F(MessagePortTest, message_port_check_remote_port_n) {
}
TEST_F(MessagePortTest, message_port_check_trusted_remote_port) {
+ pkgmgrinfo_cert_compare_result_type_e res = PMINFO_CERT_COMPARE_MATCH;
+ EXPECT_CALL(GetMock<PkgmgrInfoMock>(),
+ pkgmgrinfo_pkginfo_compare_usr_app_cert_info(_, _, _, _)).
+ WillOnce(DoAll(SetArgPointee<3>(res),
+ Return(0)));
+
if (__call_sync_reply != nullptr)
g_variant_unref(__call_sync_reply);
__call_sync_reply = g_variant_new("(b)", true);