#include <config.h>
#include <atf-c.h>
#include <unistd.h>
#include <dns/time.h>
#include "dnstest.h"
Go to the source code of this file.
Defines | |
#define | TEST_ORIGIN "test" |
Functions | |
ATF_TC (epoch_minus_one) | |
ATF_TC_HEAD (epoch_minus_one, tc) | |
ATF_TC_BODY (epoch_minus_one, tc) | |
ATF_TC (epoch) | |
ATF_TC_HEAD (epoch, tc) | |
ATF_TC_BODY (epoch, tc) | |
ATF_TC (half_maxint) | |
ATF_TC_HEAD (half_maxint, tc) | |
ATF_TC_BODY (half_maxint, tc) | |
ATF_TC (half_plus_one) | |
ATF_TC_HEAD (half_plus_one, tc) | |
ATF_TC_BODY (half_plus_one, tc) | |
ATF_TC (fifty_before) | |
ATF_TC_HEAD (fifty_before, tc) | |
ATF_TC_BODY (fifty_before, tc) | |
ATF_TC (some_ago) | |
ATF_TC_HEAD (some_ago, tc) | |
ATF_TC_BODY (some_ago, tc) | |
ATF_TP_ADD_TCS (tp) |
Definition in file time_test.c.
#define TEST_ORIGIN "test" |
Definition at line 31 of file time_test.c.
ATF_TC | ( | epoch_minus_one | ) |
ATF_TC_HEAD | ( | epoch_minus_one | , | |
tc | ||||
) |
Definition at line 39 of file time_test.c.
ATF_TC_BODY | ( | epoch_minus_one | , | |
tc | ||||
) |
Definition at line 42 of file time_test.c.
References dns_test_begin(), dns_test_end(), dns_time32_fromtext(), dns_time32_totext(), isc_buffer_init, ISC_FALSE, ISC_R_SUCCESS, and UNUSED.
ATF_TC | ( | epoch | ) |
ATF_TC_HEAD | ( | epoch | , | |
tc | ||||
) |
Definition at line 67 of file time_test.c.
ATF_TC_BODY | ( | epoch | , | |
tc | ||||
) |
Definition at line 70 of file time_test.c.
References dns_test_begin(), dns_test_end(), dns_time32_fromtext(), dns_time32_totext(), isc_buffer_init, ISC_FALSE, ISC_R_SUCCESS, and UNUSED.
ATF_TC | ( | half_maxint | ) |
ATF_TC_HEAD | ( | half_maxint | , | |
tc | ||||
) |
Definition at line 95 of file time_test.c.
ATF_TC_BODY | ( | half_maxint | , | |
tc | ||||
) |
Definition at line 98 of file time_test.c.
References dns_test_begin(), dns_test_end(), dns_time32_fromtext(), dns_time32_totext(), isc_buffer_init, ISC_FALSE, ISC_R_SUCCESS, and UNUSED.
ATF_TC | ( | half_plus_one | ) |
ATF_TC_HEAD | ( | half_plus_one | , | |
tc | ||||
) |
Definition at line 123 of file time_test.c.
ATF_TC_BODY | ( | half_plus_one | , | |
tc | ||||
) |
Definition at line 126 of file time_test.c.
References dns_test_begin(), dns_test_end(), dns_time32_fromtext(), dns_time32_totext(), isc_buffer_init, ISC_FALSE, ISC_R_SUCCESS, and UNUSED.
ATF_TC | ( | fifty_before | ) |
ATF_TC_HEAD | ( | fifty_before | , | |
tc | ||||
) |
Definition at line 151 of file time_test.c.
ATF_TC_BODY | ( | fifty_before | , | |
tc | ||||
) |
Definition at line 154 of file time_test.c.
References dns_test_begin(), dns_test_end(), dns_time32_fromtext(), dns_time32_totext(), isc_buffer_init, ISC_FALSE, ISC_R_SUCCESS, and UNUSED.
ATF_TC | ( | some_ago | ) |
ATF_TC_HEAD | ( | some_ago | , | |
tc | ||||
) |
Definition at line 179 of file time_test.c.
ATF_TC_BODY | ( | some_ago | , | |
tc | ||||
) |
Definition at line 182 of file time_test.c.
References dns_test_begin(), dns_test_end(), dns_time32_fromtext(), dns_time32_totext(), isc_buffer_init, ISC_FALSE, ISC_R_SUCCESS, and UNUSED.
ATF_TP_ADD_TCS | ( | tp | ) |