diff --git a/src/main/java/uk/ac/rhul/cs/javatester/BaseTester.java b/src/main/java/uk/ac/rhul/cs/javatester/BaseTester.java index 660090e1337e9ae225692ef87e57f6685b49459f..623964c91bf8e512ba47851e0a371c164913e4a6 100644 --- a/src/main/java/uk/ac/rhul/cs/javatester/BaseTester.java +++ b/src/main/java/uk/ac/rhul/cs/javatester/BaseTester.java @@ -212,19 +212,26 @@ public abstract class BaseTester { * * @return true if the test passed */ - protected boolean scriptedInteraction(String... interaction) throws - IOException { + protected boolean scriptedInteraction( + boolean full, String... interaction + ) throws IOException { List<String> msgs; SubmissionWrapper wrapper = getNewSubmissionWrapper(); try { - msgs = wrapper.scriptedInteraction(interaction); + msgs = wrapper.scriptedInteraction(full, interaction); } finally { wrapper.close(); } return outputResult(msgs, wrapper); } - /** + + protected boolean scriptedInteraction(String... interaction) + throws IOException { + return scriptedInteraction(true, interaction); + } + + /** * Run the submission with the given command line arguments * * Convenience for {@link runWithArgsDir(String workingDir, String[]