use of ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisRepository in project irida by phac-nml.
the class SampleServiceImplTest method setUp.
@Before
public void setUp() {
sampleRepository = mock(SampleRepository.class);
psjRepository = mock(ProjectSampleJoinRepository.class);
analysisRepository = mock(AnalysisRepository.class);
ssoRepository = mock(SampleSequencingObjectJoinRepository.class);
qcEntryRepository = mock(QCEntryRepository.class);
sequencingObjectRepository = mock(SequencingObjectRepository.class);
sampleGenomeAssemblyJoinRepository = mock(SampleGenomeAssemblyJoinRepository.class);
ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
validator = factory.getValidator();
sampleService = new SampleServiceImpl(sampleRepository, psjRepository, analysisRepository, ssoRepository, qcEntryRepository, sequencingObjectRepository, sampleGenomeAssemblyJoinRepository, userRepository, validator);
}
use of ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisRepository in project irida by phac-nml.
the class CoverageFileProcessorTest method setup.
@Before
public void setup() {
qcEntryRepository = mock(QCEntryRepository.class);
analysisRepository = mock(AnalysisRepository.class);
processor = new CoverageFileProcessor(qcEntryRepository, analysisRepository);
}
use of ca.corefacility.bioinformatics.irida.repositories.analysis.AnalysisRepository in project irida by phac-nml.
the class AnalysisServiceTest method setUp.
@Before
public void setUp() {
this.analysisRepository = mock(AnalysisRepository.class);
this.analysisOutputFileRepository = mock(AnalysisOutputFileRepository.class);
this.validator = mock(Validator.class);
this.analysisService = new AnalysisServiceImpl(analysisRepository, analysisOutputFileRepository, validator);
}
Aggregations