|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.AcceptanceTestUtils
public class AcceptanceTestUtils
| Constructor Summary | |
|---|---|
AcceptanceTestUtils()
|
|
| Method Summary | |
|---|---|
static void |
assertPortAvailable(int port)
Ensures the specified TCP port is available to open a socket. |
static com.dumbster.smtp.SimpleSmtpServer |
startSmtpServer(int port)
This method is used to start the smtp server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AcceptanceTestUtils()
| Method Detail |
|---|
public static com.dumbster.smtp.SimpleSmtpServer startSmtpServer(int port)
public static void assertPortAvailable(int port)
throws junit.framework.AssertionFailedError
port - the port to check
junit.framework.AssertionFailedError - if the port can't be opened successfully
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||