Microsoft.Protocols.TestSuites.MS_OXCNOTIF.MS_OXCNOTIFAdapter.VerifyROPTransport C# (CSharp) Method

VerifyROPTransport() private method

Verify Syntax about ROP Transport
private VerifyROPTransport ( ) : void
return void
        private void VerifyROPTransport()
        {
            if (Common.GetConfigurationPropertyValue("TransportSeq", this.Site).ToLower() == "mapi_http")
            {
                if (Common.IsRequirementEnabled(475, this.Site))
                {
                    // Add the debug information
                    Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCNOTIF_R475");

                    // When the client receive asynchronous MAPI notification in the response through test suites by using
                    // underlying networking protocols, this method will be invoked, and this requirement will be verified directly.
                    Site.CaptureRequirement(
                        475,
                        @"[In Appendix A: Product Behavior] Asynchronous calls are made on the server by using the MAPI extensions to HTTP. (Exchange 2013 SP1 follows this behavior.)");
                }

                if (Common.IsRequirementEnabled(517, this.Site))
                {
                    // Add the debug information
                    Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCNOTIF_R517");

                    // When the client receive asynchronous MAPI notification in the response through test suites by using
                    // underlying networking protocols, this method will be invoked, and this requirement will be verified directly.
                    Site.CaptureRequirement(
                        517,
                        @"[In Appendix A: Product Behavior] Implementation does support the session context cookie. (<11> Section 3.1.1:  The session context cookie was introduced in Exchange 2013 SP1.)");
                }
            }

            // Add the debug information
            Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCNOTIF_R1");

            // If the client send request in ROP request buffers and receive response in ROP response buffers through test suites,
            // this method will be invoked, and this requirement will be verified directly.
            Site.CaptureRequirement(
                1,
                @"[In Transport] The commands specified by this protocol [MS-OXCNOTIF] are sent to and received from the server by using the underlying ROP request buffers and ROP response buffers, respectively, as specified in [MS-OXCROPS].");
        }