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

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

VerifyExportWebInProgress() public méthode

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
Résultat void

VerifyImportWebErrorCode() public méthode

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
Résultat void

VerifyImportWebInProgress() public méthode

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
Résultat void

VerifyOperationExportWeb() public méthode

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

VerifyOperationImportWeb() public méthode

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