C# Class Microsoft.Protocols.TestSuites.SharedAdapter.MsfsshttpAdapterCapture

This partial part of MsfsshttpAdapterCapture class is used to test Get docMetaInfo response related requirements.
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

ValidateCellSubResponse() public static method

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
return void

ValidateCoauthSubResponse() public static method

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.
return void

ValidateCoauthSubResponseDataType() public static method

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
return void

ValidateEditorsTableSubResponse() public static method

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.
return void

ValidateExclusiveLockSubResponse() public static method

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.
return void

ValidateExclusiveLockSubResponseDataType() public static method

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
return void

ValidateGetDocMetaInfoSubResponse() public static method

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.
return void

ValidateGetDocMetaInfoSubResponseData() public static method

Capture requirements related with GetDocMetaInfoSubResponseType.
public static ValidateGetDocMetaInfoSubResponseData ( ITestSite site ) : void
site ITestSite Instance of ITestSite
return void

ValidateGetVersionsSubResponse() public static method

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.
return void

ValidateResponse() public static method

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
return void

ValidateResponseCollection() public static method

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
return void

ValidateResponseToken() public static method

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
return void

ValidateResponseVersion() public static method

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
return void

ValidateSchemaLockSubResponse() public static method

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.
return void

ValidateSchemaLockSubResponseDataType() public static method

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
return void

ValidateSubResponseToken() public static method

Capture requirements related with SubRequestToken within SubResponse element
public static ValidateSubResponseToken ( ITestSite site ) : void
site ITestSite Instance of ITestSite
return void

ValidateSubResponseType() public static method

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
return void

ValidateTransport() public static method

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
return void

ValidateUserNameTypes() public static method

Capture requirements related with UserNameTypes.
public static ValidateUserNameTypes ( ITestSite site ) : void
site ITestSite Instance of ITestSite
return void

ValidateWhoAmISubResponse() public static method

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
return void