Message and Attachment Object Protocol test suite. More...
Functions | |
bool | mapitest_oxcmsg_CreateMessage (struct mapitest *mt) |
bool | mapitest_oxcmsg_GetMessageStatus (struct mapitest *mt) |
bool | mapitest_oxcmsg_GetValidAttachments (struct mapitest *mt) |
bool | mapitest_oxcmsg_ModifyRecipients (struct mapitest *mt) |
bool | mapitest_oxcmsg_OpenEmbeddedMessage (struct mapitest *mt) |
bool | mapitest_oxcmsg_ReadRecipients (struct mapitest *mt) |
bool | mapitest_oxcmsg_ReloadCachedInformation (struct mapitest *mt) |
bool | mapitest_oxcmsg_RemoveAllRecipients (struct mapitest *mt) |
bool | mapitest_oxcmsg_SaveChangesMessage (struct mapitest *mt) |
bool | mapitest_oxcmsg_SetMessageReadFlag (struct mapitest *mt) |
bool | mapitest_oxcmsg_SetMessageStatus (struct mapitest *mt) |
bool | mapitest_oxcmsg_SetReadFlags (struct mapitest *mt) |
Message and Attachment Object Protocol test suite.
bool mapitest_oxcmsg_CreateMessage | ( | struct mapitest * | mt | ) |
Test the CreateMessage (0x6) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_common_folder_open(), and mapitest_print_retval().
bool mapitest_oxcmsg_GetMessageStatus | ( | struct mapitest * | mt | ) |
Test the GetMessageStatus (0x1f) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print_retval_clean(), and mapitest::mem_ctx.
bool mapitest_oxcmsg_GetValidAttachments | ( | struct mapitest * | mt | ) |
Test the GetValidAttachments (0x52) and CreateAttach (0x23) operations
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_folder_open(), mapitest_common_message_create(), mapitest_print(), mapitest_print_retval_clean(), and mapitest_print_retval_fmt_clean().
bool mapitest_oxcmsg_ModifyRecipients | ( | struct mapitest * | mt | ) |
Test the ModifyRecipients (0xe) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval(), mapitest_print_retval_clean(), mapitest_print_retval_fmt(), and mapitest::mem_ctx.
bool mapitest_oxcmsg_OpenEmbeddedMessage | ( | struct mapitest * | mt | ) |
Test the OpenEmbeddedMessage (0x46) and CreateAttach (0x23) operations
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_common_folder_open(), mapitest_common_message_create(), mapitest_common_message_fill(), mapitest_print(), and mapitest_print_SRowSet().
bool mapitest_oxcmsg_ReadRecipients | ( | struct mapitest * | mt | ) |
Test the ReadRecipients (0xf) operation
This function:
mt | point on the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval(), mapitest_print_retval_clean(), mapitest_print_retval_fmt(), and mapitest::mem_ctx.
bool mapitest_oxcmsg_ReloadCachedInformation | ( | struct mapitest * | mt | ) |
Test the ReloadCachedInformation (0x10) operation
This function:
mt | pointer to the top-level mapitest structure |
References mapitest_print_retval().
bool mapitest_oxcmsg_RemoveAllRecipients | ( | struct mapitest * | mt | ) |
Test the RemoveAllRecipients (0xd) operation
This function:
mt | point on the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval(), mapitest_print_retval_clean(), mapitest_print_retval_fmt(), and mapitest::mem_ctx.
bool mapitest_oxcmsg_SaveChangesMessage | ( | struct mapitest * | mt | ) |
Test the SaveChangesMessage (0xc) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print_retval().
bool mapitest_oxcmsg_SetMessageReadFlag | ( | struct mapitest * | mt | ) |
Test the SetMessageReadFlag (0x11) operation
This function:
Note: We can test either SetMessageReadFlag was effective by checking its old/new value with GetProps on PR_MESSAGE_FLAGS property.
mt | pointer on the top-level mapitest structure |
References mapitest_common_folder_open(), mapitest_common_message_create(), mapitest_print(), mapitest_print_retval(), mapitest_print_retval_fmt(), and mapitest::mem_ctx.
bool mapitest_oxcmsg_SetMessageStatus | ( | struct mapitest * | mt | ) |
Test the GetMessageStatus (0x1f) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_print(), mapitest_print_retval(), mapitest_print_retval_clean(), and mapitest::mem_ctx.
bool mapitest_oxcmsg_SetReadFlags | ( | struct mapitest * | mt | ) |
Test the SetReadFlags (0x66) operation
This function:
mt | pointer on the top-level mapitest structure |
References mapitest_common_cleanup(), mapitest_common_setup(), mapitest_print(), mapitest_print_retval_clean(), and mapitest::mem_ctx.
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |