C# Class Microsoft.Protocols.TestSuites.MS_SITESS.S02_ManageSubSite

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Mostrar archivo Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
VerifyErrorCodeOfCreateWeb ( string actualValue ) : void

CreateWeb MUST return a SOAP fault with the specified error code 0x800700b7, 0x8102009f.

VerifyOperationCreateWeb ( ) : void

This method is used to verify Microsoft SharePoint Foundation 2010 and above support operation CreateWeb.

VerifyOperationDeleteWeb ( ) : void

This method is used to verify Microsoft SharePoint Foundation 2010 and above support operation CreateWeb.

VerifyResultOfGetSiteTemplate ( uint actualValue ) : void

GetSiteTemplatesResult MUST be 0 when the operation succeeded. If actualValue is returned as 0, R153 can be captured.

VerifySoapFault ( bool isSoapFault ) : void

Protocol server faults using SOAP faults as specified either in [SOAP1.1] section 4.4, or in [SOAP1.2/1] section 5.4.

VerifySoapFaultDetail ( System.Web.Services.Protocols.SoapException soapFault ) : void

Verify SoapFaultDetail message.

Private Methods

Method Description
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
MSSITESS_S02_TC01_ManagingSubsiteSuccessfully ( ) : void
MSSITESS_S02_TC02_ManagingSubsiteWithoutOptionalParameters ( ) : void
MSSITESS_S02_TC03_CreateWebFailureUrlAlreadyInUse ( ) : void
MSSITESS_S02_TC04_CreateWebFailureTemplateNotExist ( ) : void
MSSITESS_S02_TC05_DeleteWebFailureNonExistentUrl ( ) : void
MSSITESS_S02_TC06_CreateWebWithZeroFalse ( ) : void
MSSITESS_S02_TC07_GetSiteTemplateNotInstalledLCID ( ) : void
MSSITESS_S02_TC08_GetSiteTemplatesSuccessfully ( ) : void
MSSITESS_S02_TC09_CreateWebWithPresenceIsFalse ( ) : void
MSSITESS_S02_TC10_CreateWebWithPresenceIsOmitted ( ) : void
TestCaseCleanup ( ) : void
TestCaseInitialize ( ) : void

Method Details

VerifyErrorCodeOfCreateWeb() public method

CreateWeb MUST return a SOAP fault with the specified error code 0x800700b7, 0x8102009f.
public VerifyErrorCodeOfCreateWeb ( string actualValue ) : void
actualValue string error code of the SOAP fault
return void

VerifyOperationCreateWeb() public method

This method is used to verify Microsoft SharePoint Foundation 2010 and above support operation CreateWeb.
public VerifyOperationCreateWeb ( ) : void
return void

VerifyOperationDeleteWeb() public method

This method is used to verify Microsoft SharePoint Foundation 2010 and above support operation CreateWeb.
public VerifyOperationDeleteWeb ( ) : void
return void

VerifyResultOfGetSiteTemplate() public method

GetSiteTemplatesResult MUST be 0 when the operation succeeded. If actualValue is returned as 0, R153 can be captured.
public VerifyResultOfGetSiteTemplate ( uint actualValue ) : void
actualValue uint The result of GetSiteTemplates.
return void

VerifySoapFault() public method

Protocol server faults using SOAP faults as specified either in [SOAP1.1] section 4.4, or in [SOAP1.2/1] section 5.4.
public VerifySoapFault ( bool isSoapFault ) : void
isSoapFault bool Indicate whether the response is a SoapFault.
return void

VerifySoapFaultDetail() public method

Verify SoapFaultDetail message.
public VerifySoapFaultDetail ( System.Web.Services.Protocols.SoapException soapFault ) : void
soapFault System.Web.Services.Protocols.SoapException A SoapException contains Soap fault message.
return void