예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GitReleaseManagerTool{TSettings}"/> class.
 /// </summary>
 /// <param name="fileSystem">The file system.</param>
 /// <param name="environment">The environment.</param>
 /// <param name="processRunner">The process runner.</param>
 /// <param name="globber">The globber.</param>
 /// <param name="resolver">The GitReleaseManager tool resolver.</param>
 protected GitReleaseManagerTool(
     IFileSystem fileSystem,
     ICakeEnvironment environment,
     IProcessRunner processRunner,
     IGlobber globber,
     IGitReleaseManagerToolResolver resolver)
     : base(fileSystem, environment, processRunner, globber)
 {
     _resolver = resolver;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GitReleaseManagerPublisher"/> class.
 /// </summary>
 /// <param name="fileSystem">The file system.</param>
 /// <param name="environment">The environment.</param>
 /// <param name="processRunner">The process runner.</param>
 /// <param name="globber">The globber.</param>
 /// <param name="resolver">The GitReleaseManager tool resolver.</param>
 public GitReleaseManagerPublisher(IFileSystem fileSystem, ICakeEnvironment environment,
                                   IProcessRunner processRunner, IGlobber globber, IGitReleaseManagerToolResolver resolver)
     : base(fileSystem, environment, processRunner, globber, resolver)
 {
     _environment = environment;
 }
예제 #3
0
 protected GitReleaseManagerFixture()
     : base("GitReleaseManager.exe")
 {
     Log      = Substitute.For <ICakeLog>();
     Resolver = Substitute.For <IGitReleaseManagerToolResolver>();
 }