com.silverpeas.social.invitation
Class TestInvitationDao

java.lang.Object
  extended by com.silverpeas.social.invitation.TestInvitationDao

@ContextConfiguration(locations="/spring-invitation-embbed-datasource.xml")
public class TestInvitationDao
extends Object

Author:
Bensalem Nabil

Constructor Summary
TestInvitationDao()
           
 
Method Summary
 void clear()
           
 void generalSetUp()
           
 Connection getConnection()
           
protected  org.dbunit.dataset.ReplacementDataSet getDataSet()
           
 void testCreateInvitation()
           
 void testDeleteInvitation()
           
 void testDeleteSameInvitations()
           
 void testGetAllMyInvitationsReceive()
           
 void testGetAllMyInvitationsSent()
           
 void testGetInvitation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestInvitationDao

public TestInvitationDao()
Method Detail

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

getDataSet

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

clear

public void clear()
           throws Exception
Throws:
Exception

getConnection

public Connection getConnection()
                         throws SQLException
Throws:
SQLException

testCreateInvitation

public void testCreateInvitation()
                          throws Exception
Throws:
Exception

testDeleteInvitation

public void testDeleteInvitation()
                          throws Exception
Throws:
Exception

testDeleteSameInvitations

public void testDeleteSameInvitations()
                               throws Exception
Throws:
Exception

testGetInvitation

public void testGetInvitation()
                       throws Exception
Throws:
Exception

testGetAllMyInvitationsSent

public void testGetAllMyInvitationsSent()
                                 throws Exception
Throws:
Exception

testGetAllMyInvitationsReceive

public void testGetAllMyInvitationsReceive()
                                    throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.