protected ConfigInitWizardStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory)
 {
     Console     = console ?? throw new ArgumentNullException(nameof(console));
     FileSystem  = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
     Log         = log ?? throw new ArgumentNullException(nameof(log));
     StepFactory = stepFactory ?? throw new ArgumentNullException(nameof(stepFactory));
 }
Пример #2
0
 protected ConfigInitWizardStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory)
 {
     this.Console     = console.NotNull();
     this.FileSystem  = fileSystem.NotNull();
     this.Log         = log.NotNull();
     this.StepFactory = stepFactory.NotNull();
 }
Пример #3
0
        public void Setup()
        {
            fileSystem = new TestFileSystem();
            log        = new NullLog();

            options = Options.Create(new Arguments {
                ConfigFile = "my-config.yaml"
            });
            configFileLocator = new NamedConfigFileLocator(fileSystem, log, options);
            repoPath          = DefaultRepoPath;
            workingPath       = DefaultWorkingPath;
            stepFactory       = new ConfigInitStepFactory();

            ShouldlyConfiguration.ShouldMatchApprovedDefaults.LocateTestMethodUsingAttribute <TestAttribute>();
        }
Пример #4
0
 public ConfigureBranches(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #5
0
 public SetBranchTag(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #6
0
 public GitHubFlowStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #7
0
 public SetupBuildScripts(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #8
0
 public ConfigInitWizard(IConsole console, IConfigInitStepFactory stepFactory)
 {
     this.console     = console ?? throw new ArgumentNullException(nameof(console));
     this.stepFactory = stepFactory ?? throw new ArgumentNullException(nameof(stepFactory));
 }
 public AppveyorPublicPrivate(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #10
0
 public AppVeyorSetup(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #11
0
 public FinishedSetupStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #12
0
 public EditConfigStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #13
0
 public ConfigInitWizard(IConsole console, IConfigInitStepFactory stepFactory)
 {
     this.console     = console.NotNull();
     this.stepFactory = stepFactory.NotNull();
 }
 public AssemblyVersioningSchemeSetting(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #15
0
 public PickBranchingStrategyStep(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #16
0
 public SetNextVersion(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }
Пример #17
0
 public GlobalModeSetting(IConsole console, IFileSystem fileSystem, ILog log, IConfigInitStepFactory stepFactory) : base(console, fileSystem, log, stepFactory)
 {
 }