use of org.jboss.pnc.bacon.pig.impl.pnc.BuildConfigData in project bacon by project-ncl.
the class EmptyProjectBuildTest method shouldConfigureEmptyProject.
@Test
void shouldConfigureEmptyProject(@TempDir Path targetDir) {
String suffix = init(Paths.get("src", "test", "resources", "empty"), true, Optional.empty(), targetDir);
ImportResult importResult = PigFacade.configure(true, false);
assertThat(importResult.getBuildGroup().getId()).isNotNull();
assertThat(importResult.getBuildConfigs()).hasSize(2);
assertThat(importResult.getBuildConfigs().stream().map(BuildConfigData::getName)).contains(format(emptyNameBase1, suffix), format(emptyNameBase2, suffix));
}
Aggregations