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, testCreatedpublic static final int SERVER_PORT
public static final String SERVER_HOST
public static com.dumbster.smtp.SimpleSmtpServer server
public void beforeSetup(FeaturesRunner runner) throws Exception
RunnerFeaturebeforeSetup in interface RunnerFeaturebeforeSetup in class SimpleFeatureExceptionpublic void afterTeardown(FeaturesRunner runner) throws Exception
RunnerFeatureafterTeardown in interface RunnerFeatureafterTeardown in class SimpleFeatureExceptionCopyright © 2015 Nuxeo SA. All rights reserved.