tizen 2.4 release
[framework/api/radio.git] / test / radio_test_type.h
index 5363cdd..bfa7df9 100644 (file)
 #include <stdio.h>
 #include <assert.h>
 
-typedef int (*test_function) (void);
+typedef int (*test_function)(void);
 
-typedef struct __test_item
-{
+typedef struct __test_item {
        char menu_string[80];
        char description[128];
        test_function func;
@@ -36,14 +35,14 @@ typedef struct __test_item
 } test_item_t;
 
 #define RADIO_TEST__(x_test)   \
-               ret = x_test    \
-               if ( ! ret )    \
-               {       \
-                       printf("PASS : %s -- %s:%d\n", #x_test, __FILE__, __LINE__);    \
-               }       \
-               else    \
-               {       \
-                       printf("FAIL : %s ERR-CODE : 0x%x -- %s:%d\n", #x_test, ret, __FILE__, __LINE__);       \
-               }
+       ret = x_test    \
+             if ( ! ret )      \
+       {       \
+               printf("PASS : %s -- %s:%d\n", #x_test, __FILE__, __LINE__);    \
+       }       \
+       else    \
+       {       \
+               printf("FAIL : %s ERR-CODE : 0x%x -- %s:%d\n", #x_test, ret, __FILE__, __LINE__);       \
+       }
 
 #endif /* MM_RADIO_TEST_TYPE_H_ */