C# 클래스 Microsoft.Protocols.TestSuites.MS_VERSS.TestSuiteHelper

A class that contains the helper methods used by MS-VERSS test cases.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

AddFileVersions() 공개 메소드

Add versions to the file.
public AddFileVersions ( ) : void
리턴 void

AddOneFileVersion() 공개 메소드

Add one version to the file.
public AddOneFileVersion ( string specifiedFileName ) : void
specifiedFileName string A string indicates file name.
리턴 void

CleanupTestEnvironment() 공개 메소드

Clean up test environment.
public CleanupTestEnvironment ( ) : void
리턴 void

TestSuiteHelper() 공개 메소드

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.
리턴 System

VerifyResultsInformation() 공개 메소드

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.
리턴 void