Пример #1
0
        public void TestPutFileWithTextContents()
        {
            string filePath = "/uprof/test.txt";
            string contents = "My XML file";

            xmlmcService.PutText(filePath, contents);
            Assert.IsTrue(xmlmcService.DoesFileExists(filePath));
            string fileContents = xmlmcService.GetFileContents(filePath);

            Assert.IsTrue(contents.CompareTo(fileContents) == 0);
            xmlmcService.RemoveFile(filePath);
        }