com.silverpeas.mailinglist.service.model
Class TestMessageService

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

public class TestMessageService
extends AbstractMailingListTest


Field Summary
 
Fields inherited from class com.silverpeas.mailinglist.AbstractMailingListTest
logger
 
Constructor Summary
TestMessageService()
           
 
Method Summary
protected  String[] getContextConfigurations()
           
protected  org.dbunit.dataset.IDataSet getDataSet()
           
 void onSetUp()
           
 void onTearDown()
           
 void testDeleteMessage()
           
 void testGetActivity()
           
 void testGetMessage()
           
 void testGetNumberOfPagesForAllMessages()
           
 void testGetNumberOfPagesForDisplayableMessages()
           
 void testGetNumberOfPagesForUnmoderatedMessages()
           
 void testGetTotalNumberOfMessages()
           
 void testListDisplayableMessages()
           
 void testListMessages()
           
 void testListUnmoderatedeMessages()
           
 void testModerateMessage()
           
 void testResaveMessage()
           
 void testSaveMessage()
           
 
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

TestMessageService

public TestMessageService()
Method Detail

testGetMessage

public void testGetMessage()

testSaveMessage

public void testSaveMessage()

testResaveMessage

public void testResaveMessage()

testListMessages

public void testListMessages()

testGetTotalNumberOfMessages

public void testGetTotalNumberOfMessages()

testListDisplayableMessages

public void testListDisplayableMessages()

testListUnmoderatedeMessages

public void testListUnmoderatedeMessages()

testGetNumberOfPagesForUnmoderatedMessages

public void testGetNumberOfPagesForUnmoderatedMessages()

testGetNumberOfPagesForDisplayableMessages

public void testGetNumberOfPagesForDisplayableMessages()

testDeleteMessage

public void testDeleteMessage()

testModerateMessage

public void testModerateMessage()

testGetNumberOfPagesForAllMessages

public void testGetNumberOfPagesForAllMessages()

testGetActivity

public void testGetActivity()

getDataSet

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

onSetUp

public void onSetUp()

onTearDown

public void onTearDown()
                throws Exception
Throws:
Exception

getContextConfigurations

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


Copyright © 2016 Silverpeas. All Rights Reserved.