use of com.thoughtworks.go.util.GoConfigFileHelper in project gocd by gocd.
the class GoConfigServiceIntegrationTest method setup.
@BeforeEach
public void setup() throws Exception {
configHelper = new GoConfigFileHelper();
dbHelper.onSetUp();
configHelper.usingCruiseConfigDao(goConfigDao);
configHelper.onSetUp();
goConfigService.forceNotifyListeners();
setupMetadataForPlugin();
}
use of com.thoughtworks.go.util.GoConfigFileHelper in project gocd by gocd.
the class GoDashboardServiceIntegrationTest method setup.
@BeforeEach
public void setup() throws Exception {
configHelper = new GoConfigFileHelper();
dbHelper.onSetUp();
configHelper.usingCruiseConfigDao(goConfigDao);
configHelper.onSetUp();
goConfigService.forceNotifyListeners();
u = new ScheduleTestUtil(transactionTemplate, materialRepository, dbHelper, configHelper);
currentStateLoader.reset();
}
use of com.thoughtworks.go.util.GoConfigFileHelper in project gocd by gocd.
the class ConfigSaveDeadlockDetectionIntegrationTest method setup.
@BeforeEach
public void setup() throws Exception {
configHelper = new GoConfigFileHelper(ConfigFileFixture.XML_WITH_SINGLE_ENVIRONMENT);
configHelper.usingCruiseConfigDao(goConfigDao);
configHelper.onSetUp();
goConfigService.forceNotifyListeners();
}
use of com.thoughtworks.go.util.GoConfigFileHelper in project gocd by gocd.
the class PermissionsServiceIntegrationTest method setUp.
@BeforeEach
public void setUp() throws Exception {
configHelper = new GoConfigFileHelper();
configHelper.usingCruiseConfigDao(goConfigDao);
configHelper.onSetUp();
goConfigService.forceNotifyListeners();
}
use of com.thoughtworks.go.util.GoConfigFileHelper in project gocd by gocd.
the class ChangesetServiceIntegrationTest method setUp.
@BeforeEach
public void setUp() throws Exception {
dbHelper.onSetUp();
configHelper = new GoConfigFileHelper(goConfigDao);
configHelper.onSetUp();
git = MaterialsMother.gitMaterial("http://google.com", null, "master");
git.setFolder("git");
hg = MaterialsMother.hgMaterial();
hg.setFolder("hg");
svn = MaterialsMother.svnMaterial("http://google.com/svn");
svn.setFolder("svn");
pipelineConfig = configHelper.addPipeline("foo-bar", "stage", new MaterialConfigs(hg.config()), "build");
pipelineConfigWithTwoMaterials = configHelper.addPipeline("foo", "stage", new MaterialConfigs(git.config(), hg.config()), "build");
pipelineConfigWithSvn = configHelper.addPipeline("bar", "stage", new MaterialConfigs(svn.config()), "build");
notifier.disableUpdates();
}
Aggregations