Search in sources :

Example 1 with GraphGenerator

use of com.thoughtworks.go.helpers.GraphGenerator in project gocd by gocd.

the class ValueStreamMapPerformanceTest method setup.

@Before
public void setup() throws Exception {
    configHelper = new GoConfigFileHelper();
    dbHelper.onSetUp();
    configHelper.usingCruiseConfigDao(goConfigDao).initializeConfigFile();
    configHelper.onSetUp();
    goConfigService.forceNotifyListeners();
    u = new ScheduleTestUtil(transactionTemplate, materialRepository, dbHelper, configHelper);
    graphGenerator = new GraphGenerator(configHelper, u);
}
Also used : GraphGenerator(com.thoughtworks.go.helpers.GraphGenerator) GoConfigFileHelper(com.thoughtworks.go.util.GoConfigFileHelper) Before(org.junit.Before)

Example 2 with GraphGenerator

use of com.thoughtworks.go.helpers.GraphGenerator in project gocd by gocd.

the class FanInPerformanceTest method setup.

@Before
public void setup() throws Exception {
    goCache.clear();
    configHelper.usingCruiseConfigDao(goConfigFileDao).initializeConfigFile();
    configHelper.onSetUp();
    dbHelper.onSetUp();
    u = new ScheduleTestUtil(transactionTemplate, materialRepository, dbHelper, configHelper);
    graphGenerator = new GraphGenerator(configHelper, u);
}
Also used : GraphGenerator(com.thoughtworks.go.helpers.GraphGenerator) Before(org.junit.Before)

Aggregations

GraphGenerator (com.thoughtworks.go.helpers.GraphGenerator)2 Before (org.junit.Before)2 GoConfigFileHelper (com.thoughtworks.go.util.GoConfigFileHelper)1