C# Class Microsoft.Protocols.TestSuites.MS_VERSS.TestSuiteHelper

A class that contains the helper methods used by MS-VERSS test cases.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
AddFileVersions ( ) : void

Add versions to the file.

AddOneFileVersion ( string specifiedFileName ) : void

Add one version to the file.

CleanupTestEnvironment ( ) : void

Clean up test environment.

TestSuiteHelper ( ITestSite testSite, string listName, string fileName, IMS_LISTSWSSUTControlAdapter listsSutControlAdapter, IMS_VERSSAdapter protocolAdapter, IMS_VERSSSUTControlAdapter sutControlAdapter ) : System

Initializes a new instance of the TestSuiteHelper class.

VerifyResultsInformation ( Results results, OperationName operationName, bool versioningEnabled ) : void

Verify the response results.

Private Methods

Méthode Description
TransformVersionDataToString ( VersionData versionData ) : string

Get the version information from server response results.

VerifyVersionData ( VersionData versionData, OperationName operationName ) : void

Verify the version data information from server response results.

Method Details

AddFileVersions() public méthode

Add versions to the file.
public AddFileVersions ( ) : void
Résultat void

AddOneFileVersion() public méthode

Add one version to the file.
public AddOneFileVersion ( string specifiedFileName ) : void
specifiedFileName string A string indicates file name.
Résultat void

CleanupTestEnvironment() public méthode

Clean up test environment.
public CleanupTestEnvironment ( ) : void
Résultat void

TestSuiteHelper() public méthode

Initializes a new instance of the TestSuiteHelper class.
public TestSuiteHelper ( ITestSite testSite, string listName, string fileName, IMS_LISTSWSSUTControlAdapter listsSutControlAdapter, IMS_VERSSAdapter protocolAdapter, IMS_VERSSSUTControlAdapter sutControlAdapter ) : System
testSite ITestSite The instance of ITestSite.
listName string The name of list in the site.
fileName string The name of file in the list.
listsSutControlAdapter IMS_LISTSWSSUTControlAdapter The instance of ILISTSWSSUTControlAdapter interface.
protocolAdapter IMS_VERSSAdapter The instance of the protocol adapter.
sutControlAdapter IMS_VERSSSUTControlAdapter The instance of the SUT control adapter.
Résultat System

VerifyResultsInformation() public méthode

Verify the response results.
public VerifyResultsInformation ( Results results, OperationName operationName, bool versioningEnabled ) : void
results Results The results information from server.
operationName OperationName The operation name for the server response results.
versioningEnabled bool A Boolean indicates whether the versioning is enabled.
Résultat void