use of com.thoughtworks.go.fixture.PipelineWithTwoStages in project gocd by gocd.
the class AgentAssignmentTest method setUp.
@Before
public void setUp() throws Exception {
configHelper = new GoConfigFileHelper();
fixture = new PipelineWithTwoStages(materialRepository, transactionTemplate);
fixture.usingConfigHelper(configHelper).usingDbHelper(dbHelper).onSetUp();
agentAssignment.clear();
}
use of com.thoughtworks.go.fixture.PipelineWithTwoStages in project gocd by gocd.
the class RestfulServiceTest method setUp.
@Before
public void setUp() throws Exception {
fixture = new PipelineWithTwoStages(materialRepository, transactionTemplate);
configHelper = new GoConfigFileHelper().usingCruiseConfigDao(cruiseConfigDao);
configHelper.onSetUp();
dbHelper.onSetUp();
fixture.usingThreeJobs();
fixture.usingConfigHelper(configHelper).usingDbHelper(dbHelper).onSetUp();
}
use of com.thoughtworks.go.fixture.PipelineWithTwoStages in project gocd by gocd.
the class ScheduleServiceCachedIntegrationTest method setUp.
@Before
public void setUp() throws Exception {
preCondition = new PipelineWithTwoStages(materialRepository, transactionTemplate);
configHelper.usingCruiseConfigDao(goConfigDao);
configHelper.onSetUp();
dbHelper.onSetUp();
preCondition.usingConfigHelper(configHelper).usingDbHelper(dbHelper).onSetUp();
}
use of com.thoughtworks.go.fixture.PipelineWithTwoStages in project gocd by gocd.
the class ScheduleServiceStageTriggerTest method setUp.
@Before
public void setUp() throws Exception {
preCondition = new PipelineWithTwoStages(materialRepository, transactionTemplate);
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.PipelineWithTwoStages in project gocd by gocd.
the class ScheduleServiceSecurityTest method setUp.
@Before
public void setUp() throws Exception {
configHelper.onSetUp();
configHelper.usingCruiseConfigDao(goConfigDao);
dbHelper.onSetUp();
fixture = new PipelineWithTwoStages(materialRepository, transactionTemplate);
fixture.usingConfigHelper(configHelper).usingDbHelper(dbHelper).onSetUp();
}
Aggregations