15 #include "../../crmcommon_private.h" 36 target_undefined(
void **state)
49 source_earlier(
void **state)
62 source_later(
void **state)
77 cmocka_unit_test(null_ok),
78 cmocka_unit_test(target_undefined),
79 cmocka_unit_test(source_earlier),
80 cmocka_unit_test(source_later))
crm_time_t * crm_time_new_undefined(void)
Allocate memory for an uninitialized time object.
struct crm_time_s crm_time_t
crm_time_t * pcmk_copy_time(const crm_time_t *source)
#define PCMK__UNIT_TEST(group_setup, group_teardown,...)
int crm_time_compare(const crm_time_t *a, const crm_time_t *b)
G_GNUC_INTERNAL void pcmk__set_time_if_earlier(crm_time_t *target, const crm_time_t *source)
crm_time_t * crm_time_new(const char *string)
void crm_time_free(crm_time_t *dt)