public class FakeSmtpMailServerFeature extends SimpleFeature
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
|
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
beforeSetup
in class SimpleFeature
Exception
public void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeature
afterTeardown
in interface RunnerFeature
afterTeardown
in class SimpleFeature
Exception
Copyright © 2016 Nuxeo SA. All rights reserved.