Method | Description | |
---|---|---|
DeliverMessageToTriggerRule ( string mailTo, string mailToUserDN, string subject, |
Submit a message to the server
|
|
GetStoreObjectEntryID ( StoreObjectType storeObjectType, string serverShortName, string mailboxDN ) : byte[] |
Get store object EntryID bytes array.
|
|
LogonMailbox ( TestUser testUser ) : void |
Log on mailbox with specified user.
|
Method | Description | |
---|---|---|
CheckMAPIHTTPTransportSupported ( ) : void |
Disable the test case if MAPIHTTP transport is selected but not supported by current test environment.
|
|
CheckUnexpectedMessageExist ( uint folderHandle, uint &contentsTableHandle, |
Check if an unexpected message with a specific property value exists in the target mailbox.
|
|
ClearAllRules ( ) : void |
Clear all rules of the inbox folder.
|
|
GetExpectedMessage ( uint folderHandle, uint &contentsTableHandle, |
Get the expected message properties included in a specific contents table after retry preconfigured times.
|
|
GetExpectedMessage ( uint folderHandle, uint &contentsTableHandle, |
Get the expected message properties included in a specific contents table and the message count in the table after retry preconfigured times.
|
|
GetNotifyResponse ( ) : RopNotifyResponse |
Get the Notify response after retry preconfigured times.
|
|
TestCleanup ( ) : void |
Overrides TestClassBase's TestCleanup()
|
|
TestInitialize ( ) : void |
Overrides TestClassBase's TestInitialize()
|
|
VerifyRuleTable ( ) : void |
Verify rule table.
|
Method | Description | |
---|---|---|
CheckIfTestCaseDisabled ( ) : bool |
Check if a specific test case is disabled.
|
protected CheckMAPIHTTPTransportSupported ( ) : void | ||
return | void |
protected CheckUnexpectedMessageExist ( uint folderHandle, uint &contentsTableHandle, |
||
folderHandle | uint | Handle of a specific folder. |
contentsTableHandle | uint | Handle of a specific contents table. |
propertyTagList | >Array of PropertyTag structures. This field specifies the property values that are visible in table rows. | |
unexpectedPropertyValue | string | The value of a specific property of the message to be checked in the target mailbox. |
propertyName | The property name of a specific property of the message to be checked in the target mailbox, which type should be string. The default property name is PidTagSubject. | |
return | bool |
public DeliverMessageToTriggerRule ( string mailTo, string mailToUserDN, string subject, |
||
mailTo | string | The user name of the recipient |
mailToUserDN | string | The userDN of the recipient |
subject | string | The subject of the mail |
addedProperties | The added properties of the mail | |
return | uint |
protected GetExpectedMessage ( uint folderHandle, uint &contentsTableHandle, |
||
folderHandle | uint | Handle of a specific folder. |
contentsTableHandle | uint | Handle of a specific contents table. |
propertyTagList | >Array of PropertyTag structures. This field specifies the property values that are visible in table rows. | |
expectedMessageIndex | int | The index of the specific message in the table. |
expectedPropertyValue | string | The value of a specific property of the message to be found in the target mailbox. |
expectedPropertyName | The property name of a specific property of the message to be found in the target mailbox, which type should be string. The default property name is PidTagSubject. | |
return |
protected GetExpectedMessage ( uint folderHandle, uint &contentsTableHandle, |
||
folderHandle | uint | Handle of a specific folder. |
contentsTableHandle | uint | Handle of a specific contents table. |
propertyTagList | >Array of PropertyTag structures. This field specifies the property values that are visible in table rows. | |
rowCount | uint | The row count in the specific contents table, in which each row specifies a message. |
expectedMessageCount | int | Specify the expected number of messages in target mailbox. The default value is 1. |
expectedTitle | string | The default value is null. If the value is not null, the message with specified title must exist in target mailbox. If the expected message exists, the rowCount represents the index of the message in the target mailbox. |
return |
protected GetNotifyResponse ( ) : RopNotifyResponse | ||
return | RopNotifyResponse |
public GetStoreObjectEntryID ( StoreObjectType storeObjectType, string serverShortName, string mailboxDN ) : byte[] | ||
storeObjectType | StoreObjectType | Identify the store object is a mailbox or a public folder. |
serverShortName | string | Server short name string. |
mailboxDN | string | Mailbox DN string. |
return | byte[] |
public LogonMailbox ( TestUser testUser ) : void | ||
testUser | TestUser | Identify the user to log on to the server. |
return | void |