Add a constructor with a default factory for TestCommandQueueFactory.
continuous-integration/drone/tag Build is passing

This commit is contained in:
2023-10-08 19:56:10 +03:00
parent b1ef8dc32f
commit 1e3446a431
@@ -9,6 +9,11 @@ public class TestCommandQueueFactory {
private ArrayList<Test> tests; private ArrayList<Test> tests;
private TestCommandFactory factory; private TestCommandFactory factory;
public TestCommandQueueFactory(ArrayList<Test> tests) {
setTests(tests);
setFactory(new TestCommandFactory());
}
public TestCommandQueueFactory(ArrayList<Test> tests, TestCommandFactory factory) { public TestCommandQueueFactory(ArrayList<Test> tests, TestCommandFactory factory) {
setTests(tests); setTests(tests);
setFactory(factory); setFactory(factory);