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 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 ConfigurationTransformsBehaviour(ICalamariFileSystem fileSystem, IConfigurationTransformer configurationTransformer, ITransformFileLocator transformFileLocator, ILog log) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; this.transformFileLocator = transformFileLocator; this.log = log; }
public void SetUp() { fileSystem = new WindowsPhysicalFileSystem(); configurationTransformer = Substitute.For <IConfigurationTransformer>(); transformFileLocator = new TransformFileLocator(fileSystem); var deployDirectory = BuildConfigPath(null); variables = new CalamariVariableDictionary(); variables.Set(SpecialVariables.OriginalPackageDirectoryPath, deployDirectory); deployment = new RunningDeployment(deployDirectory, variables); logs = new ProxyLog(); }
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, ITransformFileLocator transformFileLocator) { this.fileSystem = fileSystem; this.configurationTransformer = configurationTransformer; this.transformFileLocator = transformFileLocator; }