System.Xml.Tests.TCValidateAttribute.ValidateAnyAttribute C# (CSharp) Method

ValidateAnyAttribute() private method

private ValidateAnyAttribute ( ) : void
return void
        public void ValidateAnyAttribute()
        {
            XmlSchemaValidator val = CreateValidator(XSDFILE_VALIDATE_ATTRIBUTE);
            XmlSchemaInfo info = new XmlSchemaInfo();

            val.Initialize();
            val.ValidateElement("AnyAttributeElement", "", null);
            val.ValidateAttribute("SomeAttribute", "", StringGetter("foo"), info);

            Assert.Equal(info.Validity, XmlSchemaValidity.NotKnown);

            return;
        }