Ejemplo n.º 1
0
        public void AppendXmlTest()
        {
            Tokens tokens = Tokens.LoadXml(_scriptsLocation + "\\" + XML_TOKENS_FILE);

            tokens.AppendXml(_scriptsLocation + "\\" + XML_APPEND_TOKENS_FILE);
            Assert.AreEqual(tokens.Count, 4);
            Assert.IsTrue(tokens["key1"] == "value1");
            Assert.IsTrue(tokens["key2"] == "value20");
            Assert.IsTrue(tokens["key3"] == "value3");
            Assert.IsTrue(tokens["key4"] == "value4");
        }