Search in sources :

Example 1 with ServiceHolder

use of org.eclipse.scanning.points.ServiceHolder in project gda-core by openGDA.

the class ScanRequestConverterTest method setUpClass.

@BeforeClass
public static void setUpClass() {
    final ServiceHolder serviceHolder = new ServiceHolder();
    serviceHolder.setValidatorService(new ValidatorService());
    serviceHolder.setPointGeneratorService(new PointGeneratorService());
}
Also used : ValidatorService(org.eclipse.scanning.points.validation.ValidatorService) ServiceHolder(org.eclipse.scanning.points.ServiceHolder) PointGeneratorService(org.eclipse.scanning.points.PointGeneratorService) IPointGeneratorService(org.eclipse.scanning.api.points.IPointGeneratorService) BeforeClass(org.junit.BeforeClass)

Aggregations

IPointGeneratorService (org.eclipse.scanning.api.points.IPointGeneratorService)1 PointGeneratorService (org.eclipse.scanning.points.PointGeneratorService)1 ServiceHolder (org.eclipse.scanning.points.ServiceHolder)1 ValidatorService (org.eclipse.scanning.points.validation.ValidatorService)1 BeforeClass (org.junit.BeforeClass)1