[Test] remove unused param
authorJaeyun Jung <jy1210.jung@samsung.com>
Mon, 25 Mar 2024 09:11:42 +0000 (18:11 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Mon, 25 Mar 2024 10:35:21 +0000 (19:35 +0900)
Code clean, remove unnecessary param - bus type to run agent in testcase.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
tests/capi/unittest_capi_remote_service.cc
tests/capi/unittest_capi_service_agent_client.cc

index 7f64be6..647d1ce 100644 (file)
@@ -28,7 +28,6 @@ class MLRemoteService : public ::testing::Test
 {
   protected:
   GTestDBus *dbus;
-  GBusType bus_type;
 
   public:
   /**
@@ -44,11 +43,6 @@ class MLRemoteService : public ::testing::Test
     g_test_dbus_add_service_dir (dbus, services_dir);
 
     g_test_dbus_up (dbus);
-#if defined(ENABLE_GCOV)
-    bus_type = G_BUS_TYPE_SYSTEM;
-#else
-    bus_type = G_BUS_TYPE_SESSION;
-#endif
   }
 
   /**
index a443bae..627e5a1 100644 (file)
@@ -24,7 +24,6 @@ class MLServiceAgentTest : public ::testing::Test
 {
   protected:
   GTestDBus *dbus;
-  GBusType bus_type;
 
   public:
   /**
@@ -40,11 +39,6 @@ class MLServiceAgentTest : public ::testing::Test
     g_test_dbus_add_service_dir (dbus, services_dir);
 
     g_test_dbus_up (dbus);
-#if defined(ENABLE_GCOV)
-    bus_type = G_BUS_TYPE_SYSTEM;
-#else
-    bus_type = G_BUS_TYPE_SESSION;
-#endif
   }
 
   /**