|
||||||||||
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,
java.lang.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, java.lang.String protocol)
Method Detail |
---|
public Connector createConnector() throws java.lang.Exception
createConnector
in class AbstractConnectorTestCase
java.lang.Exception
protected boolean transformInboundMessage()
transformInboundMessage
in class AbstractMailConnectorFunctionalTestCase
public void testConnectorListenerSupport() throws java.lang.Exception
testConnectorListenerSupport
in class AbstractConnectorTestCase
java.lang.Exception
public void testSmtpDoesNotSupportOutboundEndpoints() throws MuleException
MuleException
public void testSend() throws java.lang.Exception
java.lang.Exception
public void testConnectorRestart() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |