com.silverpeas.mailinglist
Class AbstractMailingListTest

java.lang.Object
  extended by com.silverpeas.mailinglist.AbstractMailingListTest
Direct Known Subclasses:
AdvancedNotificationHelperTest, TestActivitiesProcessor, TestCheckNotification, TestCheckSender, TestMailingListActivity, TestMailingListComponent, TestMailingListExternalUsers, TestMailingListMessages, TestMailingListModeration, TestMailingListService, TestMailingListSimpleMessage, TestMessageService, TestNotificationHelper

public abstract class AbstractMailingListTest
extends Object


Field Summary
protected  org.slf4j.Logger logger
           
 
Constructor Summary
AbstractMailingListTest()
           
 
Method Summary
protected  org.dbunit.database.IDatabaseConnection getConnection()
           
protected abstract  String[] getContextConfigurations()
           
protected abstract  org.dbunit.dataset.IDataSet getDataSet()
           
 DataSource getDataSource()
           
<T> T
getManagedService(Class<T> beanType)
           
 org.silverpeas.core.admin.OrganisationController getOrganisationController()
           
protected  void registerDatasource()
           
protected  void registerMockJMS(InitialContext ic)
           
 void setUpTestContext()
           
 void tearDownTestContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.slf4j.Logger logger
Constructor Detail

AbstractMailingListTest

public AbstractMailingListTest()
Method Detail

getContextConfigurations

protected abstract String[] getContextConfigurations()

getDataSet

protected abstract org.dbunit.dataset.IDataSet getDataSet()
                                                   throws Exception
Throws:
Exception

getDataSource

public DataSource getDataSource()

getManagedService

public <T> T getManagedService(Class<T> beanType)

getOrganisationController

public org.silverpeas.core.admin.OrganisationController getOrganisationController()

registerDatasource

protected void registerDatasource()

registerMockJMS

protected void registerMockJMS(InitialContext ic)
                        throws NamingException
Throws:
NamingException

getConnection

protected org.dbunit.database.IDatabaseConnection getConnection()
                                                         throws SQLException,
                                                                org.dbunit.DatabaseUnitException
Throws:
SQLException
org.dbunit.DatabaseUnitException

setUpTestContext

public void setUpTestContext()
                      throws Exception
Throws:
Exception

tearDownTestContext

public void tearDownTestContext()
                         throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.