public void TestAnalyseXML_错误()
        {
            DataItem_Item_Fail_Undefine obj = new DataItem_Item_Fail_Undefine();
            string xml = "error xml schema";
            obj.AnalyseXML(xml);

            Assert.AreEqual(XmlAnalyseState.Error, obj.AnalyseState);
        }
예제 #2
0
        public void TestAnalyseXML_错误()
        {
            DataItem_Item_Fail_Undefine obj = new DataItem_Item_Fail_Undefine();
            string xml = "error xml schema";

            obj.AnalyseXML(xml);

            Assert.AreEqual(XmlAnalyseState.Error, obj.AnalyseState);
        }
        public void TestAnalyseXML_失败()
        {
            DataItem_Item_Fail_Undefine obj = new DataItem_Item_Fail_Undefine();
            string xml = ""
                + "<item>"
                + "    <iid><![CDATA[302a0499bf58d002de05da07f523f3f9]]></iid>"
                + "</item>";
            obj.AnalyseXML(xml);

            Assert.AreEqual(XmlAnalyseState.Fail, obj.AnalyseState);
        }
예제 #4
0
        public void TestAnalyseXML_失败()
        {
            DataItem_Item_Fail_Undefine obj = new DataItem_Item_Fail_Undefine();
            string xml = ""
                         + "<item>"
                         + "    <iid><![CDATA[302a0499bf58d002de05da07f523f3f9]]></iid>"
                         + "</item>";

            obj.AnalyseXML(xml);

            Assert.AreEqual(XmlAnalyseState.Fail, obj.AnalyseState);
        }