Search in sources :

Example 1 with Cleanup

use of com.hartwig.pipeline.cleanup.Cleanup in project pipeline5 by hartwigmedical.

the class FullPipelineTest method setUp.

@Before
public void setUp() throws Exception {
    reference = mock(SingleSamplePipeline.class);
    tumor = mock(SingleSamplePipeline.class);
    somatic = mock(SomaticPipeline.class);
    cleanup = mock(Cleanup.class);
    api = mock(SomaticMetadataApi.class);
    when(api.get()).thenReturn(METADATA);
    referenceListener = new SingleSampleEventListener();
    tumorListener = new SingleSampleEventListener();
    victim = new FullPipeline(reference, tumor, somatic, Executors.newCachedThreadPool(), referenceListener, tumorListener, api, cleanup);
}
Also used : SomaticMetadataApi(com.hartwig.pipeline.metadata.SomaticMetadataApi) SingleSampleEventListener(com.hartwig.pipeline.metadata.SingleSampleEventListener) Cleanup(com.hartwig.pipeline.cleanup.Cleanup) Before(org.junit.Before)

Aggregations

Cleanup (com.hartwig.pipeline.cleanup.Cleanup)1 SingleSampleEventListener (com.hartwig.pipeline.metadata.SingleSampleEventListener)1 SomaticMetadataApi (com.hartwig.pipeline.metadata.SomaticMetadataApi)1 Before (org.junit.Before)1