parent
a1b85e3771
commit
9056c8d047
@ -0,0 +1,10 @@
|
||||
package space.kklochko.simple_jbdd.tests.factories;
|
||||
|
||||
import space.kklochko.simple_jbdd.tests.Test;
|
||||
import space.kklochko.simple_jbdd.tests.commands.AbstractTestCommand;
|
||||
import space.kklochko.simple_jbdd.tests.runners.AbstractTestRunner;
|
||||
|
||||
public abstract class AbstractTestRunnerFactory {
|
||||
public abstract AbstractTestRunner create(AbstractTestCommand<Test> command);
|
||||
}
|
||||
|
@ -0,0 +1,13 @@
|
||||
package space.kklochko.simple_jbdd.tests.factories;
|
||||
|
||||
import space.kklochko.simple_jbdd.tests.Test;
|
||||
import space.kklochko.simple_jbdd.tests.commands.AbstractTestCommand;
|
||||
import space.kklochko.simple_jbdd.tests.runners.AbstractTestRunner;
|
||||
import space.kklochko.simple_jbdd.tests.runners.SimpleTestRunner;
|
||||
|
||||
public class SimpleTestRunnerFactory extends AbstractTestRunnerFactory {
|
||||
public AbstractTestRunner create(AbstractTestCommand<Test> command) {
|
||||
return new SimpleTestRunner(command);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue