Add some debugging information to know which test cases might have failed
This commit is contained in:
@ -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;
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user