public void LoadXMLs_Normal() { string path = folder + "\\sql"; SQLProxy.LoadXMLs(path); Assert.IsTrue(SQLProxy.GetValue("DATA.COLLATIONS.GETDATASOURCE") != null); SQLData info = SQLProxy.GetValue("DATA.INNODBLOCKS.GET8PAGE"); Assert.IsTrue(info != null); Assert.IsTrue(!string.IsNullOrWhiteSpace(info.CountSQL)); }
public void LoadXMLs_NodeRepeate() { string path = folder + "\\sqlNodeRepeate"; try { SQLProxy.LoadXMLs(path); Assert.IsTrue(false); } catch (Exception ex) { ex.ToString(); } }
public void LoadXMLs_XMLError() { string path = folder + "\\sqlXmlError"; try { SQLProxy.LoadXMLs(path); Assert.IsTrue(false); } catch (Exception ex) { ex.ToString(); } }