equal
deleted
inserted
replaced
45 |
45 |
46 #ifdef G_OS_WIN32 |
46 #ifdef G_OS_WIN32 |
47 #include <io.h> /* For read(), write() etc */ |
47 #include <io.h> /* For read(), write() etc */ |
48 #endif |
48 #endif |
49 |
49 |
50 #ifdef SYMBIAN |
50 #ifdef __SYMBIAN32__ |
51 #include "mrt2_glib2_test.h" |
51 #include "mrt2_glib2_test.h" |
52 #endif /*SYMBIAN*/ |
52 #endif /*SYMBIAN*/ |
53 |
53 |
54 |
54 |
55 static void |
55 static void |
171 } |
171 } |
172 |
172 |
173 int |
173 int |
174 main (int argc, char *argv[]) |
174 main (int argc, char *argv[]) |
175 { |
175 { |
176 #ifdef SYMBIAN |
176 #ifdef __SYMBIAN__ |
177 g_log_set_handler (NULL, G_LOG_FLAG_FATAL| G_LOG_FLAG_RECURSION | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO | G_LOG_LEVEL_DEBUG, &mrtLogHandler, NULL); |
177 g_log_set_handler (NULL, G_LOG_FLAG_FATAL| G_LOG_FLAG_RECURSION | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING | G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO | G_LOG_LEVEL_DEBUG, &mrtLogHandler, NULL); |
178 g_set_print_handler(mrtPrintHandler); |
178 g_set_print_handler(mrtPrintHandler); |
179 #endif /*SYMBIAN*/ |
179 #endif /*SYMBIAN*/ |
180 |
180 |
181 |
181 |
182 test_mkstemp (); |
182 test_mkstemp (); |
183 test_readlink (); |
183 test_readlink (); |
184 test_get_contents (); |
184 test_get_contents (); |
185 |
185 |
186 #if SYMBIAN |
186 #ifdef __SYMBIAN__ |
187 testResultXml("file-test"); |
187 testResultXml("file-test"); |
188 #endif /* EMULATOR */ |
188 #endif /* EMULATOR */ |
189 |
189 |
190 return 0; |
190 return 0; |
191 } |
191 } |