Microsoft.Protocols.TestSuites.MS_OXCFOLD.MS_OXCFOLDAdapter.VerifyTransport C# (CSharp) Method

VerifyTransport() private method

Verify MAPIHTTP transport.
private VerifyTransport ( ) : void
return void
        private void VerifyTransport()
        {
            if (Common.GetConfigurationPropertyValue("TransportSeq", this.Site).ToLower() == "mapi_http" && Common.IsRequirementEnabled(1340, this.Site))
            {
                // Add the debug information
                Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCFOLD_R1340");

                // Verify requirement MS-OXCFOLD_R1340
                // If the transport sequence is MAPIHTTP and the code can reach here, it means that the implementation does support MAPIHTTP transport.
                Site.CaptureRequirement(
                    1340,
                    @"[In Appendix A: Product Behavior] Implementation does support this specification [MS-OXCMAPIHTTP]. (Exchange Server 2013 Service Pack 1 (SP1) follows this behavior.)");
            }
            else if (Common.GetConfigurationPropertyValue("TransportSeq", this.Site).ToLower() == "ncacn_ip_tcp" && Common.IsRequirementEnabled(99999, this.Site))
            {
                // Add the debug information
                Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCFOLD_R99999");

                // Verify requirement MS-OXCFOLD_R99999
                // If the transport sequence is ncacn_ip_tcp and the code can reach here, it means that the implementation does support ncacn_ip_tcp transport.
                Site.CaptureRequirement(
                    99999,
                    @"[In Appendix B: Product Behavior] Implementation does support this given protocol sequence [ncacn_ip_tcp]. ( Microsoft Exchange Server 2007 and 2010 follow this behavior.)");
            }
        }
        #endregion