|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.transport.AbstractConnectorTestCase
org.mule.transport.email.connectors.AbstractMailConnectorFunctionalTestCase
org.mule.transport.email.connectors.SmtpConnectorTestCase
public class SmtpConnectorTestCase
Send a message via SMTP to a (greenmail) server.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary |
---|
Fields inherited from class org.mule.transport.email.connectors.AbstractMailConnectorFunctionalTestCase |
---|
EMAIL, LOCALHOST, MESSAGE, NO_INITIAL_EMAIL, PASSWORD, PROVIDER, SEND_INITIAL_EMAIL, START_ATTEMPTS, STARTUP_PERIOD_MS, TEST_ATTEMPTS, USER |
Fields inherited from class org.mule.transport.AbstractConnectorTestCase |
---|
connectorName, encoding |
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary | |
---|---|
SmtpConnectorTestCase()
|
|
SmtpConnectorTestCase(boolean initialEmail,
String protocol)
|
Method Summary | |
---|---|
Connector |
createConnector()
|
void |
testConnectorListenerSupport()
The SmtpConnector does not accept listeners, so the test in the superclass makes no sense here. |
void |
testConnectorRestart()
|
void |
testSend()
|
void |
testSmtpDoesNotSupportOutboundEndpoints()
|
protected boolean |
transformInboundMessage()
|
Methods inherited from class org.mule.transport.email.connectors.AbstractMailConnectorFunctionalTestCase |
---|
assertMessageOk, doSetUp, doTearDown, getServers, getTestEndpointURI, getValidMessage, uniqueName |
Methods inherited from class org.mule.transport.AbstractConnectorTestCase |
---|
getConnector, getConnectorAndAssert, testConnectorBeanProps, testConnectorExceptionHandling, testConnectorInitialise, testConnectorLifecycle, testConnectorMessageDispatcherFactory, testConnectorMessageRequesterFactory, testConnectorMuleMessageFactory |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SmtpConnectorTestCase()
public SmtpConnectorTestCase(boolean initialEmail, String protocol)
Method Detail |
---|
public Connector createConnector() throws Exception
createConnector
in class AbstractConnectorTestCase
Exception
protected boolean transformInboundMessage()
transformInboundMessage
in class AbstractMailConnectorFunctionalTestCase
public void testConnectorListenerSupport() throws Exception
testConnectorListenerSupport
in class AbstractConnectorTestCase
Exception
public void testSmtpDoesNotSupportOutboundEndpoints() throws MuleException
MuleException
public void testSend() throws Exception
Exception
public void testConnectorRestart() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |