Search in sources :

Example 1 with AnalysisController

use of ca.corefacility.bioinformatics.irida.ria.web.analysis.AnalysisController in project irida by phac-nml.

the class AnalysisControllerTest method init.

@Before
public void init() {
    analysisSubmissionServiceMock = mock(AnalysisSubmissionService.class);
    iridaWorkflowsServiceMock = mock(IridaWorkflowsService.class);
    projectServiceMock = mock(ProjectService.class);
    updatePermission = mock(UpdateAnalysisSubmissionPermission.class);
    sampleService = mock(SampleService.class);
    sequencingObjectService = mock(SequencingObjectService.class);
    analysesListingService = mock(AnalysesListingService.class);
    MessageSource messageSourceMock = mock(MessageSource.class);
    analysisController = new AnalysisController(analysisSubmissionServiceMock, iridaWorkflowsServiceMock, userServiceMock, sampleService, projectServiceMock, updatePermission, metadataTemplateService, sequencingObjectService, analysesListingService, messageSourceMock);
}
Also used : AnalysesListingService(ca.corefacility.bioinformatics.irida.ria.web.services.AnalysesListingService) SequencingObjectService(ca.corefacility.bioinformatics.irida.service.SequencingObjectService) SampleService(ca.corefacility.bioinformatics.irida.service.sample.SampleService) AnalysisSubmissionService(ca.corefacility.bioinformatics.irida.service.AnalysisSubmissionService) IridaWorkflowsService(ca.corefacility.bioinformatics.irida.service.workflow.IridaWorkflowsService) ProjectService(ca.corefacility.bioinformatics.irida.service.ProjectService) MessageSource(org.springframework.context.MessageSource) UpdateAnalysisSubmissionPermission(ca.corefacility.bioinformatics.irida.security.permissions.analysis.UpdateAnalysisSubmissionPermission) AnalysisController(ca.corefacility.bioinformatics.irida.ria.web.analysis.AnalysisController) Before(org.junit.Before)

Aggregations

AnalysisController (ca.corefacility.bioinformatics.irida.ria.web.analysis.AnalysisController)1 AnalysesListingService (ca.corefacility.bioinformatics.irida.ria.web.services.AnalysesListingService)1 UpdateAnalysisSubmissionPermission (ca.corefacility.bioinformatics.irida.security.permissions.analysis.UpdateAnalysisSubmissionPermission)1 AnalysisSubmissionService (ca.corefacility.bioinformatics.irida.service.AnalysisSubmissionService)1 ProjectService (ca.corefacility.bioinformatics.irida.service.ProjectService)1 SequencingObjectService (ca.corefacility.bioinformatics.irida.service.SequencingObjectService)1 SampleService (ca.corefacility.bioinformatics.irida.service.sample.SampleService)1 IridaWorkflowsService (ca.corefacility.bioinformatics.irida.service.workflow.IridaWorkflowsService)1 Before (org.junit.Before)1 MessageSource (org.springframework.context.MessageSource)1