예제 #1
0
        public void ValidateWellFormedXml_Fail8()
        {
            string xml = File.ReadAllText("../../test_files/invalid_wrong_tag_order.xml");

            HelperClass.ValidateWellFormedXml(xml, "name");
        }
예제 #2
0
        public void ValidateWellFormedXml_Fail6()
        {
            string xml = File.ReadAllText("../../test_files/invalid_two_attributes_same_name.xml");

            HelperClass.ValidateWellFormedXml(xml, "name");
        }
예제 #3
0
        public void ValidateWellFormedXml_Fail7()
        {
            string xml = File.ReadAllText("../../test_files/invalid_two_roots.xml");

            HelperClass.ValidateWellFormedXml(xml, "name");
        }
예제 #4
0
        public void ValidateWellFormedXml_Accuracy()
        {
            string xml = File.ReadAllText("../../test_files/valid.xml");

            HelperClass.ValidateWellFormedXml(xml, "name");
        }