public abstract class AbstractTestServerBase extends Object
| Constructor and Description |
|---|
AbstractTestServerBase() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
allocatePort(Class<?> cls) |
protected static String |
allocatePort(Class<?> cls,
int i) |
protected static int |
allocatePortAsInt(Class<?> cls) |
protected Logger |
getLog() |
protected void |
ready() |
protected abstract void |
run()
method implemented by test servers.
|
void |
setUp() |
void |
start() |
protected void |
startFailed() |
void |
startInProcess() |
boolean |
stopInProcess() |
void |
tearDown() |
protected boolean |
verify(Logger log)
Used to facilitate assertions on server-side behaviour.
|
protected abstract void run()
throws Exception
Exceptionprotected Logger getLog()
protected void ready()
protected void startFailed()
protected boolean verify(Logger log)
log - logger to use for diagnostics if assertions failprotected static int allocatePortAsInt(Class<?> cls)
Apache CXF