Search in sources :

Example 1 with BuildFilterRepository

use of net.nemerosa.ontrack.repository.BuildFilterRepository in project ontrack by nemerosa.

the class BuildFilterServiceImplTest method before.

@Before
public void before() {
    BuildFilterRepository buildFilterRepository = mock(BuildFilterRepository.class);
    StructureService structureService = mock(StructureService.class);
    SecurityService securityService = mock(SecurityService.class);
    service = new BuildFilterServiceImpl(Collections.singletonList(new StandardBuildFilterProvider(structureService, mock(ValidationRunStatusService.class), mock(PropertyService.class), mock(CoreBuildFilterRepository.class))), buildFilterRepository, structureService, securityService);
}
Also used : CoreBuildFilterRepository(net.nemerosa.ontrack.repository.CoreBuildFilterRepository) BuildFilterRepository(net.nemerosa.ontrack.repository.BuildFilterRepository) SecurityService(net.nemerosa.ontrack.model.security.SecurityService) StructureService(net.nemerosa.ontrack.model.structure.StructureService) Before(org.junit.Before)

Aggregations

SecurityService (net.nemerosa.ontrack.model.security.SecurityService)1 StructureService (net.nemerosa.ontrack.model.structure.StructureService)1 BuildFilterRepository (net.nemerosa.ontrack.repository.BuildFilterRepository)1 CoreBuildFilterRepository (net.nemerosa.ontrack.repository.CoreBuildFilterRepository)1 Before (org.junit.Before)1