blob: 47bffc118384f7c786da63db0078bd52bc1ed7da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package cz.crcs.ectester.standalone.test.base;
import cz.crcs.ectester.common.test.BaseTestable;
/**
* @author Jan Jancar johny@neuromancer.sk
*/
public abstract class StandaloneTestable<T extends Enum<T>> extends BaseTestable {
protected T stage;
protected Exception exception;
public T getStage() {
return stage;
}
public Exception getException() {
return exception;
}
protected void failOnException(Exception ex) {
ok = false;
hasRun = true;
exception = ex;
}
}
|