public void TestCleanupDirectoriesNonExistant() { _replacements[ReplacementsKeys.DestinationDirectoryKey] = _nonExistantDir; _replacements[ReplacementsKeys.SolutionDirectoryKey] = _nonExistantDir; GoogleTemplateWizardHelper.CleanupDirectories(_replacements); }
public void TestCleanupDirectoriesNonExclusive() { _replacements[ReplacementsKeys.ExclusiveProjectKey] = bool.FalseString; GoogleTemplateWizardHelper.CleanupDirectories(_replacements); Assert.IsFalse(Directory.Exists(_projectDir)); Assert.IsTrue(Directory.Exists(_solutionDir)); }