public interface Testing
| Modifier and Type | Interface and Description |
|---|---|
static class |
Testing.Debug |
static interface |
Testing.Files
File system utility methods.
|
static interface |
Testing.InterruptableFunction |
static interface |
Testing.Network
Network-related utility methods.
|
static class |
Testing.Print |
static class |
Testing.Timer |
| Modifier and Type | Method and Description |
|---|---|
static void |
debug(Object message) |
default <T> io.debezium.util.Stopwatch.Statistics |
once(Callable<T> runnable,
Consumer<T> cleanup) |
default io.debezium.util.Stopwatch.Statistics |
once(Testing.InterruptableFunction runnable) |
static void |
print(int length,
String leader,
Object message) |
static void |
print(Object message) |
static void |
printError(Object message) |
static void |
printError(String message,
Throwable throwable) |
static void |
printError(Throwable throwable) |
default void |
resetBeforeEachTest() |
default <T> io.debezium.util.Stopwatch.Statistics |
time(String desc,
int repeat,
Callable<T> runnable,
Consumer<T> cleanup) |
default io.debezium.util.Stopwatch.Statistics |
time(String desc,
int repeat,
Testing.InterruptableFunction runnable) |
default void resetBeforeEachTest()
static void print(Object message)
static void debug(Object message)
static void printError(Object message)
static void printError(Throwable throwable)
default io.debezium.util.Stopwatch.Statistics once(Testing.InterruptableFunction runnable) throws InterruptedException
InterruptedExceptiondefault <T> io.debezium.util.Stopwatch.Statistics once(Callable<T> runnable, Consumer<T> cleanup) throws InterruptedException
InterruptedExceptiondefault io.debezium.util.Stopwatch.Statistics time(String desc, int repeat, Testing.InterruptableFunction runnable) throws InterruptedException
InterruptedExceptiondefault <T> io.debezium.util.Stopwatch.Statistics time(String desc, int repeat, Callable<T> runnable, Consumer<T> cleanup) throws InterruptedException
InterruptedExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.