C# Класс Microsoft.Protocols.TestSuites.MS_OXWSTASK.TestSuiteHelper

A class contains all helper methods used in test cases.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CompareStringArray ( string arrayFirst, string arraySecond ) : bool

Compare two string array to verify whether their value are equal.

DefineTaskItem ( string subject ) : TaskType

Define the task item with index.

DefineTaskItem ( string subject, TaskDelegateStateType taskDelegateState, bool isSetting ) : TaskType

Define the task item via setting taskDelegateState value.

DefineTaskItem ( string subject, TaskRecurrenceType taskRecurrence ) : TaskType

Define the task item via setting different kind of taskRecurrence value.

DefineTaskItem ( string subject, TaskStatusType taskStatus ) : TaskType

Define the task item via setting taskStatus value.

GenerateAbsoluteMonthlyRecurrencePattern ( ) : AbsoluteMonthlyRecurrencePatternType

Generate the absolute monthly recurrence pattern.

GenerateAbsoluteYearlyRecurrencePattern ( ) : AbsoluteYearlyRecurrencePatternType

Generate the absolute yearly recurrence pattern.

GenerateCopyItemRequest ( ) : CopyItemType

Generate CopyItemRequest.

GenerateCreateItemRequest ( ) : CreateItemType

Generate CreateItemRequest.

GenerateDailyRecurrencePattern ( ) : DailyRecurrencePatternType

Generate the daily recurrence pattern.

GenerateDailyRegeneratingPattern ( ) : DailyRegeneratingPatternType

Generate the daily regenerating pattern.

GenerateDeleteItemRequest ( ) : DeleteItemType

Generate DeleteItemRequest.

GenerateEndDateRecurrenceRange ( ) : EndDateRecurrenceRangeType

Generate the end date recurrence range.

GenerateGetItemRequest ( ) : GetItemType

Generate GetItemRequest.

GenerateMonthlyRegeneratingPattern ( ) : MonthlyRegeneratingPatternType

Generate the monthly regenerating pattern.

GenerateMoveItemRequest ( ) : MoveItemType

Generate MoveItemRequest.

GenerateNoEndRecurrenceRange ( ) : NoEndRecurrenceRangeType

Generate the no end recurrence range.

GenerateNumberedRecurrenceRange ( ) : NumberedRecurrenceRangeType

Generate the numbered recurrence range.

GenerateRelativeMonthlyRecurrencePattern ( ) : RelativeMonthlyRecurrencePatternType

Generate the relative monthly recurrence pattern.

GenerateRelativeYearlyRecurrencePattern ( ) : RelativeYearlyRecurrencePatternType

Generate the relative yearly recurrence pattern.

GenerateTaskRecurrence ( GenerateRecurPattern generateRecurPatternMethod, GenerateRecurRange generateRecurRangeMethod ) : TaskRecurrenceType

Generate the task recurrence used by TaskType.

GenerateUpdateItemRequest ( ) : UpdateItemType

Generate UpdateItemRequest.

GenerateWeeklyRecurrencePattern ( ) : WeeklyRecurrencePatternType

Generate the weekly recurrence pattern.

GenerateWeeklyRegeneratingPattern ( ) : WeeklyRegeneratingPatternType

Generate the weekly regenerating pattern.

GenerateYearlyRegeneratingPattern ( ) : YearlyRegeneratingPatternType

Generate the yearly regenerating pattern.

Описание методов

CompareStringArray() публичный статический Метод

Compare two string array to verify whether their value are equal.
public static CompareStringArray ( string arrayFirst, string arraySecond ) : bool
arrayFirst string The first string array
arraySecond string The second string array
Результат bool

DefineTaskItem() публичный статический Метод

Define the task item with index.
public static DefineTaskItem ( string subject ) : TaskType
subject string The subject of the task
Результат Microsoft.Protocols.TestSuites.Common.TaskType

DefineTaskItem() публичный статический Метод

Define the task item via setting taskDelegateState value.
public static DefineTaskItem ( string subject, TaskDelegateStateType taskDelegateState, bool isSetting ) : TaskType
subject string The subject of the task.
taskDelegateState TaskDelegateStateType DelegationState element value of the task.
isSetting bool The flag to indicate whether the taskDelegateState is setting or not, true means setting.
Результат Microsoft.Protocols.TestSuites.Common.TaskType

DefineTaskItem() публичный статический Метод

Define the task item via setting different kind of taskRecurrence value.
public static DefineTaskItem ( string subject, TaskRecurrenceType taskRecurrence ) : TaskType
subject string The subject of the task.
taskRecurrence Microsoft.Protocols.TestSuites.Common.TaskRecurrenceType Recurrence element value of the task.
Результат Microsoft.Protocols.TestSuites.Common.TaskType

DefineTaskItem() публичный статический Метод

Define the task item via setting taskStatus value.
public static DefineTaskItem ( string subject, TaskStatusType taskStatus ) : TaskType
subject string The subject of the task.
taskStatus TaskStatusType Status element value of the task.
Результат Microsoft.Protocols.TestSuites.Common.TaskType

GenerateAbsoluteMonthlyRecurrencePattern() публичный статический Метод

Generate the absolute monthly recurrence pattern.
public static GenerateAbsoluteMonthlyRecurrencePattern ( ) : AbsoluteMonthlyRecurrencePatternType
Результат Microsoft.Protocols.TestSuites.Common.AbsoluteMonthlyRecurrencePatternType

