Commit 28f9cbd0 authored by jon.fehling's avatar jon.fehling
Browse files

fix bug with Terminal.concatOutput

parent e946c8ae
package final_assignment.task_1.tests;
import edu.kit.informatik.Terminal;
import final_assignment.task_1.Assignment1TestBase;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
......@@ -16,6 +17,7 @@ public class MassiveCornerCases extends Assignment1TestBase {
for (final File fileEntry : folder.listFiles()) {
log.info("\nFile: " + fileEntry.getPath());
testWithIOFile(fileEntry.getPath());
clearData();
}
}
}
package final_assignment.task_1.tests;
import edu.kit.informatik.Terminal;
import final_assignment.task_1.Assignment1TestBase;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
......@@ -15,6 +16,7 @@ public class PerformanceTests extends Assignment1TestBase {
String args[] = {"torus", "20", "2"};
for (int i = 0; i < 20; i++) {
testUsingPairs(pairs, args);
clearData();
}
}
}
......@@ -214,6 +214,7 @@ public abstract class TestBase {
if (alwaysShowLog)
printLog();
logData.clear();
Terminal.concatOutput = true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment