Home
last modified time | relevance | path

Searched refs:int_options (Results 1 – 1 of 1) sorted by relevance

/libevent-2.1.12/test/
H A Dregress_dns.c2386 const char *int_options[] = { in test_set_option() local
2407 for (i = 0; i < ARRAY_SIZE(int_options); ++i) { in test_set_option()
2408 tt_assert(SUCCESS == evdns_base_set_option(dns_base, int_options[i], "0")); in test_set_option()
2409 tt_assert(SUCCESS == evdns_base_set_option(dns_base, int_options[i], "1")); in test_set_option()
2410 tt_assert(SUCCESS == evdns_base_set_option(dns_base, int_options[i], "10000")); in test_set_option()
2411 tt_assert(FAIL == evdns_base_set_option(dns_base, int_options[i], "foo")); in test_set_option()
2412 tt_assert(FAIL == evdns_base_set_option(dns_base, int_options[i], "3.14")); in test_set_option()