diff --git a/source/pom.xml b/source/pom.xml index a7726c62db..a7920f9f86 100644 --- a/source/pom.xml +++ b/source/pom.xml @@ -40,7 +40,7 @@ 5.3.20 - 5.6.9 + 5.6.12 20080701 2.9.0 diff --git a/source/src/main/java/org/cerberus/core/service/pdf/impl/PDFService.java b/source/src/main/java/org/cerberus/core/service/pdf/impl/PDFService.java index 0f3744e82f..2dd04c09a7 100644 --- a/source/src/main/java/org/cerberus/core/service/pdf/impl/PDFService.java +++ b/source/src/main/java/org/cerberus/core/service/pdf/impl/PDFService.java @@ -292,7 +292,7 @@ public String generatePdf(Tag tag) throws FileNotFoundException { Table tableTmp; for (TestCaseStepExecution step : exec.getTestCaseStepExecutionList()) { - if (!TestCaseExecution.CONTROLSTATUS_PE.equals(step.getReturnCode())) { + if (!TestCaseExecution.CONTROLSTATUS_NE.equals(step.getReturnCode())) { // Creating a table tableTmp = new Table(new float[]{500, 20}) .addCell(new Cell().add(new Paragraph().add(getTextFromString(step.getDescription(), 12, true).setTextAlignment(TextAlignment.LEFT))) @@ -314,7 +314,7 @@ public String generatePdf(Tag tag) throws FileNotFoundException { } for (TestCaseStepActionExecution action : step.getTestCaseStepActionExecutionList()) { - if (!TestCaseExecution.CONTROLSTATUS_PE.equals(action.getReturnCode())) { + if (!TestCaseExecution.CONTROLSTATUS_NE.equals(action.getReturnCode())) { tableTmp = new Table(new float[]{500, 20}) .addCell(new Cell().add(new Paragraph().add(getTextFromString(action.getDescription(), 12, true).setTextAlignment(TextAlignment.LEFT))) .setBorder(Border.NO_BORDER).setBorderLeft(new SolidBorder(ColorConstants.BLUE, 3)).setBorderRight(new SolidBorder(1)).setBorderTop(new SolidBorder(1)).setBorderBottom(new SolidBorder(1))) @@ -336,7 +336,7 @@ public String generatePdf(Tag tag) throws FileNotFoundException { for (TestCaseStepActionControlExecution control : action.getTestCaseStepActionControlExecutionList()) { - if (!TestCaseExecution.CONTROLSTATUS_PE.equals(control.getReturnCode())) { + if (!TestCaseExecution.CONTROLSTATUS_NE.equals(control.getReturnCode())) { tableTmp = new Table(new float[]{500, 20}) .addCell(new Cell().add(new Paragraph().add(getTextFromString(control.getDescription(), 12, true).setTextAlignment(TextAlignment.LEFT))) .setBorder(Border.NO_BORDER).setBorderLeft(new SolidBorder(ColorConstants.GREEN, 3)).setBorderRight(new SolidBorder(1)).setBorderTop(new SolidBorder(1)).setBorderBottom(new SolidBorder(1)))