Add some debugging information to know which test cases might have failed

This commit is contained in:
Nanne Baars
2021-03-28 17:41:19 +02:00
committed by Nanne Baars
parent ce6e4d2090
commit 935871c39a
3 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import javax.xml.bind.annotation.XmlRootElement;
@ -38,6 +39,7 @@ import javax.xml.bind.annotation.XmlRootElement;
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement
@ToString
public class Comment {
private String user;
private String dateTime;

View File

@ -76,6 +76,7 @@ public class SimpleXXE extends AssignmentEndpoint {
secure = true;
}
Comment comment = comments.parseXml(commentStr, secure);
System.err.println("Comment " + comment);
comments.addComment(comment, false);
if (checkSolution(comment)) {
return success(this).build();