Search in sources :

Example 1 with ReadAnalysisSubmissionPermission

use of ca.corefacility.bioinformatics.irida.security.permissions.analysis.ReadAnalysisSubmissionPermission in project irida by phac-nml.

the class ReadAnalysisSubmissionPermissionTest method setUp.

/**
 * Setup for tests
 */
@Before
public void setUp() {
    MockitoAnnotations.initMocks(this);
    readAnalysisSubmissionPermission = new ReadAnalysisSubmissionPermission(analysisSubmissionRepository, userRepository, sequencingObjectRepository, seqObjectPermission, pasRepository, readProjectPermission);
    inputSingleFiles = Sets.newHashSet(new SingleEndSequenceFile(new SequenceFile()));
}
Also used : ReadAnalysisSubmissionPermission(ca.corefacility.bioinformatics.irida.security.permissions.analysis.ReadAnalysisSubmissionPermission) SequenceFile(ca.corefacility.bioinformatics.irida.model.sequenceFile.SequenceFile) SingleEndSequenceFile(ca.corefacility.bioinformatics.irida.model.sequenceFile.SingleEndSequenceFile) SingleEndSequenceFile(ca.corefacility.bioinformatics.irida.model.sequenceFile.SingleEndSequenceFile) Before(org.junit.Before)

Aggregations

SequenceFile (ca.corefacility.bioinformatics.irida.model.sequenceFile.SequenceFile)1 SingleEndSequenceFile (ca.corefacility.bioinformatics.irida.model.sequenceFile.SingleEndSequenceFile)1 ReadAnalysisSubmissionPermission (ca.corefacility.bioinformatics.irida.security.permissions.analysis.ReadAnalysisSubmissionPermission)1 Before (org.junit.Before)1