use of org.jboss.pnc.spi.environment.EnvironmentDriverResult in project pnc by project-ncl.
the class BuildResultRestTest method shouldGetLimitedToStringWithSomeValues.
@Test
public void shouldGetLimitedToStringWithSomeValues() {
BuildResultRest buildResultRest = new BuildResultRest();
buildResultRest.setCompletionStatus(CompletionStatus.SUCCESS);
buildResultRest.setProcessException(null);
buildResultRest.setProcessLog(LOG);
buildResultRest.setBuildExecutionConfiguration(null);
buildResultRest.setBuildDriverResult(null);
buildResultRest.setRepositoryManagerResult(null);
EnvironmentDriverResult environmentDriverResult = new EnvironmentDriverResult(CompletionStatus.SUCCESS, "SUCCESS", Optional.empty());
buildResultRest.setEnvironmentDriverResult(environmentDriverResult);
buildResultRest.setRepourResult(new RepourResult(CompletionStatus.SUCCESS, "Repour Success", "org.jboss", "1.1.0.Final-redhat-1"));
buildResultRest.toString();
}
Aggregations