net.sf.sasl.common.communication.mail
Class SimpleMailChannelTest

java.lang.Object
  extended by net.sf.sasl.common.communication.mail.SimpleMailChannelTest

public class SimpleMailChannelTest
extends Object

Test cases for the SimpleMailChannel class.

Author:
Philipp Förmer

Constructor Summary
SimpleMailChannelTest()
           
 
Method Summary
 void setUp()
           
 void testGetSetMimeType()
          Test cases for getMimeType() and setMimeType(String).
 void testGetSetReceiverAddressList()
          Test cases for getReceiverList() and setReceiverAddressList(List).
 void testGetSetSenderAddress()
          Test cases for getSenderAddress() and setSenderAddress(InternetAddress).
 void testGetSetSmtpHostname()
          Test cases for getSmtpHostname() and setSmtpHostname(String).
 void testGetSetSmtpPassword()
          Test cases for getSmtpPassword() and setSmtpPassword(String).
 void testGetSetSmtpPort()
          Test cases for getSmtpPort() and setSmtpPort(int).
 void testGetSetSmtpUser()
          Test cases for getSmtpUser() and setSmtpUser(String).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMailChannelTest

public SimpleMailChannelTest()
Method Detail

setUp

public void setUp()

testGetSetSmtpHostname

public void testGetSetSmtpHostname()
                            throws Exception
Test cases for getSmtpHostname() and setSmtpHostname(String).

Throws:
Exception

testGetSetSmtpPort

public void testGetSetSmtpPort()
                        throws Exception
Test cases for getSmtpPort() and setSmtpPort(int).

Throws:
Exception

testGetSetSmtpUser

public void testGetSetSmtpUser()
                        throws Exception
Test cases for getSmtpUser() and setSmtpUser(String).

Throws:
Exception

testGetSetSmtpPassword

public void testGetSetSmtpPassword()
                            throws Exception
Test cases for getSmtpPassword() and setSmtpPassword(String).

Throws:
Exception

testGetSetMimeType

public void testGetSetMimeType()
                        throws Exception
Test cases for getMimeType() and setMimeType(String).

Throws:
Exception

testGetSetSenderAddress

public void testGetSetSenderAddress()
                             throws Exception
Test cases for getSenderAddress() and setSenderAddress(InternetAddress).

Throws:
Exception

testGetSetReceiverAddressList

public void testGetSetReceiverAddressList()
                                   throws Exception
Test cases for getReceiverList() and setReceiverAddressList(List).

Throws:
Exception


Copyright © 2010. All Rights Reserved.