com.silverpeas.mailinglist.model
Class TestMailingListComponent

java.lang.Object
  extended by com.silverpeas.mailinglist.AbstractMailingListTest
      extended by com.silverpeas.mailinglist.model.TestMailingListComponent

public class TestMailingListComponent
extends AbstractMailingListTest


Field Summary
 
Fields inherited from class com.silverpeas.mailinglist.AbstractMailingListTest
logger
 
Constructor Summary
TestMailingListComponent()
           
 
Method Summary
protected  void checkNoMessage(String address)
           
protected  void checkSimpleEmail(String address, String subject)
           
protected  String[] getContextConfigurations()
           
protected  org.dbunit.dataset.IDataSet getDataSet()
           
 void onSetUp()
           
 void onTearDown()
           
 void testCheckSender()
           
 void testOnMessage()
           
 void testOnMessageNotModeratedNotify()
           
 
Methods inherited from class com.silverpeas.mailinglist.AbstractMailingListTest
getConnection, getDataSource, getManagedService, getOrganisationController, registerDatasource, registerMockJMS, setUpTestContext, tearDownTestContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMailingListComponent

public TestMailingListComponent()
Method Detail

onTearDown

public void onTearDown()
                throws Exception
Throws:
Exception

onSetUp

public void onSetUp()

getDataSet

protected org.dbunit.dataset.IDataSet getDataSet()
                                          throws org.dbunit.dataset.DataSetException,
                                                 IOException
Specified by:
getDataSet in class AbstractMailingListTest
Throws:
org.dbunit.dataset.DataSetException
IOException

testCheckSender

public void testCheckSender()

testOnMessage

public void testOnMessage()
                   throws Exception
Throws:
Exception

testOnMessageNotModeratedNotify

public void testOnMessageNotModeratedNotify()
                                     throws Exception
Throws:
Exception

checkNoMessage

protected void checkNoMessage(String address)
                       throws Exception
Throws:
Exception

checkSimpleEmail

protected void checkSimpleEmail(String address,
                                String subject)
                         throws Exception
Throws:
Exception

getContextConfigurations

protected String[] getContextConfigurations()
Specified by:
getContextConfigurations in class AbstractMailingListTest


Copyright © 2016 Silverpeas. All Rights Reserved.