Add a constructor with a default factory for TestCommandQueueFactory.
continuous-integration/drone/tag Build is passing
continuous-integration/drone/tag Build is passing
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user