Add define for gio_mock in unittest 95/230195/1 accepted/tizen/5.5/unified/20200409.124111 submit/tizen_5.5/20200409.010821
authormk5004.lee <mk5004.lee@samsung.com>
Wed, 8 Apr 2020 10:37:20 +0000 (19:37 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Wed, 8 Apr 2020 10:37:20 +0000 (19:37 +0900)
Change-Id: Ic57cda1a71ab11e23c6fcc543b21ce15884daff1
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
unittest/mock/gio_mock.h

index 16f787f..13a607d 100644 (file)
 #define MOCK_GIO_H_
 
 #include "mock.h"
-#include <gio/gio.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+typedef struct _GFile GFile;
+typedef struct _GError GError;
+typedef struct _GCancellable GCancellable;
+typedef int gboolean;
+
 DECLARE_FAKE_VALUE_FUNC(GFile*, g_file_new_for_path, const char*);
 DECLARE_FAKE_VALUE_FUNC(gboolean, g_file_query_exists, GFile*, GCancellable*);
 DECLARE_FAKE_VALUE_FUNC(gboolean, g_file_make_directory, GFile*, GCancellable*,