use of org.jenkinsci.test.acceptance.plugins.config_file_provider.CustomConfig in project acceptance-test-harness by jenkinsci.
the class ConfigFileProviderTest method testCustomConfigFile.
@Test
public void testCustomConfigFile() {
final CustomConfig customConfig = this.createCustomConfig();
final String jobLog = this.createPipelineAndGetConsole(customConfig);
assertThat(jobLog, containsString(CUSTOM_CONF_CONTENT));
}
use of org.jenkinsci.test.acceptance.plugins.config_file_provider.CustomConfig in project acceptance-test-harness by jenkinsci.
the class ConfigFileProviderTest method createCustomConfig.
private CustomConfig createCustomConfig() {
final CustomConfig customConfig = new ConfigFileProvider(jenkins).addFile(CustomConfig.class);
customConfig.content(CUSTOM_CONF_CONTENT);
customConfig.save();
return customConfig;
}
Aggregations