d3cc5f981a78290346ad25a445d9e1b068724289
[platform/core/api/system-settings.git] / unit_test / include / unit_test_fw.h
1 #ifndef __UNIT_TEST_FW__
2 #define __UNIT_TEST_FW__
3
4 #define GLIB_MODE
5
6 #include <stdio.h>
7 #include <glib.h>
8 #include <unistd.h>
9 #include <Elementary.h>
10
11 #include <unit_test_assert.h>
12
13 void add_test_func(char * test_name,  GTestFunc func_pointer);
14 void unittest_api();
15
16 #ifdef GLIB_MODE
17 #define RETTYPE void
18 #define RETURN(a) return
19 #else
20 #define RETTYPE int
21 #define RETURN(a) return a
22 #endif
23
24 #ifndef N_THREADS
25 #define N_THERADS 0
26 #endif
27
28 #define MAX_TEST_CASE 1000
29
30 #endif