System.Xml.Tests.TC_SchemaSet_Misc.v25 C# (CSharp) Method

v25() private method

private v25 ( ) : void
return void
        public void v25()
        {
            XmlSchemaSet ss = new XmlSchemaSet();
            ss.XmlResolver = new XmlUrlResolver();
            ss.Add(null, Path.Combine(TestData._Root, "bug338038_v3.xsd"));
            ss.Compile();
            ss.Add(null, Path.Combine(TestData._Root, "bug338038_v3a.xsd"));
            ss.Compile();
            try
            {
                ss.Add(null, Path.Combine(TestData._Root, "bug338038_v3b.xsd"));
                ss.Compile();
            }
            catch (XmlSchemaException e)
            {
                _output.WriteLine(e.Message);
                CError.Compare(ss.Count, 6, "Count of SchemaSet not matched!");
                return;
            }

            Assert.True(false);
        }