use of com.thoughtworks.go.fixture.SchedulerFixture in project gocd by gocd.
the class ScheduleServiceStageTriggerTest method setUp.
@Before
public void setUp() throws Exception {
preCondition = new PipelineWithTwoStages(materialRepository, transactionTemplate, temporaryFolder);
configHelper.onSetUp();
configHelper.usingCruiseConfigDao(goConfigDao);
dbHelper.onSetUp();
preCondition.usingConfigHelper(configHelper).usingDbHelper(dbHelper).onSetUp();
schedulerFixture = new SchedulerFixture(dbHelper, stageDao, scheduleService);
}
use of com.thoughtworks.go.fixture.SchedulerFixture in project gocd by gocd.
the class JobInstanceServiceIntegrationTest method setUp.
@Before
public void setUp() throws Exception {
dbHelper.onSetUp();
pipelineFixture = new PipelineWithTwoStages(materialRepository, transactionTemplate, temporaryFolder);
configHelper.onSetUp();
configHelper.usingCruiseConfigDao(goConfigDao);
pipelineFixture.usingConfigHelper(configHelper).usingDbHelper(dbHelper).onSetUp();
schedulerFixture = new SchedulerFixture(dbHelper, stageDao, scheduleService);
}
Aggregations