try {
ArrayList<String> testOutputLines, outputLines;
try {
testOutputLines = super.read(testOutputReader);
} catch (DataReadException e) {
throw new OutputTestReadException("Test output read error: " + e);
}
try {
outputLines = super.read(outputReader);
if (!super.isEqual(testOutputLines, outputLines)) {
throw new ComparisonFailedException("Test output is not equal to program output");