public BuildNumberCalculatorTests()
 {
     var gitRepo = Substitute.For<IRepository>();
     _nextSemver = Substitute.For<INextSemverCalculator>();
     _lastTaggedReleaseFinder = Substitute.For<ILastTaggedReleaseFinder>();
     _gitHelper = Substitute.For<IGitHelper>();
     _buildServer = Substitute.For<IBuildServer>();
     _sut = new BuildNumberCalculator(_nextSemver, _lastTaggedReleaseFinder, _gitHelper, gitRepo, _buildServer);
 }
        public BuildNumberCalculatorTests()
        {
            var gitRepo = Substitute.For <IRepository>();

            _nextSemver = Substitute.For <INextSemverCalculator>();
            _lastTaggedReleaseFinder = Substitute.For <ILastTaggedReleaseFinder>();
            _gitHelper   = Substitute.For <IGitHelper>();
            _buildServer = Substitute.For <IBuildServer>();
            _sut         = new BuildNumberCalculator(_nextSemver, _lastTaggedReleaseFinder, _gitHelper, gitRepo, _buildServer);
        }
 public BuildNumberCalculator(
     INextSemverCalculator nextSemverCalculator,
     ILastTaggedReleaseFinder lastTaggedReleaseFinder,
     IGitHelper gitHelper, IRepository gitRepo, 
     IBuildServer buildServer)
 {
     _nextSemverCalculator = nextSemverCalculator;
     _lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     _gitHelper = gitHelper;
     _gitRepo = gitRepo;
     _buildServer = buildServer;
 }
Ejemplo n.º 4
0
 public BuildNumberCalculator(
     INextSemverCalculator nextSemverCalculator,
     ILastTaggedReleaseFinder lastTaggedReleaseFinder,
     IGitHelper gitHelper, IRepository gitRepo,
     IBuildServer buildServer)
 {
     _nextSemverCalculator    = nextSemverCalculator;
     _lastTaggedReleaseFinder = lastTaggedReleaseFinder;
     _gitHelper   = gitHelper;
     _gitRepo     = gitRepo;
     _buildServer = buildServer;
 }