Example #1
0
 public TestGroupFactory(ITestRepository testRepository, ITestGroupRepository testGroupRepository,
     TestFactory testFactory)
 {
     _testRepository = testRepository;
     _testGroupRepository = testGroupRepository;
     _testFactory = testFactory;
 }
Example #2
0
 public TestGroupFactory(ITestRepository testRepository, ITestGroupRepository testGroupRepository,
                         TestFactory testFactory)
 {
     _testRepository      = testRepository;
     _testGroupRepository = testGroupRepository;
     _testFactory         = testFactory;
 }
Example #3
0
 public TestController(ITestRepository dbTestRepository, ITestTypeRepository dbTestTypeRepository,
                       IProjectRepository dbProjectRepository, ITestGroupRepository dbTestGroupRepository)
 {
     _dbTestRepository      = dbTestRepository;
     _dbTestTypeRepository  = dbTestTypeRepository;
     _dbProjectRepository   = dbProjectRepository;
     _dbTestGroupRepository = dbTestGroupRepository;
 }
Example #4
0
 public ProjectFactory(IProjectRepository projectRepository, ITestRepository testRepository,
      ITestGroupRepository testGroupRepository, TestFactory testFactory)
 {
     _projectRepository = projectRepository;
     _testRepository = testRepository;
     _testGroupRepository = testGroupRepository;
     _testFactory = testFactory;
 }
Example #5
0
 public ProjectFactory(IProjectRepository projectRepository, ITestRepository testRepository,
                       ITestGroupRepository testGroupRepository, TestFactory testFactory)
 {
     _projectRepository   = projectRepository;
     _testRepository      = testRepository;
     _testGroupRepository = testGroupRepository;
     _testFactory         = testFactory;
 }
Example #6
0
 public TestController(ITestRepository dbTestRepository, ITestTypeRepository dbTestTypeRepository,
     IProjectRepository dbProjectRepository, ITestGroupRepository dbTestGroupRepository)
 {
     _dbTestRepository = dbTestRepository;
     _dbTestTypeRepository = dbTestTypeRepository;
     _dbProjectRepository = dbProjectRepository;
     _dbTestGroupRepository = dbTestGroupRepository;
 }
Example #7
0
 public static Test IncludeTestGroup(this Test test, ITestGroupRepository testGroupRepository)
 {
     if (test.TestGroup != null)
     {
         return(test);
     }
     test.TestGroup = testGroupRepository.GetDataById((int)test.GroupId).ToList().First();
     return(test);
 }
Example #8
0
 public static Project IncludeTestGroups(this Project project, ITestGroupRepository testGroupRepository)
 {
     if (project.TestGroups != null)
     {
         return(project);
     }
     project.TestGroups = (TestGroupList)testGroupRepository.GetDataByProjectId(project.ProjectId);
     return(project);
 }
Example #9
0
 public static Test IncludeTestGroup(this Test test, ITestGroupRepository testGroupRepository)
 {
     if (test.TestGroup != null) return test;
     test.TestGroup = testGroupRepository.GetDataById((int) test.GroupId).ToList().First();
     return test;
 }
Example #10
0
 public TestGroupApiController(ITestGroupRepository dbRepository)
 {
     _dbRepository = dbRepository;
 }
Example #11
0
 public static Project IncludeTestGroups(this Project project, ITestGroupRepository testGroupRepository)
 {
     if (project.TestGroups != null) return project;
     project.TestGroups = (TestGroupList) testGroupRepository.GetDataByProjectId(project.ProjectId);
     return project;
 }
 public TestGroupApiController(ITestGroupRepository dbRepository)
 {
     _dbRepository = dbRepository;
 }