Add the error for an empty test.
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
2e12fdbd34
commit
5c1e69ed32
@ -0,0 +1,20 @@
|
|||||||
|
package space.kklochko.simple_jbdd.tests.commands.decorators;
|
||||||
|
|
||||||
|
import space.kklochko.simple_jbdd.tests.Test;
|
||||||
|
import space.kklochko.simple_jbdd.tests.commands.AbstractTestCommand;
|
||||||
|
|
||||||
|
public class ErrorDecorator<T extends Test> extends AbstractDecorator<T> {
|
||||||
|
public ErrorDecorator(String error_label, AbstractTestCommand<T> command, String type) {
|
||||||
|
super(error_label, command);
|
||||||
|
setType(type);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean test() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean runMethod() {
|
||||||
|
return false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in new issue