public void TestDoAnalyse_错误的XML文本解析() { DataItem_Item_Fail_Undefine obj = new DataItem_Item_Fail_Undefine(); string xml = "error xml schema"; obj.DoAnalyse(xml); }
public void TestDoAnalyse_解析XML文本失败_未定义() { DataItem_Item_Fail_Undefine obj = new DataItem_Item_Fail_Undefine(); string xml = "" + "<item>" + " <iid><![CDATA[302a0499bf58d002de05da07f523f3f9]]></iid>" + "</item>"; bool rtn = obj.DoAnalyse(xml); Assert.AreEqual(false, rtn); }