Esempio n. 1
0
        public void CheckCurrentVisualStudioMyDocumentsFolder()
        {
            string myVisualStudioDirectory = Path.Combine(myDocumentsDirectory, LatestVisualStudioName);

            Assert.AreEqual(myVisualStudioDirectory,
                            MyDocumentsExtensions.GetSupportedVisualStudioFolders()[0]);
        }
Esempio n. 2
0
 public void LogAvailableMyDocumentsFoldersForVisualStudio()
 {
     new ConsoleLogger();
     foreach (var supportedVsFolder in MyDocumentsExtensions.GetSupportedVisualStudioFolders())
     {
         if (Directory.Exists(supportedVsFolder))
         {
             Logger.Info(supportedVsFolder + " exists");
         }
         else
         {
             Logger.Info(supportedVsFolder + " does not exist");
         }
     }
 }