com.silverpeas.mailinglist.service.model
Class TestMailingListService

java.lang.Object
  extended by com.silverpeas.mailinglist.AbstractMailingListTest
      extended by com.silverpeas.mailinglist.service.model.TestMailingListService

public class TestMailingListService
extends AbstractMailingListTest


Field Summary
 
Fields inherited from class com.silverpeas.mailinglist.AbstractMailingListTest
logger
 
Constructor Summary
TestMailingListService()
           
 
Method Summary
protected  String[] getContextConfigurations()
           
protected  org.dbunit.dataset.IDataSet getDataSet()
           
 MailingListService getMailingListService()
           
 void onSetUp()
           
 void testAddExternalUser()
           
 void testAddExternalUsers()
           
 void testAddInternalSubscribers()
           
 void testCreateMailingList()
           
 void testDeleteMailingList()
           
 void testGetMailingList()
           
 void testListMailingList()
           
 void testRemoveExternalUser()
           
 
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

TestMailingListService

public TestMailingListService()
Method Detail

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

testCreateMailingList

public void testCreateMailingList()

testAddExternalUser

public void testAddExternalUser()

testAddInternalSubscribers

public void testAddInternalSubscribers()

testAddExternalUsers

public void testAddExternalUsers()

testRemoveExternalUser

public void testRemoveExternalUser()

testDeleteMailingList

public void testDeleteMailingList()

testListMailingList

public void testListMailingList()

testGetMailingList

public void testGetMailingList()

getMailingListService

public MailingListService getMailingListService()

getContextConfigurations

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


Copyright © 2016 Silverpeas. All Rights Reserved.