Fix add_remove_event_handler test 97/319297/1
authorIlho Kim <ilho159.kim@samsung.com>
Mon, 21 Oct 2024 07:55:29 +0000 (16:55 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Mon, 21 Oct 2024 07:58:12 +0000 (16:58 +0900)
If the event name is system event
aul_svc_get_appid_by_alias_appid is not called

Change-Id: Id7dc1b79ea69dc31ed8601dbb5970a1c281394d7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
tests/unittests/test_event.cc

index f47712a663d479660406673277cc0a5a3e2540d6..32d902f91c0097fe8930ebb9a19901443802e6bd 100644 (file)
@@ -61,11 +61,6 @@ TEST_F(AppEventTest, add_remove_event_handler) {
   if (_appid)
     snprintf(_appid, 10, "%s", "testappid");
 
-  EXPECT_CALL(GetMock<AulMock>(),
-      aul_svc_get_appid_by_alias_appid(_, _)).
-      WillOnce(DoAll(SetArgPointee<1>(_appid),
-                      Return(0)));
-
   EXPECT_CALL(GetMock<EventSystemMock>(),
       eventsystem_register_application_event(_, _, _, _, _)).
       WillOnce(Return(0));