Microsoft.Protocols.TestSuites.MS_OXCMAPIHTTP.TestSuiteBase.CheckMapiHttpIsSupported C# (CSharp) Method

CheckMapiHttpIsSupported() protected method

Check the preconditions of this test suite.
protected CheckMapiHttpIsSupported ( ) : void
return void
        protected void CheckMapiHttpIsSupported()
        {
            bool isSupported = bool.Parse(Common.GetConfigurationPropertyValue("MS-OXCMAPIHTTP_Supported", this.Site));

            this.Site.Assume.IsTrue(
                 isSupported,
                 "The MS-OXCMAPIHTTP is not supported when the MS-OXCMAPIHTTP_Supported property is false in Should/May PTFconfig file.");

            this.Site.Assume.AreEqual<string>(
                "mapi_http",
                Common.GetConfigurationPropertyValue("TransportSeq", this.Site),
                "The MS-OXCMAPIHTTP is not supported when the transport protocol sequence is set to either ncacn_ip_tcp or ncacn_http. The transport protocol sequence is determined by Common PTFConfig property named TransportSeq.");
        }
        #endregion Common methods for test cases.