Lines Matching refs:test_string
88 static int do_test_get_char(const char *test_string, size_t buf_size) in do_test_get_char() argument
95 if (setup_test(path, test_string, buf_size, &io)) in do_test_get_char()
98 for (i = 0; i < strlen(test_string); i++) { in do_test_get_char()
101 EXPECT_EQUAL(ch, test_string[i]); in do_test_get_char()
131 static int do_test_get_hex(const char *test_string, in do_test_get_hex() argument
142 if (setup_test(path, test_string, 4, &io)) in do_test_get_hex()
212 static int do_test_get_dec(const char *test_string, in do_test_get_dec() argument
223 if (setup_test(path, test_string, 4, &io)) in do_test_get_dec()
297 char test_string[1024]; in test_get_line() local
304 test_string[i] = 'a'; in test_get_line()
305 test_string[512] = '\n'; in test_get_line()
307 test_string[i] = 'b'; in test_get_line()
308 test_string[1023] = '\0'; in test_get_line()
310 if (setup_test(path, test_string, buf_size, &io)) in test_get_line()