Microsoft.Protocols.TestSuites.MS_SITESS.S01_MigrateSite.VerifyExportWebInProgress C# (CSharp) Méthode

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
        public void VerifyExportWebInProgress(int actualValue)
        {
            // If 1 is returned, R58 can be captured.
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-SITESS_R58");

            // Verify MS-SITESS requirement: MS-SITESS_R58
            Site.CaptureRequirementIfAreEqual<int>(
                1,
                actualValue,
                58,
                @"[In ExportWeb] Upon the start of the export operation, a result of 1 MUST be sent as the response indicating that the operation is in progress.");

            // If the files are equal to the expected file, the server process this operation and the result is ok, then R89 can be verified.
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-SITESS_R89");

            // Verify MS-SITESS requirement: MS-SITESS_R89
            Site.CaptureRequirementIfAreEqual<int>(
                1,
                actualValue,
                89,
                @"[In ExportWebResponse] If the value of ExportWebResult is 1, it specifies Pending: The operation is in progress.");
        }