public TaskDelegationRepoTests() { EFContext efContext = new EFContext(); _taskRepo = new TaskDelegationRepository(efContext); efContext.PurgeData(); }
public ExclusionCriterionRepoTests() { var efContext = new EFContext(); _repo = new ExclusionCriterionRepository(efContext); efContext.PurgeData(); }
public StudyRepoTests() { var context = new EFContext(); _repository = new StudyRepository(context); context.PurgeData(); }
public ClassificationCriterionRepoTests() { EFContext efContext = new EFContext(); _classificationCriterionRepository = new ClassificationCriterionRepository(efContext); efContext.PurgeData(); }
public FieldRepoTests() { _context = new EFContext(); _repository = new FieldRepository(_context); _context.PurgeData(); _fieldDto = new FieldDTO { Id = 8, Name = "hello", Description = "something", Type = FieldType.BOOL }; }
public UserRepoTests() { var context = new EFContext(); _repository = new UserRepository(context); context.PurgeData(); _userDto = new UserDTO() { Id = 100, Name = "Lucas" }; }
public StudyLogicIntegrationTests() { var efContext = new EFContext(); _repo = new StudyRepository(efContext); _studyDTO = new StudyDTO() { Id = 1 }; efContext.PurgeData(); }
public PhaseLogicIntegrationTests() { var efContext = new EFContext(); _phaseDtoRepository = new PhaseRepository(efContext); _studyDtoRepository = new StudyRepository(efContext); _taskDtoRepository = new TaskRepository(efContext); _taskDelegationRepository = new TaskDelegationRepository(efContext); _phaseLogic = new PhaseLogic(_phaseDtoRepository, _studyDtoRepository, _taskDelegationRepository, _taskDtoRepository); efContext.PurgeData(); }
public TaskLogicIntegrationTest() { var efContext = new EFContext(); _taskRepo = new TaskRepository(efContext); _userRepo = new UserRepository(efContext); _studyRepo = new StudyRepository(efContext); _answerRepo = new AnswerRepository(efContext); _phaseRepository = new PhaseRepository(efContext); _fieldRepository = new FieldRepository(efContext); _taskDelegationRepository = new TaskDelegationRepository(efContext); efContext.PurgeData(); }
public DataRepoTests() { _context = new EFContext(); _repository = new DataRepository(_context); _context.PurgeData(); }
public AnswerRepoTests() { _context = new EFContext(); _answerRepo = new AnswerRepository(_context); _context.PurgeData(); }