示例#1
0
        public void SampleManifestExecutesSuccessfully()
        {
            string path = @"F:\Projects\jinxbot\trunk\development\JinxBot.UpdateManager.Components\SampleManifest.xml";
            string xml = File.ReadAllText(path);

            ManifestHandler handler = new ManifestHandler(xml);

            Assert.AreEqual(TaskStatus.Success, handler.ExecuteManifest());
        }
示例#2
0
        public void SampleManifestExecutesSuccessfully()
        {
            string path = @"F:\Projects\jinxbot\trunk\development\JinxBot.UpdateManager.Components\SampleManifest.xml";
            string xml  = File.ReadAllText(path);

            ManifestHandler handler = new ManifestHandler(xml);

            Assert.AreEqual(TaskStatus.Success, handler.ExecuteManifest());
        }