Lines Matching refs:test_id
55 #define TEST_RES(cond, msg, handler_res, test_id) \ argument
57 printf("Test %d Failed: %s\n", test_id, msg); \
60 printf("Test %d Passed: %s\n", test_id, msg); \
64 test_handler_called(int handler_called, char *expected_msg, int test_id) in test_handler_called() argument
72 printf("Test %d Failed: Error msg is incorrect\n", test_id); in test_handler_called()
79 printf("Test %d Failed: Error msg is incorrect\n", test_id); in test_handler_called()
86 printf("Test %d Failed: Error msg is incorrect\n", test_id); in test_handler_called()
105 int test_id = 0; in main() local
111 test_id++; in main()
113 handler_res = test_handler_called(0, "", test_id); in main()
115 handler_res, test_id); in main()
118 test_id++; in main()
120 handler_res = test_handler_called(0, "", test_id); in main()
121 TEST_RES(length == 0, "Unknown error code length", handler_res, test_id); in main()