com.silverpeas.mailinglist.service.notification
Class AdvancedNotificationHelperTest

java.lang.Object
  extended by com.silverpeas.mailinglist.AbstractMailingListTest
      extended by com.silverpeas.mailinglist.service.notification.AdvancedNotificationHelperTest

public class AdvancedNotificationHelperTest
extends AbstractMailingListTest


Field Summary
 
Fields inherited from class com.silverpeas.mailinglist.AbstractMailingListTest
logger
 
Constructor Summary
AdvancedNotificationHelperTest()
           
 
Method Summary
 void after()
           
protected  void checkSimpleEmail(String address, String subject)
           
protected  String[] getContextConfigurations()
           
protected  org.dbunit.dataset.IDataSet getDataSet()
           
 void init()
           
 void testGetModeratorsIds()
           
 void testGetUsersIds()
           
 void testMultiSendMail()
           
 void testNotifyExternals()
           
 void testNotifyInternals()
           
 void testSimpleSendMail()
           
 void testSpringLoading()
           
 
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

AdvancedNotificationHelperTest

public AdvancedNotificationHelperTest()
Method Detail

init

public void init()
          throws Exception
Throws:
Exception

after

public void after()
           throws Exception
Throws:
Exception

testNotifyInternals

public void testNotifyInternals()
                         throws Exception
Throws:
Exception

testNotifyExternals

public void testNotifyExternals()
                         throws Exception
Throws:
Exception

testSimpleSendMail

public void testSimpleSendMail()
                        throws Exception
Throws:
Exception

testMultiSendMail

public void testMultiSendMail()
                       throws Exception
Throws:
Exception

checkSimpleEmail

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

testSpringLoading

public void testSpringLoading()

testGetUsersIds

public void testGetUsersIds()

testGetModeratorsIds

public void testGetModeratorsIds()

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

getContextConfigurations

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


Copyright © 2016 Silverpeas. All Rights Reserved.