C# Класс Microsoft.Protocols.TestSuites.MS_WSSREST.TestSuiteBase

Наследование: Microsoft.Protocols.TestTools.TestClassBase
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
DeleteListItems ( string listName ) : void

Delete all list items in the special list.

GenerateContent ( string>.Dictionary properties ) : string

Generate the http request body.

GetPropertiesOfEntityType ( XmlNodeList xnl, string entityTypeName ) : List

Get properties from entity type.

InsertListItems ( string listName, int insertNumber ) : void

Insert multiple list items to list.

IsExistEntityType ( XmlNodeList xnl, string entityTypeName ) : bool

Check whether the special entity type exist in the metadata.

Приватные методы

Метод Описание
TestCaseInitialize ( ) : void

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

DeleteListItems() защищенный Метод

Delete all list items in the special list.
protected DeleteListItems ( string listName ) : void
listName string The list name.
Результат void

GenerateContent() защищенный Метод

Generate the http request body.
protected GenerateContent ( string>.Dictionary properties ) : string
properties string>.Dictionary The dictionary that contains field name and field value.
Результат string

GetPropertiesOfEntityType() защищенный Метод

Get properties from entity type.
protected GetPropertiesOfEntityType ( XmlNodeList xnl, string entityTypeName ) : List
xnl System.Xml.XmlNodeList The metadata from server.
entityTypeName string The entity type name.
Результат List

InsertListItems() защищенный Метод

Insert multiple list items to list.
protected InsertListItems ( string listName, int insertNumber ) : void
listName string The list name.
insertNumber int The number of inserted list items.
Результат void

IsExistEntityType() защищенный Метод

Check whether the special entity type exist in the metadata.
protected IsExistEntityType ( XmlNodeList xnl, string entityTypeName ) : bool
xnl System.Xml.XmlNodeList The metadata from server.
entityTypeName string The entity type name.
Результат bool