|
acl
3.5.3.0
|
浏览该文件的文档. 1 #ifndef ACL_TEST_MACRO_INCLUDE_H 2 #define ACL_TEST_MACRO_INCLUDE_H 8 #define AUT_SET_STR(__test_line__, __name__, __value__) do { \ 9 __value__ = aut_line_getvalue(__test_line__, __name__); \ 10 if (__value__ == NULL) { \ 11 printf("%s(%d): getvalue error for %s, line=%d\n", \ 13 __name__, aut_line_number(__test_line__)); \ 18 #define AUT_SET_INT(__test_line__, __name__, __value__) do { \ 19 const char *__ptr__; \ 20 __ptr__ = aut_line_getvalue(__test_line__, __name__); \ 21 if (__ptr__ == NULL) { \ 22 printf("%s(%d): getvalue error for %s, line=%d\n", \ 24 __name__, aut_line_number(__test_line__)); \ 27 __value__ = atoi(__ptr__); \ 30 #define AUT_RETURN_ERROR(__test_line__) do { \ 31 printf("%s(%d): %s error, line=%d\n", \ 33 aut_line_cmdname(__test_line__), \ 34 aut_line_number(__test_line__)); \