Skip to content
Snippets Groups Projects
Commit 76264d6d authored by Hague Matthew UXAC009's avatar Hague Matthew UXAC009
Browse files
parents eed4f953 8a76b180
Branches
No related tags found
No related merge requests found
...@@ -212,19 +212,26 @@ public abstract class BaseTester { ...@@ -212,19 +212,26 @@ public abstract class BaseTester {
* *
* @return true if the test passed * @return true if the test passed
*/ */
protected boolean scriptedInteraction(String... interaction) throws protected boolean scriptedInteraction(
IOException { boolean full, String... interaction
) throws IOException {
List<String> msgs; List<String> msgs;
SubmissionWrapper wrapper = getNewSubmissionWrapper(); SubmissionWrapper wrapper = getNewSubmissionWrapper();
try { try {
msgs = wrapper.scriptedInteraction(interaction); msgs = wrapper.scriptedInteraction(full, interaction);
} finally { } finally {
wrapper.close(); wrapper.close();
} }
return outputResult(msgs, wrapper); return outputResult(msgs, wrapper);
} }
/**
protected boolean scriptedInteraction(String... interaction)
throws IOException {
return scriptedInteraction(true, interaction);
}
/**
* Run the submission with the given command line arguments * Run the submission with the given command line arguments
* *
* Convenience for {@link runWithArgsDir(String workingDir, String[] * Convenience for {@link runWithArgsDir(String workingDir, String[]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment