Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e3446a431 | ||
|
|
b1ef8dc32f |
@@ -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);
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ import spock.lang.Title
|
|||||||
@Narrative("""The loader must return a class or null, so
|
@Narrative("""The loader must return a class or null, so
|
||||||
those tests check if responses are right.
|
those tests check if responses are right.
|
||||||
""")
|
""")
|
||||||
@Title("Integrated tests for ClassLoader.")
|
@Title("Integrated tests for SingleClassLoader.")
|
||||||
class IntegratedSingleClassLoader extends Specification {
|
class IntegratedSingleClassLoader extends Specification {
|
||||||
def "The class has been loaded."() {
|
def "The class has been loaded."() {
|
||||||
given: "I have a class loader"
|
given: "I have a class loader"
|
||||||
|
|||||||
Reference in New Issue
Block a user