public abstract class AbstractTest<T extends Config> extends LogSupport
LOG| Constructor and Description |
|---|
AbstractTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
protected T |
createConfig() |
T |
getConfig() |
protected java.nio.file.Path |
getOutPath() |
protected java.io.PrintStream |
getPrintStream() |
protected java.io.PrintStream |
getPrintStream(java.lang.String fname) |
protected <S extends Service> |
getService(java.lang.Class<S> type) |
protected java.lang.String |
getSimpleName() |
protected void |
sleepSafe(long millis) |
public void before()
throws java.lang.Exception
java.lang.Exceptionpublic void after()
throws java.lang.Exception
java.lang.Exceptionprotected <S extends Service> S getService(java.lang.Class<S> type)
protected java.lang.String getSimpleName()
protected java.nio.file.Path getOutPath()
protected java.io.PrintStream getPrintStream()
throws java.io.IOException
java.io.IOExceptionprotected java.io.PrintStream getPrintStream(java.lang.String fname)
throws java.io.IOException
java.io.IOExceptionprotected T createConfig() throws java.lang.Exception
java.lang.Exceptionpublic T getConfig()
getConfig in class LogSupportprotected void sleepSafe(long millis)
Copyright © 2020. All rights reserved.