C# Class Microsoft.Protocols.TestSuites.MS_ADMINS.MS_ADMINSAdapter

The capture requirement part of adapter's implementation
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_ADMINSAdapter
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
CreateSite ( string url, string title, string description, int lcid, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string portalUrl, string portalName ) : string

Creates a Site collection.

DeleteSite ( string url ) : void

Deletes the specified Site collection.

GetLanguages ( ) : GetLanguagesResponseGetLanguagesResult

Returns information about the languages which are used in the protocol server deployment.

Initialize ( ITestSite testSite ) : void

Overrides IAdapter's Initialize().

Reset ( ) : void

A method used to Clean up meetings added by test case.

Private Methods

Method Description
SetSoapVersion ( AdminSoap adminProxy ) : void

Set the SOAP version according to the SoapVersion property.

ValidateCreateSiteResponseData ( string createSiteResult ) : void

Validate CreateSite's response data CreateSiteResult when the response is received successfully.

ValidateDeleteSiteResponse ( ) : void

Validate DeleteSite's response when the response is received successfully.

ValidateGetLanguagesResponseData ( GetLanguagesResponseGetLanguagesResult getLanguagesResult ) : void

Validate GetLanguages response data getLanguagesResult when the response is received successfully.

VerifySoapFaultRequirements ( System.Web.Services.Protocols.SoapException soapExp ) : void

Verify the requirements of the SOAP fault when the SOAP fault is received.

VerifyTransportRelatedRequirements ( ) : void

Verify the requirements of the transport when the response is received successfully.

Method Details

CreateSite() public method

Creates a Site collection.
public CreateSite ( string url, string title, string description, int lcid, string webTemplate, string ownerLogin, string ownerName, string ownerEmail, string portalUrl, string portalName ) : string
url string The absolute URL of the site collection.
title string The display name of the site collection.
description string A description of the site collection.
lcid int The language that is used in the site collection.
webTemplate string The name of the site template which is used when creating the site collection.
ownerLogin string The user name of the site collection owner.
ownerName string The display name of the owner.
ownerEmail string The e-mail address of the owner.
portalUrl string The URL of the portal site for the site collection.
portalName string The name of the portal site for the site collection.
return string

DeleteSite() public method

Deletes the specified Site collection.
public DeleteSite ( string url ) : void
url string The absolute URL of the site collection which is to be deleted.
return void

GetLanguages() public method

Returns information about the languages which are used in the protocol server deployment.
public GetLanguages ( ) : GetLanguagesResponseGetLanguagesResult
return GetLanguagesResponseGetLanguagesResult

Initialize() public method

Overrides IAdapter's Initialize().
public Initialize ( ITestSite testSite ) : void
testSite ITestSite A parameter represents an ITestSite instance.
return void

Reset() public method

A method used to Clean up meetings added by test case.
public Reset ( ) : void
return void