use of net.nemerosa.ontrack.model.structure.StructureService in project ontrack by nemerosa.
the class StandardBuildFilterProviderTest method before.
@Before
public void before() {
StructureService structureService = mock(StructureService.class);
ValidationRunStatusService validationRunStatusService = mock(ValidationRunStatusService.class);
PropertyService propertyService = mock(PropertyService.class);
CoreBuildFilterRepository coreBuildFilterRepository = mock(CoreBuildFilterRepository.class);
provider = new StandardBuildFilterProvider(structureService, validationRunStatusService, propertyService, coreBuildFilterRepository);
}
use of net.nemerosa.ontrack.model.structure.StructureService in project ontrack by nemerosa.
the class MetaInfoSearchExtensionTest method before.
@Before
public void before() {
propertyService = mock(PropertyService.class);
StructureService structureService = mock(StructureService.class);
extension = new MetaInfoSearchExtension(new GeneralExtensionFeature(), new MockURIBuilder(), propertyService, structureService);
}
use of net.nemerosa.ontrack.model.structure.StructureService in project ontrack by nemerosa.
the class BuildLinkSearchExtensionTest method before.
@Before
public void before() {
StructureService structureService = mock(StructureService.class);
extension = new BuildLinkSearchExtension(new GeneralExtensionFeature(), new MockURIBuilder(), structureService);
}
use of net.nemerosa.ontrack.model.structure.StructureService 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);
}
Aggregations