C# Класс Microsoft.Protocols.TestSuites.SharedAdapter.MsfsshttpAdapterCapture

This partial part of MsfsshttpAdapterCapture class is used to test Get docMetaInfo response related requirements.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ValidateCellSubResponse ( CellSubResponseType cellSubResponse, ITestSite site ) : void

Capture requirements related with Cell Sub-request.

ValidateCoauthSubResponse ( CoauthSubResponseType coauthSubResponse, ITestSite site ) : void

Capture requirements related to coauthoring sub response.

ValidateCoauthSubResponseDataType ( CoauthSubResponseDataType coauthSubResponseData, ITestSite site ) : void

Capture requirements related with CoauthSubResponseDataType.

ValidateEditorsTableSubResponse ( EditorsTableSubResponseType editorsTableSubResponse, ITestSite site ) : void

Capture requirements related to EditorsTable sub response.

ValidateExclusiveLockSubResponse ( ExclusiveLockSubResponseType exclusiveLockSubResponse, ITestSite site ) : void

Capture requirements related to exclusive lock sub request of type, "Convert to schema lock with co-authoring transition tracked".

ValidateExclusiveLockSubResponseDataType ( ExclusiveLockSubResponseDataType exclusiveLockSubResponseDataType, ITestSite site ) : void

Capture requirements related with ExclusiveLockSubResponseDataType.

ValidateGetDocMetaInfoSubResponse ( GetDocMetaInfoSubResponseType getDocMetaInfoSubResponse, ITestSite site ) : void

Capture requirements related to GetDocMetaInfo sub response.

ValidateGetDocMetaInfoSubResponseData ( ITestSite site ) : void

Capture requirements related with GetDocMetaInfoSubResponseType.

ValidateGetVersionsSubResponse ( GetVersionsSubResponseType getVersionsSubResponse, ITestSite site ) : void

Capture requirements related to GetVersions sub response.

ValidateResponse ( CellStorageResponse storageResponse, string requestToken, ITestSite site ) : void

Capture requirements related with Response message

ValidateResponseCollection ( ResponseCollection responseCollection, string requestToken, ITestSite site ) : void

Capture requirements related with ResponseCollection

ValidateResponseToken ( Response response, string expectedToken, ITestSite site ) : void

Capture requirements related with RequestToken within Response element

ValidateResponseVersion ( ResponseVersion version, ITestSite site ) : void

Capture requirements related with ResponseVersion element

ValidateSchemaLockSubResponse ( SchemaLockSubResponseType schemaLockSubResponse, ITestSite site ) : void

Capture requirements related to SchemaLock sub response.

ValidateSchemaLockSubResponseDataType ( SchemaLockSubResponseDataType schemaLockSubResponseData, ITestSite site ) : void

Capture requirements related with SchemaLockSubResponseDataType.

ValidateSubResponseToken ( ITestSite site ) : void

Capture requirements related with SubRequestToken within SubResponse element

ValidateSubResponseType ( SubResponseType subResponse, ITestSite site ) : void

Capture requirements related with SubResponseType

ValidateTransport ( ITestSite site ) : void

Capture underlying transport protocol related requirements. They can be captured directly when the server returns a SOAP response successfully.

ValidateUserNameTypes ( ITestSite site ) : void

Capture requirements related with UserNameTypes.

ValidateWhoAmISubResponse ( WhoAmISubResponseType whoamiSubResponse, ITestSite site ) : void

Capture requirements related with WhoAmI Sub-request.

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

Метод Описание
MsfsshttpAdapterCapture ( ) : System

Prevents a default instance of the MsfsshttpAdapterCapture class from being created

ValidateCellRequestErrorCodeTypes ( ErrorCodeType cellRequestErrorCode, ITestSite site ) : void

Capture requirements related with CellRequestErrorCodeTypes.

ValidateCellSubResponseDataOptionalAttributes ( CellSubResponseDataType cellSubResponseData, ITestSite site ) : void

Capture requirements related with CellSubResponseDataOptionalAttributes.

ValidateCellSubResponseDataType ( CellSubResponseDataType cellSubResponseData, ITestSite site ) : void

Capture requirements related with CellSubResponseDataType.

ValidateCoauthStatusType ( ITestSite site ) : void

