C# Класс Microsoft.Protocols.TestSuites.MS_SITESS.S01_MigrateSite

Наследование: Microsoft.Protocols.TestTools.TestClassBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

VerifyExportWebErrorCode() публичный Метод

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.
Результат void

VerifyExportWebInProgress() публичный Метод

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
Результат void

VerifyImportWebErrorCode() публичный Метод

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
Результат void

VerifyImportWebInProgress() публичный Метод

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
Результат void

VerifyOperationExportWeb() публичный Метод

This method is used to verify Microsoft Windows SharePoint Services 3.0 and above support operation ExportWeb.
public VerifyOperationExportWeb ( ) : void
Результат void

VerifyOperationImportWeb() публичный Метод

This method is used to verify Microsoft Windows SharePoint Services 3.0 and above support operation ImportWeb.
public VerifyOperationImportWeb ( ) : void
Результат void