com.silverpeas.gallery.dao
Class PhotoDaoTest

java.lang.Object
  extended by org.silverpeas.DataSetTest
      extended by org.silverpeas.persistence.dao.DAOBasedTest
          extended by com.silverpeas.gallery.BaseGalleryTest
              extended by com.silverpeas.gallery.dao.PhotoDaoTest

public class PhotoDaoTest
extends BaseGalleryTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.silverpeas.persistence.dao.DAOBasedTest
org.silverpeas.persistence.dao.DAOBasedTest.DAOTest
 
Nested classes/interfaces inherited from class org.silverpeas.DataSetTest
org.silverpeas.DataSetTest.TableRow
 
Field Summary
 
Fields inherited from class com.silverpeas.gallery.BaseGalleryTest
adminAccessUser, CREATE_DATE, GALLERY0, GALLERY1, GALLERY2, INSTANCE_A, LAST_UPDATE_DATE, MEDIA_INTERNAL_ROW_COUNT, MEDIA_ORDER_DETAIL_ROW_COUNT, MEDIA_ORDER_ROW_COUNT, MEDIA_PATH_ROW_COUNT, MEDIA_PHOTO_ROW_COUNT, MEDIA_ROW_COUNT, MEDIA_SOUND_ROW_COUNT, MEDIA_STREAMING_ROW_COUNT, MEDIA_VIDEO_ROW_COUNT, publisherUser, TODAY, userUser, writerUser
 
Constructor Summary
PhotoDaoTest()
           
 
Method Summary
 String getDataSetPath()
           
 void testCreatePhotoPath()
           
 void testDeletePhoto()
           
 void testDeletePhotoPath()
           
 void testGetAllPhotosIdByUserid()
           
 void testGetLastUploaded()
           
 void testGetPhotoDetail()
           
 void testGetPhotoNotVisible()
           
 void testGetPhotoPathList()
           
 void testgetSocialInformationsList()
           
 void testUpdatePhotoDetail()
           
protected  void verifyDataBeforeTest()
          Verifying the data before a test.
 
Methods inherited from class com.silverpeas.gallery.BaseGalleryTest
getApplicationContextPath, getOrganisationControllerMock, setUp, tearDown
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhotoDaoTest

public PhotoDaoTest()
Method Detail

getDataSetPath

public String getDataSetPath()
Overrides:
getDataSetPath in class BaseGalleryTest

verifyDataBeforeTest

protected void verifyDataBeforeTest()
                             throws Exception
Description copied from class: BaseGalleryTest
Verifying the data before a test.

Overrides:
verifyDataBeforeTest in class BaseGalleryTest
Throws:
Exception

testGetAllPhotosIdByUserid

public void testGetAllPhotosIdByUserid()
                                throws Exception
Throws:
Exception

testGetPhotoDetail

public void testGetPhotoDetail()
                        throws Exception
Throws:
Exception

testUpdatePhotoDetail

public void testUpdatePhotoDetail()
                           throws Exception
Throws:
Exception

testgetSocialInformationsList

public void testgetSocialInformationsList()
                                   throws Exception
Throws:
Exception

testDeletePhoto

public void testDeletePhoto()
                     throws Exception
Throws:
Exception

testGetPhotoNotVisible

public void testGetPhotoNotVisible()
                            throws Exception
Throws:
Exception

testGetPhotoPathList

public void testGetPhotoPathList()
                          throws Exception
Throws:
Exception

testDeletePhotoPath

public void testDeletePhotoPath()
                         throws Exception
Throws:
Exception

testCreatePhotoPath

public void testCreatePhotoPath()
                         throws Exception
Throws:
Exception

testGetLastUploaded

public void testGetLastUploaded()
                         throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.