Microsoft.Protocols.TestSuites.MS_SITESS.MS_SITESSAdapter.ValidArrayOfStringComplexType C# (CSharp) Méthode

ValidArrayOfStringComplexType() private méthode

A method used to validate the ArrayOfString complex type.
private ValidArrayOfStringComplexType ( ) : void
Résultat void
        private void ValidArrayOfStringComplexType()
        {
            bool isSchemaRight = SchemaValidation.XmlValidationErrors.Count == 0 && SchemaValidation.XmlValidationWarnings.Count == 0;

            // The response have been received successfully, then the following requirement can be captured.
            Site.CaptureRequirementIfIsTrue(
                isSchemaRight,
                422002,
                @" [In ArrayOfString] [The ArrayOfString is defined as:]<s:complexType name=""ArrayOfString"">
   <s:sequence>
     <s:element minOccurs=""1"" maxOccurs=""unbounded"" name=""string"" nillable=""true""
                  type=""s:string"" />
   </s:sequence>
 </s:complexType>
");
        }