Skip to content

Commit

Permalink
Merge pull request mosip#933 from Sohandey/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Sohandey authored Jul 27, 2023
2 parents 7b36aee + 1645b94 commit e434d64
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,15 @@ public static String getOutputValidationReport(Map<String, List<OutputValidation
+ " <td>" + dto.getExpValue() + "</td>\r\n" + " <td>" + dto.getActualValue()
+ "</td>\r\n" + " <td bgcolor='RED'>" + dto.getStatus() + "</td>\r\n" + " </tr>\r\n";
}
else if (dto.getStatus().equals("WARNING")) {
htmlforReport = htmlforReport + " <tr>\r\n" + " <td>" + dto.getFieldName() + "</td>\r\n"
+ " <td>" + dto.getExpValue() + "</td>\r\n" + " <td>" + dto.getActualValue()
+ "</td>\r\n" + " <td bgcolor='LIGHTYELLOW'>" + dto.getStatus() + "</td>\r\n" + " </tr>\r\n";
}
// If it is warning basically we haven't compared or ignored the comparison.
// so no point in printing that content in the report.
/*
* else if (dto.getStatus().equals("WARNING")) { htmlforReport = htmlforReport +
* " <tr>\r\n" + " <td>" + dto.getFieldName() + "</td>\r\n" + " <td>" +
* dto.getExpValue() + "</td>\r\n" + " <td>" + dto.getActualValue() +
* "</td>\r\n" + " <td bgcolor='LIGHTYELLOW'>" + dto.getStatus() +
* "</td>\r\n" + " </tr>\r\n"; }
*/
}
}
htmlforReport = htmlforReport + "</table>";
Expand Down

0 comments on commit e434d64

Please sign in to comment.