示例#1
0
        public void CheckVisualStudioDeltaEngineTemplateZip()
        {
            string expectedFilePath = Path.Combine(myDocumentsDirectory, LatestVisualStudioName,
                                                   "Templates", "ProjectTemplates", "Visual C#", "Delta Engine", "EmptyApp.zip");
            string actualFilePath =
                MyDocumentsExtensions.GetVisualStudioDeltaEngineTemplateZip("EmptyApp");

            Assert.AreEqual(expectedFilePath, actualFilePath);
        }
示例#2
0
 public void BothProjectsAndDeltaEngineProjectTemplatesShouldBeAvailable()
 {
     Assert.DoesNotThrow(() => MyDocumentsExtensions.GetVisualStudioProjectsFolder());
     Assert.DoesNotThrow(() => MyDocumentsExtensions.GetVisualStudioDeltaEngineTemplateZip(""));
 }