コード例 #1
0
 public FormBrowseController(IGitGpgController gitGpgController,
                             IRepositoryCurrentBranchNameProvider repositoryCurrentBranchNameProvider,
                             IInvalidRepositoryRemover invalidRepositoryRemover)
 {
     _gitGpgController = gitGpgController;
     _repositoryCurrentBranchNameProvider = repositoryCurrentBranchNameProvider;
     _invalidRepositoryRemover            = invalidRepositoryRemover;
 }
コード例 #2
0
        public void Setup()
        {
            _gitGpgController = Substitute.For <IGitGpgController>();
            _repositoryCurrentBranchNameProvider = Substitute.For <IRepositoryCurrentBranchNameProvider>();
            _invalidRepositoryRemover            = Substitute.For <IInvalidRepositoryRemover>();

            _controller = new FormBrowseController(_gitGpgController, _repositoryCurrentBranchNameProvider, _invalidRepositoryRemover);
        }
コード例 #3
0
 public FormBrowseController(IGitGpgController gitGpgController)
 {
     _gitGpgController = gitGpgController;
 }