Capture the CoauthStatusType schema related requirements.

ValidateDependencyCheckRelatedErrorCodeTypes ( ITestSite site ) : void

Capture requirements related with DependencyCheckRelatedErrorCodeTypes

ValidateErrorCodeTypes ( ErrorCodeType errorCode, ITestSite site ) : void

Capture requirements related with ErrorCodeTypes.

ValidateExclusiveLockReturnReasonTypes ( ITestSite site ) : void

Capture the ExclusiveLockReturnReasonTypes schema related requirements.

ValidateGUID ( ITestSite site ) : void

Capture the GUID schema related requirements.

ValidateGenericErrorCodeTypes ( ITestSite site ) : void

Capture requirements related with GenericErrorCodeTypes.

ValidateLockAndCoauthRelatedErrorCodeTypes ( ITestSite site ) : void

Capture requirements related with LockAndCoauthRelatedErrorCodeTypes

ValidateLockTypes ( ITestSite site ) : void

Capture the soap version related requirements. They can be captured directly when the server returns a SOAP response successfully.

ValidateMinorVersionNumberType ( ushort minorVersionNumber, ITestSite site ) : void

Capture requirements related with MinorVersionNumberType.

ValidateResponseElement ( Response response, ITestSite site ) : void

Capture requirements related with Response element.

ValidateSubResponseData ( SubResponseDataGenericType subResponseData, ITestSite site ) : void

Capture requirements related with SubResponseData element

ValidateSubResponseDataGenericType ( SubResponseDataGenericType subResponseData, ITestSite site ) : void

Capture requirements related with SubResponseDataGenericType

ValidateSubResponseDataOptionalAttributes ( SubResponseDataGenericType subResponseData, ITestSite site ) : void

Capture requirements related with SubResponseDataOptionalAttributes type

ValidateSubResponseElement ( SubResponseElementGenericType subResponse, ITestSite site ) : void

Capture requirements related with SubResponse element

ValidateSubResponseElementGenericType ( SubResponseElementGenericType subResponse, ITestSite site ) : void

Capture requirements related with SubResponseElementGenericType

ValidateUserEmailAddress ( string userEmailAddress, ITestSite site ) : void

Capture requirements related with UserEmailAddress.

ValidateVersionNumberType ( ushort versionNumber, ITestSite site ) : void

Capture requirements related with VersionNumberType.

ValidateVersionType ( VersionType version, ITestSite site ) : void

Capture requirements related with VersionType

ValidateWhoAmISubResponseDataOptionalAttributes ( WhoAmISubResponseDataType whoamiSubResponseData, ITestSite site ) : void

Capture requirements related with WhoAmISubResponseDataOptionalAttributes.

ValidateWhoAmISubResponseDataType ( WhoAmISubResponseDataType whoamiSubResponseData, ITestSite site ) : void

Capture requirements related with WhoAmISubResponseDataType

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

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

Capture requirements related with Cell Sub-request.
public static ValidateCellSubResponse ( CellSubResponseType cellSubResponse, ITestSite site ) : void
cellSubResponse Microsoft.Protocols.TestSuites.Common.CellSubResponseType Containing the CellSubResponse information
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related to coauthoring sub response.
public static ValidateCoauthSubResponse ( CoauthSubResponseType coauthSubResponse, ITestSite site ) : void
coauthSubResponse Microsoft.Protocols.TestSuites.Common.CoauthSubResponseType The coauthoring response.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
Результат void

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

Capture requirements related with CoauthSubResponseDataType.
public static ValidateCoauthSubResponseDataType ( CoauthSubResponseDataType coauthSubResponseData, ITestSite site ) : void
coauthSubResponseData Microsoft.Protocols.TestSuites.Common.CoauthSubResponseDataType The CoauthSubResponseDataType
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related to EditorsTable sub response.
public static ValidateEditorsTableSubResponse ( EditorsTableSubResponseType editorsTableSubResponse, ITestSite site ) : void
editorsTableSubResponse Microsoft.Protocols.TestSuites.Common.EditorsTableSubResponseType Containing the EditorsTableSubResponse information.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
Результат void

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

