Message and Attachment Object Protocol test suite. More...
Macros | |
#define | OXCMSG_SETREADFLAGS "[OXCMSG] SetMessageReadFlag" |
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.
#define OXCMSG_SETREADFLAGS "[OXCMSG] SetMessageReadFlag" |
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(), mapitest_print_retval(), mt_common_tf_ctx::obj_store, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest_print_retval_fmt_clean(), OXCMSG_SETREADFLAGS, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, mapitest::profile, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest_print_SRowSet(), mt_common_tf_ctx::obj_store, OXCMSG_SETREADFLAGS, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, mapitest::profile, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, mapitest::profile, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, mt_common_tf_ctx::obj_store, OXCMSG_SETREADFLAGS, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, and mapitest::session.
Referenced by module_oxcmsg_init().
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(), mapitest::mem_ctx, mt_common_tf_ctx::obj_test_folder, and mapitest::priv.
Referenced by module_oxcmsg_init().
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |