Microsoft.Protocols.TestSuites.MS_LISTSWS.MS_LISTSWSAdapter.VerifyDeleteAttachmentOperation C# (CSharp) Method

VerifyDeleteAttachmentOperation() private method

Verify the message syntax of DeleteAttachment operation.
private VerifyDeleteAttachmentOperation ( ) : void
return void
        private void VerifyDeleteAttachmentOperation()
        {
            // Verify 1697
            // The response have been received successfully, then the following requirement can be captured.
            // If the response is not received and parsed successfully, the test case will fail before this requirement is captured 
            Site.CaptureRequirement(
                1697,
                @"[The schema of DeleteAttachment is defined as:]"
                + @"<wsdl:operation name=""DeleteAttachment"">"
                + @"    <wsdl:input message=""DeleteAttachmentSoapIn"" />"
                + @"    <wsdl:output message=""DeleteAttachmentSoapOut"" />"
                + @"</wsdl:operation>");

            // Verify R465
            // The response have been received successfully, then the following requirement can be captured.
            // If the response is not received and parsed successfully, the test case will fail before this requirement is captured 
            Site.CaptureRequirement(
                465,
                @"[In DeleteAttachment operation] [If the protocol client sends a "
                + "DeleteAttachmentSoapIn request message] the protocol server responds with "
                + "a DeleteAttachmentSoapOut response message.");

            // Verify R1706
            // The response have been received successfully, then the following requirement can be captured.
            // If the response is not received and parsed successfully, the test case will fail before this requirement is captured 
            Site.CaptureRequirement(
                1706,
                @"[DeleteAttachmentSoapOut]The SOAP Body contains a "
                + "DeleteAttachmentResponse element.");

            // Verify R1711
            // The response have been received successfully, then the following requirement can be captured.
            // If the response is not received and parsed successfully, the test case will fail before this requirement is captured 
            Site.CaptureRequirement(
                1711,
                @"[The schema of DeleteAttachmentResponse is defined as:]"
                + @"<s:element name=""DeleteAttachmentResponse"">"
                + @"  <s:complexType/>"
                + @"</s:element>");
        }
MS_LISTSWSAdapter