Compare commits

...
2 Commits
Author SHA1 Message Date
KKlochko 1e3446a431 Add a constructor with a default factory for TestCommandQueueFactory.
continuous-integration/drone/tag Build is passing
2023-10-08 19:56:10 +03:00
KKlochko b1ef8dc32f Fix the test title for SingleTestClassLoader.
continuous-integration/drone/tag Build is passing
2023-10-08 19:55:30 +03:00
2 changed files with 6 additions and 1 deletions
@@ -9,6 +9,11 @@ public class TestCommandQueueFactory {
private ArrayList<Test> tests;
private TestCommandFactory factory;
public TestCommandQueueFactory(ArrayList<Test> tests) {
setTests(tests);
setFactory(new TestCommandFactory());
}
public TestCommandQueueFactory(ArrayList<Test> tests, TestCommandFactory factory) {
setTests(tests);
setFactory(factory);
@@ -9,7 +9,7 @@ import spock.lang.Title
@Narrative("""The loader must return a class or null, so
those tests check if responses are right.
""")
@Title("Integrated tests for ClassLoader.")
@Title("Integrated tests for SingleClassLoader.")
class IntegratedSingleClassLoader extends Specification {
def "The class has been loaded."() {
given: "I have a class loader"