com.silverpeas.myLinks.dao
Class LinkDAOTest

java.lang.Object
  extended by org.silverpeas.DataSetTest
      extended by org.silverpeas.persistence.dao.DAOBasedTest
          extended by com.silverpeas.myLinks.dao.LinkDAOTest

public class LinkDAOTest
extends DAOBasedTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.silverpeas.persistence.dao.DAOBasedTest
DAOBasedTest.DAOTest
 
Nested classes/interfaces inherited from class org.silverpeas.DataSetTest
DataSetTest.TableRow
 
Constructor Summary
LinkDAOTest()
           
 
Method Summary
 void afterTest()
           
 void beforeTest()
           
 void deleteUserLink()
           
 void getAllUserLinks()
           
 String[] getApplicationContextPath()
           
 String getDataSetPath()
           
 void insertUserLinkIntoLinksWithoutPositionSet()
           
 void insertUserLinkIntoLinksWithPositionSet()
           
 void updateUserLinkThatHadAlreadyPosition()
           
 void updateUserLinkThatHadNoPosition()
           
 
Methods inherited from class org.silverpeas.persistence.dao.DAOBasedTest
getDataSourceInjectionBeanId, performDAOTest
 
Methods inherited from class org.silverpeas.DataSetTest
getActualDataSet, getApplicationContext, getConnection, getDataSet, getDataSource, getTableIndexFor, getTableIndexForId, getTableRowFor, getTableRowsFor, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkDAOTest

public LinkDAOTest()
Method Detail

getApplicationContextPath

public String[] getApplicationContextPath()
Specified by:
getApplicationContextPath in class DataSetTest

getDataSetPath

public String getDataSetPath()
Specified by:
getDataSetPath in class DataSetTest

beforeTest

public void beforeTest()
                throws Exception
Throws:
Exception

afterTest

public void afterTest()

getAllUserLinks

public void getAllUserLinks()
                     throws Exception
Throws:
Exception

insertUserLinkIntoLinksWithoutPositionSet

public void insertUserLinkIntoLinksWithoutPositionSet()
                                               throws Exception
Throws:
Exception

insertUserLinkIntoLinksWithPositionSet

public void insertUserLinkIntoLinksWithPositionSet()
                                            throws Exception
Throws:
Exception

updateUserLinkThatHadAlreadyPosition

public void updateUserLinkThatHadAlreadyPosition()
                                          throws Exception
Throws:
Exception

updateUserLinkThatHadNoPosition

public void updateUserLinkThatHadNoPosition()
                                     throws Exception
Throws:
Exception

deleteUserLink

public void deleteUserLink()
                    throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.