Microsoft.Protocols.TestSuites.MS_WEBSS.S04_OperationsOnFile.MSWEBSS_S04_TC02_RevertFileContentStream_ValidFileUrl C# (CSharp) Method

MSWEBSS_S04_TC02_RevertFileContentStream_ValidFileUrl() private method

        public void MSWEBSS_S04_TC02_RevertFileContentStream_ValidFileUrl()
        {
            this.Site.Assume.IsTrue(Common.IsRequirementEnabled(1036, this.Site), "The test case is executed only when the property 'R1036Enabled' is true.");

            // For capture requirements in adapter.
            Adapter.RevertFileContentStream(Common.GetConfigurationPropertyValue("RevertFileContentStream_ValidFileUrl", this.Site));

            // If the product is Windows® SharePoint® Services 3.0 and above, Verify MS-WEBSS requirement: MS-WEBSS_R1036 when invokes the operation "RevertFileContentStream" successfully.
            Site.CaptureRequirement(
                 1036,
                @"[In Appendix B: Product Behavior] Implementation does support this[RevertFileContentStream] operation.(<20>Windows SharePoint Services 3.0 and above follow this behavior.)");
        }