From 24cef3b168850f30fe2d3a5f6248b89312adf76c Mon Sep 17 00:00:00 2001 From: ulgal-park Date: Mon, 13 Sep 2021 23:22:49 +0900 Subject: [PATCH] mmifw-ipc-test : following change of mmi_instance_destroy, change it's parameter and add checking validation Change-Id: I3d847feb742f2d814de21dc21674ba2579c6927a --- tests/mmifw-ipc-test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/mmifw-ipc-test.cpp b/tests/mmifw-ipc-test.cpp index ad62f15..350e1ef 100644 --- a/tests/mmifw-ipc-test.cpp +++ b/tests/mmifw-ipc-test.cpp @@ -151,7 +151,8 @@ TEST_F(MMIFWIpcTest, MMIFWIpcGetVariableAfterInit) if(h) { - mmi_instance_destroy(h); + mmi_instance_destroy(&h); + EXPECT_EQ(h, nullptr); if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) { -- 2.34.1