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

VerifyUndoCheckOutOperation() private method

Verify the message syntax of UndoCheckOut operation when the response is received successfully.
private VerifyUndoCheckOutOperation ( ) : void
return void
        private void VerifyUndoCheckOutOperation()
        {
            // Verify R1961
            // 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(
                1961,
                @"[The schema of UndoCheckOut is defined as:]"
                + @"<wsdl:operation name=""UndoCheckOut"">"
                + @"    <wsdl:input message=""UndoCheckOutSoapIn"" />"
                + @"    <wsdl:output message=""UndoCheckOutSoapOut"" />"
                + @"</wsdl:operation>");

            // Verify R782
            // 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(
                782,
                @"[In UndoCheckOut operation] [If the protocol client sends an UndoCheckOutSoapIn "
                + "request message] the protocol server responds with an UndoCheckOutSoapOut "
                + "response message.");

            // Verify R1968
            // 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(
                1968,
                @"[UndoCheckOutSoapOut]The SOAP Body contains an UndoCheckOutResponse "
                + "element.");

            // Verify R1971
            // 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(
                1971,
                @"[The schema of UndoCheckOutResponse is defined as:]"
                + @"<s:element name=""UndoCheckOutResponse"">"
                + @"  <s:complexType>"
                + @"    <s:sequence>"
                + @"      <s:element name=""UndoCheckOutResult"" type=""s:boolean""/>"
                + @"    </s:sequence>"
                + @"  </s:complexType>"
                + @"</s:element>");

            // Verify R1972
            // 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(
                1972,
                @"[UndoCheckOutResponse]UndoCheckOutResult: Specifies whether the call is "
                + "successful or not.");
        }
MS_LISTSWSAdapter