Message and Attachment Object Protocol test suite. More...
Defines | |
#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 mt_common_tf_ctx::obj_store, mapitest::session, mapitest_print_retval(), and mapitest_common_folder_open().
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::session, mapitest_print_retval_clean(), and mapitest::mem_ctx.
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::session, mapitest_common_folder_open(), mapitest_common_message_create(), OXCMSG_SETREADFLAGS, mapitest_print_retval_clean(), mapitest_print_retval_fmt_clean(), and mapitest_print().
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::session, mapitest_print_retval(), mapitest::mem_ctx, mapitest::profile, mapitest_print_retval_clean(), mapitest_print(), and mapitest_print_retval_fmt().
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 mt_common_tf_ctx::obj_store, mapitest::session, mapitest_common_folder_open(), mapitest_common_message_create(), OXCMSG_SETREADFLAGS, mapitest_print(), mapitest_common_message_fill(), and mapitest_print_SRowSet().
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::session, mapitest_print_retval(), mapitest::mem_ctx, mapitest::profile, mapitest_print_retval_clean(), mapitest_print(), and mapitest_print_retval_fmt().
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::session, and mapitest_print_retval().
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::session, mapitest_print_retval(), mapitest::mem_ctx, mapitest::profile, mapitest_print_retval_clean(), mapitest_print(), and mapitest_print_retval_fmt().
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::session, and mapitest_print_retval().
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 mt_common_tf_ctx::obj_store, mapitest::session, mapitest_print_retval(), mapitest_common_folder_open(), mapitest_common_message_create(), OXCMSG_SETREADFLAGS, mapitest::mem_ctx, mapitest_print_retval_fmt(), and mapitest_print().
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::session, mapitest_print_retval_clean(), mapitest::mem_ctx, mapitest_print(), and mapitest_print_retval().
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_setup(), mapitest::priv, mt_common_tf_ctx::obj_test_folder, mapitest_print_retval_clean(), mapitest::mem_ctx, mapitest_print(), and mapitest_common_cleanup().
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/ |