Search in sources :

Example 1 with TwoPipelineGroups

use of com.thoughtworks.go.fixture.TwoPipelineGroups in project gocd by gocd.

the class AutoSchedulerIntegrationTest method setUp.

@Before
public void setUp() throws Exception {
    GoConfigFileHelper configFileHelper = new GoConfigFileHelper().usingCruiseConfigDao(goConfigDao);
    dbHelper.onSetUp();
    configFileHelper.onSetUp();
    configFileHelper.usingCruiseConfigDao(goConfigDao);
    configWithFreeEditionLicense = new ConfigWithFreeEditionLicense(configFileHelper);
    configWithFreeEditionLicense.onSetUp();
    configService.forceNotifyListeners();
    twoPipelineGroups = new TwoPipelineGroups(configFileHelper, temporaryFolder);
    twoPipelineGroups.onSetUp();
    serverHealthService.removeAllLogs();
}
Also used : TwoPipelineGroups(com.thoughtworks.go.fixture.TwoPipelineGroups) ConfigWithFreeEditionLicense(com.thoughtworks.go.fixture.ConfigWithFreeEditionLicense) GoConfigFileHelper(com.thoughtworks.go.util.GoConfigFileHelper) Before(org.junit.Before)

Aggregations

ConfigWithFreeEditionLicense (com.thoughtworks.go.fixture.ConfigWithFreeEditionLicense)1 TwoPipelineGroups (com.thoughtworks.go.fixture.TwoPipelineGroups)1 GoConfigFileHelper (com.thoughtworks.go.util.GoConfigFileHelper)1 Before (org.junit.Before)1