Esempio n. 1
0
            public void ApplicationPath_FileExists()
            {
                var installedVersions = InstalledVersionUtilities.GetInstalledVersions();

                foreach (var installedVersion in installedVersions)
                {
                    FileAssert.Exists(installedVersion.ApplicationPath);
                }
            }
Esempio n. 2
0
            public void Products()
            {
                var installedVersions = InstalledVersionUtilities.GetInstalledVersions();

                installedVersions = installedVersions.Where(iv => iv.VsVersion == VsVersion.Vs2017);

                foreach (var installedVersion in installedVersions)
                {
                    Assert.That(installedVersion.Product, Is.Not.Null);
                    Assert.That(installedVersion.Product, Does.Not.Contain("."));
                }
            }
Esempio n. 3
0
 static IEnumerable <InstalledVersion> GetInstalledVersions() => InstalledVersionUtilities.GetInstalledVersions();