com.silverpeas.mailinglist.service.model.dao
Class TestMessageDao

java.lang.Object
  extended by com.silverpeas.mailinglist.service.model.dao.TestMessageDao

public class TestMessageDao
extends Object


Constructor Summary
TestMessageDao()
           
 
Method Summary
protected  void copyFile(String filePath, String targetPath)
           
protected  String loadHtml()
           
 void setUpTest()
           
 void tearDownTest()
           
 void testCreateMessagesWithSameAttachments()
           
 void testCreateMessageWithAttachments()
           
 void testCreateSimpleHtmlMessage()
           
 void testCreateSimpleMessage()
           
 void testCreateSimpleMessageWithCompleteId()
           
 void testDeleteMessageWithAttachments()
           
 void testDeleteMessageWithAttachmentShared()
           
 void testListActivities()
           
 void testListActivityMessages()
           
 void testListMessagesOfMailingList()
           
 void testRecreateSimpleMessage()
           
 void testUpdateMessage()
           
 void testUpdateMessageWithAttachment()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMessageDao

public TestMessageDao()
Method Detail

setUpTest

public void setUpTest()
               throws Exception
Throws:
Exception

tearDownTest

public void tearDownTest()
                  throws Exception
Throws:
Exception

loadHtml

protected String loadHtml()
                   throws IOException
Throws:
IOException

copyFile

protected void copyFile(String filePath,
                        String targetPath)
                 throws IOException
Throws:
IOException

testCreateSimpleMessage

public void testCreateSimpleMessage()

testCreateSimpleMessageWithCompleteId

public void testCreateSimpleMessageWithCompleteId()

testRecreateSimpleMessage

public void testRecreateSimpleMessage()

testCreateSimpleHtmlMessage

public void testCreateSimpleHtmlMessage()
                                 throws IOException
Throws:
IOException

testCreateMessageWithAttachments

public void testCreateMessageWithAttachments()

testUpdateMessage

public void testUpdateMessage()

testUpdateMessageWithAttachment

public void testUpdateMessageWithAttachment()

testDeleteMessageWithAttachments

public void testDeleteMessageWithAttachments()
                                      throws Exception
Throws:
Exception

testDeleteMessageWithAttachmentShared

public void testDeleteMessageWithAttachmentShared()
                                           throws Exception
Throws:
Exception

testListMessagesOfMailingList

public void testListMessagesOfMailingList()
                                   throws Exception
Throws:
Exception

testListActivityMessages

public void testListActivityMessages()
                              throws Exception
Throws:
Exception

testListActivities

public void testListActivities()

testCreateMessagesWithSameAttachments

public void testCreateMessagesWithSameAttachments()
                                           throws IOException
Throws:
IOException


Copyright © 2016 Silverpeas. All Rights Reserved.