Go to the source code of this file.
|
| PCMK__UNIT_TEST (pcmk__xml_test_setup_group, pcmk__xml_test_teardown_group, cmocka_unit_test(null_time_invalid), cmocka_unit_test(null_xml_ok), cmocka_unit_test(invalid_component), cmocka_unit_test(missing_attr), cmocka_unit_test(invalid_attr), cmocka_unit_test(out_of_range_attr), cmocka_unit_test(add_years), cmocka_unit_test(add_months), cmocka_unit_test(add_weeks), cmocka_unit_test(add_days), cmocka_unit_test(add_hours), cmocka_unit_test(add_minutes), cmocka_unit_test(add_seconds)) |
|
◆ ALL_VALID
Value:"<duration id=\"duration1\" years=\"1\" months=\"2\" " \
"weeks=\"3\" days=\"-1\" hours=\"1\" minutes=\"1\" " \
"seconds=\"1\" />"
Definition at line 21 of file pcmk__add_time_from_xml_test.c.
◆ YEARS_INVALID
#define YEARS_INVALID "<duration id=\"duration1\" years=\"not-a-number\" />" |
◆ YEARS_TOO_BIG
#define YEARS_TOO_BIG "<duration id=\"duration1\" years=\"2222222222\" />" |
◆ YEARS_TOO_SMALL
#define YEARS_TOO_SMALL "<duration id=\"duration1\" years=\"-2222222222\" />" |
◆ PCMK__UNIT_TEST()
PCMK__UNIT_TEST |
( |
pcmk__xml_test_setup_group |
, |
|
|
pcmk__xml_test_teardown_group |
, |
|
|
cmocka_unit_test(null_time_invalid) |
, |
|
|
cmocka_unit_test(null_xml_ok) |
, |
|
|
cmocka_unit_test(invalid_component) |
, |
|
|
cmocka_unit_test(missing_attr) |
, |
|
|
cmocka_unit_test(invalid_attr) |
, |
|
|
cmocka_unit_test(out_of_range_attr) |
, |
|
|
cmocka_unit_test(add_years) |
, |
|
|
cmocka_unit_test(add_months) |
, |
|
|
cmocka_unit_test(add_weeks) |
, |
|
|
cmocka_unit_test(add_days) |
, |
|
|
cmocka_unit_test(add_hours) |
, |
|
|
cmocka_unit_test(add_minutes) |
, |
|
|
cmocka_unit_test(add_seconds) |
|
|
) |
| |