C# Class Microsoft.Protocols.TestSuites.MS_WSSREST.TestSuiteBase

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
TestCaseInitialize ( ) : void

Method Details

DeleteListItems() protected méthode

Delete all list items in the special list.
protected DeleteListItems ( string listName ) : void
listName string The list name.
Résultat void

GenerateContent() protected méthode

Generate the http request body.
protected GenerateContent ( string>.Dictionary properties ) : string
properties string>.Dictionary The dictionary that contains field name and field value.
Résultat string

GetPropertiesOfEntityType() protected méthode

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.
Résultat List

InsertListItems() protected méthode

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.
Résultat void

IsExistEntityType() protected méthode

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.
Résultat bool