Lines Matching refs:handler_res
55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument
56 if ((!(cond)) || (handler_res == 1)) { \
107 int handler_res = 0; in main() local
115 handler_res = test_handler_called(0, "", test_id); in main()
116 TEST_RES(res == 0, "Normal Concatenation", handler_res, test_id); in main()
118 "Normal Concatenation Contents", handler_res, test_id); in main()
123 handler_res = test_handler_called( in main()
125 TEST_RES(res != 0, "Concatenation with insufficient buffer", handler_res, in main()
131 handler_res = test_handler_called(1, "strcat_s: dest is NULL", test_id); in main()
132 TEST_RES(res != 0, "NULL Destination Pointer", handler_res, test_id); in main()
134 handler_res = test_handler_called(1, "strcat_s: source is NULL", test_id); in main()
135 TEST_RES(res != 0, "NULL Source Pointer", handler_res, test_id); in main()
141 handler_res = test_handler_called(0, "", test_id); in main()
142 TEST_RES(res == 0, "Concatenation of empty source string", handler_res, in main()
145 "Concatenation of empty source string Contents", handler_res, in main()
152 handler_res = test_handler_called(0, "", test_id); in main()
154 handler_res, test_id); in main()
157 handler_res, test_id); in main()