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
116 handler_res = test_handler_called(0, "", test_id); in main()
117 TEST_RES(res == 0, "Normal Concatenation", handler_res, test_id); in main()
119 "Normal Concatenation Contents", handler_res, test_id); in main()
125 handler_res = test_handler_called( in main()
127 TEST_RES(res != 0, "Concatenation with insufficient buffer", handler_res, in main()
133 handler_res = test_handler_called(1, "strncat_s: dest is NULL", test_id); in main()
134 TEST_RES(res != 0, "NULL Destination Pointer", handler_res, test_id); in main()
136 handler_res = test_handler_called(1, "strncat_s: source is NULL", test_id); in main()
137 TEST_RES(res != 0, "NULL Source Pointer", handler_res, test_id); in main()
143 handler_res = test_handler_called(0, "", test_id); in main()
144 TEST_RES(res == 0, "Concatenation of empty source string", handler_res, in main()
147 "Concatenation of empty source string Contents", handler_res, in main()
154 handler_res = test_handler_called(0, "", test_id); in main()
156 handler_res, test_id); in main()
159 handler_res, test_id); in main()
165 handler_res = test_handler_called(0, "", test_id); in main()
166 TEST_RES(res == 0, "Concatenation with Zero Characters", handler_res, in main()
169 "Concatenation with Zero Characters Contents", handler_res, in main()