Search in sources :

Example 1 with SequenceFileRepository

use of ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository in project irida by phac-nml.

the class GzipFileProcessorTest method setUp.

@Before
public void setUp() {
    sequenceFileRepository = mock(SequenceFileRepository.class);
    fileProcessor = new GzipFileProcessor(sequenceFileRepository, Boolean.FALSE);
}
Also used : GzipFileProcessor(ca.corefacility.bioinformatics.irida.processing.impl.GzipFileProcessor) SequenceFileRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository) Before(org.junit.Before)

Example 2 with SequenceFileRepository

use of ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository in project irida by phac-nml.

the class SequencingObjectServiceTest method setUp.

@Before
public void setUp() {
    repository = mock(SequencingObjectRepository.class);
    sequenceFileRepository = mock(SequenceFileRepository.class);
    ssoRepository = mock(SampleSequencingObjectJoinRepository.class);
    executor = mock(TaskExecutor.class);
    fileProcessingChain = mock(FileProcessingChain.class);
    concatenationRepository = mock(SequenceConcatenationRepository.class);
    service = new SequencingObjectServiceImpl(repository, sequenceFileRepository, ssoRepository, concatenationRepository, executor, fileProcessingChain, validator);
}
Also used : TaskExecutor(org.springframework.core.task.TaskExecutor) SequenceConcatenationRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceConcatenationRepository) SequencingObjectRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequencingObjectRepository) SequenceFileRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository) SequencingObjectServiceImpl(ca.corefacility.bioinformatics.irida.service.impl.SequencingObjectServiceImpl) SampleSequencingObjectJoinRepository(ca.corefacility.bioinformatics.irida.repositories.joins.sample.SampleSequencingObjectJoinRepository) FileProcessingChain(ca.corefacility.bioinformatics.irida.processing.FileProcessingChain) Before(org.junit.Before)

Example 3 with SequenceFileRepository

use of ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository in project irida by phac-nml.

the class ChecksumFileProcessorTest method setUp.

@Before
public void setUp() {
    sequenceFileRepository = mock(SequenceFileRepository.class);
    fileProcessor = new ChecksumFileProcessor(sequenceFileRepository);
}
Also used : SequenceFileRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository) ChecksumFileProcessor(ca.corefacility.bioinformatics.irida.processing.impl.ChecksumFileProcessor) Before(org.junit.Before)

Example 4 with SequenceFileRepository

use of ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository in project irida by phac-nml.

the class FastqcFileProcessorTest method setUp.

@Before
public void setUp() {
    messageSource = mock(MessageSource.class);
    sequenceFileRepository = mock(SequenceFileRepository.class);
    fileProcessor = new FastqcFileProcessor(messageSource, sequenceFileRepository);
}
Also used : FastqcFileProcessor(ca.corefacility.bioinformatics.irida.processing.impl.FastqcFileProcessor) SequenceFileRepository(ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository) MessageSource(org.springframework.context.MessageSource) Before(org.junit.Before)

Aggregations

SequenceFileRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceFileRepository)4 Before (org.junit.Before)4 FileProcessingChain (ca.corefacility.bioinformatics.irida.processing.FileProcessingChain)1 ChecksumFileProcessor (ca.corefacility.bioinformatics.irida.processing.impl.ChecksumFileProcessor)1 FastqcFileProcessor (ca.corefacility.bioinformatics.irida.processing.impl.FastqcFileProcessor)1 GzipFileProcessor (ca.corefacility.bioinformatics.irida.processing.impl.GzipFileProcessor)1 SampleSequencingObjectJoinRepository (ca.corefacility.bioinformatics.irida.repositories.joins.sample.SampleSequencingObjectJoinRepository)1 SequenceConcatenationRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequenceConcatenationRepository)1 SequencingObjectRepository (ca.corefacility.bioinformatics.irida.repositories.sequencefile.SequencingObjectRepository)1 SequencingObjectServiceImpl (ca.corefacility.bioinformatics.irida.service.impl.SequencingObjectServiceImpl)1 MessageSource (org.springframework.context.MessageSource)1 TaskExecutor (org.springframework.core.task.TaskExecutor)1