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

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Datei anzeigen Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
VerifyExportWebErrorCode ( int errorCodeValue ) : void

If ExportWeb failed, errorCode should be 4, 5, 6, 7, or 8. R57 can be captured.

VerifyExportWebInProgress ( int actualValue ) : void

If the value of ExportWebResult is 1, it specifies Pending: The operation is in progress. R58 and R89 can be captured.

VerifyImportWebErrorCode ( int errorCodeValue ) : void

If ImportWeb failed, errorCode should be 2, 4, 5, 6, 8 or 11. R238 can be captured.

VerifyImportWebInProgress ( int actualValue ) : void

If the value of ImportWebResult is 1, it specifies Pending: The operation is in progress. R239 and R267 can be captured.

VerifyOperationExportWeb ( ) : void

This method is used to verify Microsoft Windows SharePoint Services 3.0 and above support operation ExportWeb.

VerifyOperationImportWeb ( ) : void

This method is used to verify Microsoft Windows SharePoint Services 3.0 and above support operation ImportWeb.

Private Methods

Method Description
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
MSSITESS_S01_TC01_MigratingSuccessfully ( ) : void
MSSITESS_S01_TC02_ExportingMutiplePackages ( ) : void
MSSITESS_S01_TC03_ExportingEqualto0x18CabSize ( ) : void
MSSITESS_S01_TC04_ExportingFailureInvalidExportUrl ( ) : void
MSSITESS_S01_TC05_ExportingFailureExportFileNoAccess ( ) : void
MSSITESS_S01_TC06_ExportingFailureOverwriteFailure ( ) : void
MSSITESS_S01_TC07_ImportingFailureOverwriteFailure ( ) : void
MSSITESS_S01_TC08_ImportingFailureInvalidImportUrl ( ) : void
MSSITESS_S01_TC09_ImportingFailureImportFileNoAccess ( ) : void
MSSITESS_S01_TC10_ImportingFailureLogFileNoAccess ( ) : void
MSSITESS_S01_TC11_ImportingFailureImportWebNotEmpty ( ) : void
MSSITESS_S01_TC12_ImportingFailureLogPathEmpty ( ) : void
TestCaseCleanup ( ) : void
TestCaseInitialize ( ) : void

Method Details

VerifyExportWebErrorCode() public method

If ExportWeb failed, errorCode should be 4, 5, 6, 7, or 8. R57 can be captured.
public VerifyExportWebErrorCode ( int errorCodeValue ) : void
errorCodeValue int The error code returned by the server.
return void

VerifyExportWebInProgress() public method

If the value of ExportWebResult is 1, it specifies Pending: The operation is in progress. R58 and R89 can be captured.
public VerifyExportWebInProgress ( int actualValue ) : void
actualValue int Value of ExportWebResult
return void

VerifyImportWebErrorCode() public method

If ImportWeb failed, errorCode should be 2, 4, 5, 6, 8 or 11. R238 can be captured.
public VerifyImportWebErrorCode ( int errorCodeValue ) : void
errorCodeValue int Value of errorCode
return void

VerifyImportWebInProgress() public method

If the value of ImportWebResult is 1, it specifies Pending: The operation is in progress. R239 and R267 can be captured.
public VerifyImportWebInProgress ( int actualValue ) : void
actualValue int value of ImportWebResult
return void

VerifyOperationExportWeb() public method

This method is used to verify Microsoft Windows SharePoint Services 3.0 and above support operation ExportWeb.
public VerifyOperationExportWeb ( ) : void
return void

VerifyOperationImportWeb() public method

This method is used to verify Microsoft Windows SharePoint Services 3.0 and above support operation ImportWeb.
public VerifyOperationImportWeb ( ) : void
return void