#include <criterion/criterion.h>#include "host-resolve.h"#include "apphook.h"#include "dnscache.h"#include "gsocket.h"#include "hostname.h"#include "cfg.h"#include <libgen.h>
Macros | |
| #define | for_all_resolve_cases() |
Functions | |
| Test (resolve_hostname, test_resolvable_ip_results_in_hostname) | |
| Test (resolve_hostname, test_unresolvable_ip_results_in_ip) | |
| Test (resolve_hostname, test_sockaddr_without_dns_resolution_results_in_ip) | |
| Test (resolve_hostname, test_unix_domain_sockaddr_results_in_the_local_hostname) | |
| Test (resolve_hostname, test_resolvable_hostname_results_in_sockaddr) | |
| Test (resolve_hostname, test_unresolvable_hostname_results_in_error) | |
| Test (resolve_hostname, test_short_hostname_is_converted_to_fqdn_if_use_fqdn_is_set) | |
| Test (resolve_hostname, test_fqdn_hostname_is_converted_to_short_if_use_fqdn_is_unset) | |
| Test (resolve_hostname, test_hostname_is_normalized_if_normalize_hostnames_is_set) | |
| TestSuite (resolve_hostname,.init=setup,.fini=teardown) | |
| #define for_all_resolve_cases | ( | ) |
| Test | ( | resolve_hostname | , |
| test_fqdn_hostname_is_converted_to_short_if_use_fqdn_is_unset | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_hostname_is_normalized_if_normalize_hostnames_is_set | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_resolvable_hostname_results_in_sockaddr | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_resolvable_ip_results_in_hostname | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_short_hostname_is_converted_to_fqdn_if_use_fqdn_is_set | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_sockaddr_without_dns_resolution_results_in_ip | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_unix_domain_sockaddr_results_in_the_local_hostname | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_unresolvable_hostname_results_in_error | |||
| ) |
| Test | ( | resolve_hostname | , |
| test_unresolvable_ip_results_in_ip | |||
| ) |