blob: 272a3f721290015a267ea0bffdba888dae36232a (
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
26
27
28
|
package cz.crcs.ectester.standalone.test;
import cz.crcs.ectester.common.test.SimpleTest;
import cz.crcs.ectester.common.test.TestCallback;
import cz.crcs.ectester.common.test.TestException;
/**
* @author Jan Jancar johny@neuromancer.sk
*/
public class SignatureTest extends SimpleTest<SignatureTestable> {
private SignatureTest(SignatureTestable sig, TestCallback<SignatureTestable> callback) {
super(sig, callback);
}
@Override
public String getDescription() {
return null;
}
@Override
public void run() throws TestException {
if (hasRun)
return;
testable.run();
result = callback.apply(testable);
hasRun = true;
}
}
|