public class FakeSmtpMailServerFeature extends Object implements RunnerFeature
Modifier and Type | Field and Description |
---|---|
static com.dumbster.smtp.SimpleSmtpServer |
server |
static String |
SERVER_HOST |
static int |
SERVER_PORT |
Constructor and Description |
---|
FakeSmtpMailServerFeature() |
Modifier and Type | Method and Description |
---|---|
void |
afterTeardown(FeaturesRunner runner)
After the call of the @After methods
|
void |
beforeSetup(FeaturesRunner runner)
Before entering in the @Before methods
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterMethodRun, afterRun, beforeMethodRun, beforeRun, configure, initialize, start, stop, testCreated
public static final int SERVER_PORT
public static final String SERVER_HOST
public static com.dumbster.smtp.SimpleSmtpServer server
public FakeSmtpMailServerFeature()
public void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeature
beforeSetup
in interface RunnerFeature
Exception
public void afterTeardown(FeaturesRunner runner)
RunnerFeature
afterTeardown
in interface RunnerFeature
Copyright © 2019 Nuxeo. All rights reserved.