Capture requirements related to exclusive lock sub request of type, "Convert to schema lock with co-authoring transition tracked".
public static ValidateExclusiveLockSubResponse ( ExclusiveLockSubResponseType exclusiveLockSubResponse, ITestSite site ) : void
exclusiveLockSubResponse Microsoft.Protocols.TestSuites.Common.ExclusiveLockSubResponseType Containing the subResponse information.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
Результат void

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

Capture requirements related with ExclusiveLockSubResponseDataType.
public static ValidateExclusiveLockSubResponseDataType ( ExclusiveLockSubResponseDataType exclusiveLockSubResponseDataType, ITestSite site ) : void
exclusiveLockSubResponseDataType Microsoft.Protocols.TestSuites.Common.ExclusiveLockSubResponseDataType The ExclusiveLockSubResponseDataType
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related to GetDocMetaInfo sub response.
public static ValidateGetDocMetaInfoSubResponse ( GetDocMetaInfoSubResponseType getDocMetaInfoSubResponse, ITestSite site ) : void
getDocMetaInfoSubResponse Microsoft.Protocols.TestSuites.Common.GetDocMetaInfoSubResponseType Containing the GetDocMetaInfoSubResponse information.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
Результат void

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

Capture requirements related with GetDocMetaInfoSubResponseType.
public static ValidateGetDocMetaInfoSubResponseData ( ITestSite site ) : void
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related to GetVersions sub response.
public static ValidateGetVersionsSubResponse ( GetVersionsSubResponseType getVersionsSubResponse, ITestSite site ) : void
getVersionsSubResponse Microsoft.Protocols.TestSuites.Common.GetVersionsSubResponseType Containing the getVersionsSubResponse information.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
Результат void

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

Capture requirements related with Response message
public static ValidateResponse ( CellStorageResponse storageResponse, string requestToken, ITestSite site ) : void
storageResponse Microsoft.Protocols.TestSuites.Common.CellStorageResponse The storage response information
requestToken string The expected RequestToken
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with ResponseCollection
public static ValidateResponseCollection ( ResponseCollection responseCollection, string requestToken, ITestSite site ) : void
responseCollection Microsoft.Protocols.TestSuites.Common.ResponseCollection The ResponseCollection information
requestToken string The expected RequestToken
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with RequestToken within Response element
public static ValidateResponseToken ( Response response, string expectedToken, ITestSite site ) : void
response Microsoft.Protocols.TestSuites.Common.Response The Response information
expectedToken string The expected RequestToken
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with ResponseVersion element
public static ValidateResponseVersion ( ResponseVersion version, ITestSite site ) : void
version Microsoft.Protocols.TestSuites.Common.ResponseVersion The ResponseVersion information
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related to SchemaLock sub response.
public static ValidateSchemaLockSubResponse ( SchemaLockSubResponseType schemaLockSubResponse, ITestSite site ) : void
schemaLockSubResponse Microsoft.Protocols.TestSuites.Common.SchemaLockSubResponseType The schemaLock response.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
Результат void

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

Capture requirements related with SchemaLockSubResponseDataType.
public static ValidateSchemaLockSubResponseDataType ( SchemaLockSubResponseDataType schemaLockSubResponseData, ITestSite site ) : void
schemaLockSubResponseData Microsoft.Protocols.TestSuites.Common.SchemaLockSubResponseDataType The SchemaLockSubResponseDataType
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with SubRequestToken within SubResponse element
public static ValidateSubResponseToken ( ITestSite site ) : void
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with SubResponseType
public static ValidateSubResponseType ( SubResponseType subResponse, ITestSite site ) : void
subResponse Microsoft.Protocols.TestSuites.Common.SubResponseType The SubResponseType information
site ITestSite Instance of ITestSite
Результат void

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

Capture underlying transport protocol related requirements. They can be captured directly when the server returns a SOAP response successfully.
public static ValidateTransport ( ITestSite site ) : void
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with UserNameTypes.
public static ValidateUserNameTypes ( ITestSite site ) : void
site ITestSite Instance of ITestSite
Результат void

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

Capture requirements related with WhoAmI Sub-request.
public static ValidateWhoAmISubResponse ( WhoAmISubResponseType whoamiSubResponse, ITestSite site ) : void
whoamiSubResponse Microsoft.Protocols.TestSuites.Common.WhoAmISubResponseType Containing the WhoAmISubResponse information
site ITestSite Instance of ITestSite
Результат void