internal SvnVacuumFixture() { Environment = Substitute.For <ICakeEnvironment>(); SvnClient = Substitute.For <ISvnClient>(); Settings = new SvnVacuumSettings(); DirectoryPath = new DirectoryPath(@"C:\test\"); GetSvnClient = () => SvnClient; }
public void Should_Not_Set_Include_Externals_By_Default() { // Given, When var settings = new SvnVacuumSettings(); // Then Assert.False(settings.IncludeExternals); }
/// <inheritdoc/> public bool Vacuum(string directoryPath, SvnVacuumSettings settings) { return(Vacuum(directoryPath, settings.ToSvnVacuumArgs())); }
public static bool SvnVacuum(this ICakeContext context, DirectoryPath directory, SvnVacuumSettings settings) { var vacuum = new SvnVacuum(context.Environment, SvnClientFactoryMethod); return(vacuum.Vacuum(directory, settings)); }