Commit c29d2d39 authored by Alexander's avatar Alexander

Make cmd-line-args of performance-tests non null

parent 6a5fc522
......@@ -15,7 +15,7 @@ public class PerformanceTest extends Assignment2TestBase {
String path = getDataFolderDirectory() + "performance/performance_test_1.io";
TestPair[] pairs = loadTestPairsFromIOFile(path);
enablePerformanceTest();
testUsingPairs(pairs, () -> DummyMain.main(null));
testUsingPairs(pairs, () -> DummyMain.main(new String[0]));
}
/**
......@@ -33,7 +33,7 @@ public class PerformanceTest extends Assignment2TestBase {
String path = getDataFolderDirectory() + "performance/performance_test_2.io";
TestPair[] pairs = loadTestPairsFromIOFile(path);
enablePerformanceTest();
testUsingPairs(pairs, () -> DummyMain.main(null));
testUsingPairs(pairs, () -> DummyMain.main(new String[0]));
}
@Test
......@@ -44,6 +44,6 @@ public class PerformanceTest extends Assignment2TestBase {
String path = getDataFolderDirectory() + "performance/performance_test_3.io";
TestPair[] pairs = loadTestPairsFromIOFile(path);
enablePerformanceTest();
testUsingPairs(pairs, () -> DummyMain.main(null));
testUsingPairs(pairs, () -> DummyMain.main(new String[0]));
}
}
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