mmifw-ipc-test, mmifw-main-test : remove rpc_port_deregister_proc_info, it move to... 04/264304/1
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 15 Sep 2021 10:50:33 +0000 (19:50 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 15 Sep 2021 12:07:43 +0000 (21:07 +0900)
Change-Id: I92a817bf38f93a080b4ea1d1200537db6d768ccb

tests/mmifw-ipc-test.cpp
tests/mmifw-main-test.cpp

index 350e1ef..09078f6 100644 (file)
@@ -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)
index b216cdf..9ec3cb5 100644 (file)
@@ -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)