Example #1
0
        public FakeOctopusRepository()
        {
            var fakeVariableSetRepository       = new FakeVariableSetRepository();
            var fakeDeploymentProcessRepository = new FakeDeploymentProcessRepository();
            var fakeProjectTriggersRepository   = new FakeProjectTriggersRepository();
            var fakeOctopusClient = new FakeOctopusClient();

            MachinePolicies     = new FakeMachinePolicyRepository();
            DeploymentProcesses = fakeDeploymentProcessRepository;
            ProjectGroups       = new FakeProjectGroupRepository();
            VariableSets        = fakeVariableSetRepository;
            LibraryVariableSets = new FakeLibraryVariableSetRepository(fakeVariableSetRepository);
            Projects            = new FakeProjectRepository(fakeVariableSetRepository, fakeDeploymentProcessRepository, fakeProjectTriggersRepository);
            Lifecycles          = new FakeLifecycleRepository();
            Environments        = new FakeEnvironmentRepository();
            MachineRoles        = new FakeMachineRoleRepository();
            Machines            = new FakeMachineRepository();
            UserRoles           = new FakeUserRolesRepository();
            Teams           = new FakeTeamsRepository();
            Users           = new FakeUsersRepository();
            ProjectTriggers = fakeProjectTriggersRepository;
            Channels        = new FakeChannelRepository();
            TagSets         = new FakeTagSetsRepository();
            Tenants         = new FakeTenantsRepository();
            Client          = fakeOctopusClient;
        }
Example #2
0
 public FakeLibraryVariableSetRepository(FakeVariableSetRepository variableSetRepository)
 {
     _variableSetRepository = variableSetRepository;
 }
Example #3
0
 public FakeProjectRepository(FakeVariableSetRepository variableSetRepository, FakeDeploymentProcessRepository deploymentProcessRepository)
 {
     _variableSetRepository       = variableSetRepository;
     _deploymentProcessRepository = deploymentProcessRepository;
 }
 public FakeLibraryVariableSetRepository(FakeVariableSetRepository fakeVariableSetRepository)
 {
     _fakeVariableSetRepository = fakeVariableSetRepository;
 }