initial commit
This commit is contained in:
18
java/base/Tester.java
Normal file
18
java/base/Tester.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package base;
|
||||
|
||||
/**
|
||||
* @author Georgiy Korneev (kgeorgiy@kgeorgiy.info)
|
||||
*/
|
||||
public abstract class Tester extends BaseChecker {
|
||||
protected Tester(final TestCounter counter) {
|
||||
super(counter);
|
||||
}
|
||||
|
||||
public abstract void test();
|
||||
|
||||
public void run(final Class<?> test, final String... args) {
|
||||
System.out.println("=== Testing " + test.getSimpleName() + " " + String.join(" ", args));
|
||||
test();
|
||||
counter.printStatus();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user