use of org.jboss.pnc.dto.response.AlignmentParameters in project pnc by project-ncl.
the class BuildConfigurationEndpointTest method testGetBuildTypeDefaultAlignmentParameters.
@Test
public void testGetBuildTypeDefaultAlignmentParameters() throws RemoteResourceException {
BuildConfigurationClient client = new BuildConfigurationClient(RestClientConfiguration.asAnonymous());
for (BuildType buildType : BuildType.values()) {
AlignmentParameters params = client.getBuildTypeDefaultAlignmentParameters(buildType.name());
// NPM and SBT default alignment params are empty
if (!BuildType.NPM.equals(buildType) && !BuildType.SBT.equals(buildType)) {
assertThat(params.getParameters()).isNotEmpty();
assertThat(params.getBuildType()).isNotEmpty();
}
}
}
Aggregations