示例#1
0
        public void CfgMgr_Xml_Write()
        {
            string          path   = Path.Combine(localFolder, file_xml_1_out);
            XmlConfigSystem cfgsys = new XmlConfigSystem();

            configManager = new CfgManager(path, cfgsys);
            configManager.SetDictionary(dicoXml);
            configManager.WriteConfig();

            Assert.IsTrue(XmlFileCompare(Path.Combine(localFolder, file_xml_1_out), Path.Combine(localFolder, file_xml_1)), "Files are not the same");
        }