예제 #1
0
 public TestGroupFactory(ITestRepository testRepository, ITestGroupRepository testGroupRepository,
     TestFactory testFactory)
 {
     _testRepository = testRepository;
     _testGroupRepository = testGroupRepository;
     _testFactory = testFactory;
 }
예제 #2
0
 public ProjectFactory(IProjectRepository projectRepository, ITestRepository testRepository,
      ITestGroupRepository testGroupRepository, TestFactory testFactory)
 {
     _projectRepository = projectRepository;
     _testRepository = testRepository;
     _testGroupRepository = testGroupRepository;
     _testFactory = testFactory;
 }
예제 #3
0
 public ValidateApiController()
 {
     //TODO Initalize from constructor
     _dataRepository = new DbRepositoryContext();
     _connectionFactory = new ConnectionFactory(_dataRepository.ConnectionRepository,
         _dataRepository.ConnectionProviderRepository);
     _testFactory = new TestFactory(_dataRepository.TestRepository, _dataRepository.TestTypeRepository,
         _dataRepository.ExpectedResultRepository, _dataRepository.AssertTypeRepository);
     _projectFactory = new ProjectFactory(_dataRepository.ProjectRepository, _dataRepository.TestRepository,
         _dataRepository.TestGroupRepository,
         _testFactory);
     _testGroupFactory = new TestGroupFactory(_dataRepository.TestRepository, _dataRepository.TestGroupRepository,
         _testFactory);
 }