System.Xml.Tests.TCGetUnspecifiedDefaultAttributes.CallAfterGetExpectedAttributes C# (CSharp) Méthode

CallAfterGetExpectedAttributes() private méthode

private CallAfterGetExpectedAttributes ( ) : void
Résultat void
        public void CallAfterGetExpectedAttributes()
        {
            XmlSchemaValidator val = CreateValidator(XSDFILE_VALIDATE_ATTRIBUTE);
            ArrayList atts = new ArrayList();

            val.Initialize();
            val.ValidateElement("MixedAttributesElement", "", null);

            val.ValidateAttribute("req1", "", StringGetter("foo"), null);
            val.GetExpectedAttributes();

            val.GetUnspecifiedDefaultAttributes(atts);
            CheckDefaultAttributes(atts, new string[] { "def1", "def2" });

            return;
        }