GenerateAbsoluteYearlyRecurrencePattern() публичный статический Метод

Generate the absolute yearly recurrence pattern.
public static GenerateAbsoluteYearlyRecurrencePattern ( ) : AbsoluteYearlyRecurrencePatternType
Результат Microsoft.Protocols.TestSuites.Common.AbsoluteYearlyRecurrencePatternType

GenerateCopyItemRequest() публичный статический Метод

Generate CopyItemRequest.
public static GenerateCopyItemRequest ( ) : CopyItemType
Результат CopyItemType

GenerateCreateItemRequest() публичный статический Метод

Generate CreateItemRequest.
public static GenerateCreateItemRequest ( ) : CreateItemType
Результат Microsoft.Protocols.TestSuites.Common.CreateItemType

GenerateDailyRecurrencePattern() публичный статический Метод

Generate the daily recurrence pattern.
public static GenerateDailyRecurrencePattern ( ) : DailyRecurrencePatternType
Результат DailyRecurrencePatternType

GenerateDailyRegeneratingPattern() публичный статический Метод

Generate the daily regenerating pattern.
public static GenerateDailyRegeneratingPattern ( ) : DailyRegeneratingPatternType
Результат DailyRegeneratingPatternType

GenerateDeleteItemRequest() публичный статический Метод

Generate DeleteItemRequest.
public static GenerateDeleteItemRequest ( ) : DeleteItemType
Результат Microsoft.Protocols.TestSuites.Common.DeleteItemType

GenerateEndDateRecurrenceRange() публичный статический Метод

Generate the end date recurrence range.
public static GenerateEndDateRecurrenceRange ( ) : EndDateRecurrenceRangeType
Результат Microsoft.Protocols.TestSuites.Common.EndDateRecurrenceRangeType

GenerateGetItemRequest() публичный статический Метод

Generate GetItemRequest.
public static GenerateGetItemRequest ( ) : GetItemType
Результат Microsoft.Protocols.TestSuites.Common.GetItemType

GenerateMonthlyRegeneratingPattern() публичный статический Метод

Generate the monthly regenerating pattern.
public static GenerateMonthlyRegeneratingPattern ( ) : MonthlyRegeneratingPatternType
Результат MonthlyRegeneratingPatternType

GenerateMoveItemRequest() публичный статический Метод

Generate MoveItemRequest.
public static GenerateMoveItemRequest ( ) : MoveItemType
Результат MoveItemType

GenerateNoEndRecurrenceRange() публичный статический Метод

Generate the no end recurrence range.
public static GenerateNoEndRecurrenceRange ( ) : NoEndRecurrenceRangeType
Результат NoEndRecurrenceRangeType

GenerateNumberedRecurrenceRange() публичный статический Метод

Generate the numbered recurrence range.
public static GenerateNumberedRecurrenceRange ( ) : NumberedRecurrenceRangeType
Результат Microsoft.Protocols.TestSuites.Common.NumberedRecurrenceRangeType

GenerateRelativeMonthlyRecurrencePattern() публичный статический Метод

Generate the relative monthly recurrence pattern.
public static GenerateRelativeMonthlyRecurrencePattern ( ) : RelativeMonthlyRecurrencePatternType
Результат Microsoft.Protocols.TestSuites.Common.RelativeMonthlyRecurrencePatternType

GenerateRelativeYearlyRecurrencePattern() публичный статический Метод

Generate the relative yearly recurrence pattern.
public static GenerateRelativeYearlyRecurrencePattern ( ) : RelativeYearlyRecurrencePatternType
Результат Microsoft.Protocols.TestSuites.Common.RelativeYearlyRecurrencePatternType

GenerateTaskRecurrence() публичный статический Метод

Generate the task recurrence used by TaskType.
public static GenerateTaskRecurrence ( GenerateRecurPattern generateRecurPatternMethod, GenerateRecurRange generateRecurRangeMethod ) : TaskRecurrenceType
generateRecurPatternMethod GenerateRecurPattern The method to generate recurrence pattern type.
generateRecurRangeMethod GenerateRecurRange The method to generate recurrence range type.
Результат Microsoft.Protocols.TestSuites.Common.TaskRecurrenceType

GenerateUpdateItemRequest() публичный статический Метод

Generate UpdateItemRequest.
public static GenerateUpdateItemRequest ( ) : UpdateItemType
Результат Microsoft.Protocols.TestSuites.Common.UpdateItemType

GenerateWeeklyRecurrencePattern() публичный статический Метод

Generate the weekly recurrence pattern.
public static GenerateWeeklyRecurrencePattern ( ) : WeeklyRecurrencePatternType
Результат Microsoft.Protocols.TestSuites.Common.WeeklyRecurrencePatternType

GenerateWeeklyRegeneratingPattern() публичный статический Метод

Generate the weekly regenerating pattern.
public static GenerateWeeklyRegeneratingPattern ( ) : WeeklyRegeneratingPatternType
Результат WeeklyRegeneratingPatternType

GenerateYearlyRegeneratingPattern() публичный статический Метод

Generate the yearly regenerating pattern.
public static GenerateYearlyRegeneratingPattern ( ) : YearlyRegeneratingPatternType
Результат YearlyRegeneratingPatternType