From c63977bea6b80269a1a144b29f7cb071a0b3c5a6 Mon Sep 17 00:00:00 2001 From: dyamy-lee Date: Wed, 15 Sep 2021 19:50:33 +0900 Subject: [PATCH] mmifw-ipc-test, mmifw-main-test : remove rpc_port_deregister_proc_info, it move to mmi_ipc_shutdown Change-Id: I92a817bf38f93a080b4ea1d1200537db6d768ccb --- tests/mmifw-ipc-test.cpp | 26 ----------------- tests/mmifw-main-test.cpp | 72 ----------------------------------------------- 2 files changed, 98 deletions(-) diff --git a/tests/mmifw-ipc-test.cpp b/tests/mmifw-ipc-test.cpp index 350e1ef..09078f6 100644 --- a/tests/mmifw-ipc-test.cpp +++ b/tests/mmifw-ipc-test.cpp @@ -51,15 +51,6 @@ TEST_F(MMIFWIpcTest, MMIFWIpcInitSuccess) if(ipc_init_res == 0) { mmi_ipc_shutdown(); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else - { - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -77,15 +68,6 @@ TEST_F(MMIFWIpcTest, MMIFWIpcInitFail) if(ipc_init_res == 0) { mmi_ipc_shutdown(); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else - { - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -153,14 +135,6 @@ TEST_F(MMIFWIpcTest, MMIFWIpcGetVariableAfterInit) { mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) diff --git a/tests/mmifw-main-test.cpp b/tests/mmifw-main-test.cpp index b216cdf..9ec3cb5 100644 --- a/tests/mmifw-main-test.cpp +++ b/tests/mmifw-main-test.cpp @@ -69,14 +69,6 @@ TEST_F(MMIFWMainTest, MMIFWMainInstanceCreateDestroySuccess) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -103,14 +95,6 @@ TEST_F(MMIFWMainTest, MMIFWMainInstanceCreateAndConnectSuccess) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -135,14 +119,6 @@ TEST_F(MMIFWMainTest, MMIFWMainInstanceCreateFail) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -199,14 +175,6 @@ TEST_F(MMIFWMainTest, MMIFWMainEventAddSingleListener) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -243,14 +211,6 @@ TEST_F(MMIFWMainTest, MMIFWMainEventAddSingleListenerFail) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -287,14 +247,6 @@ TEST_F(MMIFWMainTest, MMIFWMainEventAddSingleListenerSecondFail) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -332,14 +284,6 @@ TEST_F(MMIFWMainTest, MMIFWMainRequestSendGetFocus) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -390,14 +334,6 @@ TEST_F(MMIFWMainTest, MMIFWMainRequestSendSetGetState) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) @@ -439,14 +375,6 @@ TEST_F(MMIFWMainTest, MMIFWMainEventRemoveAllListener) if(h){ mmi_instance_destroy(&h); EXPECT_EQ(h, nullptr); - - if(rpc_port_deregister_proc_info() == RPC_PORT_ERROR_NONE) - { - PRINT("Remove AUL Proxy Success\n"); - } - else{ - PRINT("Remove AUL Proxy Fail(RPC_PORT_ERROR_IO_ERROR)"); - } } if(res) -- 2.7.4