public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log = null) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; this.transformFileLocator = transformFileLocator; this.log = log ?? ConsoleLog.Instance; }
public ConfigurationTransformsBehaviour(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; this.transformFileLocator = transformFileLocator; this.log = log; }
public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log = null) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; this.transformFileLocator = transformFileLocator; this.log = log ?? new LogWrapper(); }
public void SetUp() { fileSystem = Substitute.For<ICalamariFileSystem>(); configurationTransformer = Substitute.For<IConfigurationTransformer>(); variables = new CalamariVariableDictionary(); variables.Set(SpecialVariables.OriginalPackageDirectoryPath, stagingDirectory); deployment = new RunningDeployment("C:\\packages", variables); }
public void SetUp() { fileSystem = Substitute.For <ICalamariFileSystem>(); configurationTransformer = Substitute.For <IConfigurationTransformer>(); variables = new VariableDictionary(); variables.Set(SpecialVariables.OriginalPackageDirectoryPath, stagingDirectory); deployment = new RunningDeployment("C:\\packages", variables); }
public void SetUp() { fileSystem = new WindowsPhysicalFileSystem(); configurationTransformer = Substitute.For<IConfigurationTransformer>(); var deployDirectory = BuildConfigPath(null); variables = new CalamariVariableDictionary(); variables.Set(SpecialVariables.OriginalPackageDirectoryPath, deployDirectory); deployment = new RunningDeployment(deployDirectory, variables); }
public void SetUp() { fileSystem = new WindowsPhysicalFileSystem(); configurationTransformer = Substitute.For <IConfigurationTransformer>(); var deployDirectory = BuildConfigPath(null); variables = new CalamariVariableDictionary(); variables.Set(SpecialVariables.OriginalPackageDirectoryPath, deployDirectory); deployment = new RunningDeployment(deployDirectory, variables); }
public void SetUp() { fileSystem = CalamariPhysicalFileSystem.GetPhysicalFileSystem(); configurationTransformer = Substitute.For <IConfigurationTransformer>(); transformFileLocator = new TransformFileLocator(fileSystem); var deployDirectory = BuildConfigPath(null); variables = new CalamariVariables(); variables.Set(SpecialVariables.Package.EnabledFeatures, SpecialVariables.Features.ConfigurationTransforms); variables.Set(KnownVariables.OriginalPackageDirectoryPath, deployDirectory); deployment = new RunningDeployment(deployDirectory, variables); logs = new InMemoryLog(); }
public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; }
public ConfigurationTransformsConvention(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; this.transformFileLocator = transformFileLocator; }