Remove unnecessary header inclusion 59/305459/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 2 Feb 2024 00:43:45 +0000 (09:43 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 2 Feb 2024 00:43:45 +0000 (09:43 +0900)
To make aul mock for unit tests, the aul.h, the aul_svc.h and the aul_app_com.h
only are needed.
This patch removes unnecessary header inclusions.

Removes:
 - #include <aul_rsc_mgr.h>
 - #include <aul_rpc_port.h>

Adds:
 - #include <aul_svc.h>

Change-Id: Ia1ff194c143530c3c75e20dbabec672aa25baf63
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
tests/mock/aul_mock.h

index 56c1d00..e0d5121 100644 (file)
@@ -18,8 +18,7 @@
 #define MOCK_AUL_MOCK_H_
 
 #include <aul.h>
-#include <aul_rsc_mgr.h>
-#include <aul_rpc_port.h>
+#include <aul_svc.h>
 #include <aul_app_com.h>
 #include <gmock/gmock.h>
 
@@ -38,4 +37,4 @@ class AulMock : public virtual ModuleMock {
   MOCK_METHOD2(aul_svc_set_appid, int (bundle*, const char*));
 };
 
-#endif  // MOCK_AUL_MOCK_H_
\ No newline at end of file
+#endif  // MOCK_AUL_MOCK_H_