4 static int test_isds_message_copy_free(struct isds_message_copy
**copy
) {
5 isds_message_copy_free(copy
);
9 FAIL_TEST("isds_message_copy_free() did not null pointer");
17 INIT_TEST("isds_message_copy_free()");
19 ABORT_UNIT("isds_init() failed");
21 struct isds_message_copy
*copy
= NULL
;
23 TEST("NULL", test_isds_message_copy_free
, NULL
);
24 TEST("*NULL", test_isds_message_copy_free
, ©
);
27 TEST("Empty structure", test_isds_message_copy_free
, ©
);
30 TEST_FILL_STRING(copy
->dbIDRecipient
);
31 TEST_FILL_STRING(copy
->dmRecipientOrgUnit
);
32 TEST_FILL_INT(copy
->dmRecipientOrgUnitNum
);
33 TEST_FILL_STRING(copy
->dmToHands
);
34 TEST_FILL_STRING(copy
->dmStatus
);
35 TEST_FILL_STRING(copy
->dmID
);
36 TEST("Full structure", test_isds_message_copy_free
, ©
);