- ok(!bt_ctf_clock_get_name(NULL),
- "bt_ctf_clock_get_name correctly handles NULL");
- ok(!bt_ctf_clock_get_description(NULL),
- "bt_ctf_clock_get_description correctly handles NULL");
- ok(bt_ctf_clock_get_frequency(NULL) == -1ULL,
- "bt_ctf_clock_get_frequency correctly handles NULL");
- ok(bt_ctf_clock_get_precision(NULL) == -1ULL,
- "bt_ctf_clock_get_precision correctly handles NULL");
- ok(bt_ctf_clock_get_offset_s(NULL, &get_offset_s) < 0,
- "bt_ctf_clock_get_offset_s correctly handles NULL clock");
- ok(bt_ctf_clock_get_offset_s(clock, NULL) < 0,
- "bt_ctf_clock_get_offset_s correctly handles NULL output");
- ok(bt_ctf_clock_get_offset(NULL, &get_offset) < 0,
- "bt_ctf_clock_get_offset correctly handles NULL clock");
- ok(bt_ctf_clock_get_offset(clock, NULL) < 0,
- "bt_ctf_clock_get_offset correctly handles NULL output");
- ok(bt_ctf_clock_get_is_absolute(NULL) < 0,
- "bt_ctf_clock_get_is_absolute correctly handles NULL");
-
- ok(bt_ctf_clock_set_description(NULL, NULL) < 0,
- "bt_ctf_clock_set_description correctly handles NULL clock");
- ok(bt_ctf_clock_set_frequency(NULL, frequency) < 0,
- "bt_ctf_clock_set_frequency correctly handles NULL clock");
- ok(bt_ctf_clock_set_precision(NULL, precision) < 0,
- "bt_ctf_clock_get_precision correctly handles NULL clock");
- ok(bt_ctf_clock_set_offset_s(NULL, offset_s) < 0,
- "bt_ctf_clock_set_offset_s correctly handles NULL clock");
- ok(bt_ctf_clock_set_offset(NULL, offset) < 0,
- "bt_ctf_clock_set_offset correctly handles NULL clock");
- ok(bt_ctf_clock_set_is_absolute(NULL, is_absolute) < 0,
- "bt_ctf_clock_set_is_absolute correctly handles NULL clock");
- ok(bt_ctf_clock_set_time(NULL, current_time) < 0,
- "bt_ctf_clock_set_time correctly handles NULL clock");
- ok(bt_ctf_clock_get_uuid(NULL) == NULL,
- "bt_ctf_clock_get_uuid correctly handles NULL clock");