com.silverpeas.gallery.dao
Class OldOrderDAOTest

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.OldOrderDAOTest

public class OldOrderDAOTest
extends BaseGalleryTest

Author:
ehugonnet

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
OldOrderDAOTest()
           
 
Method Summary
 String[] getApplicationContextPath()
           
 String getDataSetPath()
           
 void testCreateOrder()
          Test of createOrder method, of class OldOrderDAO.
 void testDeleteOrder()
          Test of deleteOrder method, of class OldOrderDAO.
 void testGetAllOrders()
          Test of getAllOrders method, of class OldOrderDAO.
 void testGetAllOrdersToDelete()
          Test of getAllOrdersToDelete method, of class OldOrderDAO.
 void testGetAllPhotos()
          Test of getAllPhotos method, of class OldOrderDAO.
 void testGetDownloadDate()
          Test of getDownloadDate method, of class OldOrderDAO.
 void testGetOrder()
          Test of getOrder method, of class OldOrderDAO.
 void testUpdateOrder()
          Test of updateOrder method, of class OldOrderDAO.
 void testUpdateOrderRow()
          Test of updateOrderRow method, of class OldOrderDAO.
protected  void verifyDataBeforeTest()
          Verifying the data before a test.
 
Methods inherited from class com.silverpeas.gallery.BaseGalleryTest
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

OldOrderDAOTest

public OldOrderDAOTest()
Method Detail

getApplicationContextPath

public String[] getApplicationContextPath()
Overrides:
getApplicationContextPath in class BaseGalleryTest

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

testCreateOrder

public void testCreateOrder()
                     throws Exception
Test of createOrder method, of class OldOrderDAO.

Throws:
Exception

testGetAllPhotos

public void testGetAllPhotos()
                      throws Exception
Test of getAllPhotos method, of class OldOrderDAO.

Throws:
Exception

testUpdateOrder

public void testUpdateOrder()
                     throws Exception
Test of updateOrder method, of class OldOrderDAO.

Throws:
Exception

testUpdateOrderRow

public void testUpdateOrderRow()
                        throws Exception
Test of updateOrderRow method, of class OldOrderDAO.

Throws:
Exception

testGetAllOrders

public void testGetAllOrders()
                      throws Exception
Test of getAllOrders method, of class OldOrderDAO.

Throws:
Exception

testGetOrder

public void testGetOrder()
                  throws Exception
Test of getOrder method, of class OldOrderDAO.

Throws:
Exception

testGetDownloadDate

public void testGetDownloadDate()
                         throws Exception
Test of getDownloadDate method, of class OldOrderDAO.

Throws:
Exception

testGetAllOrdersToDelete

public void testGetAllOrdersToDelete()
                              throws Exception
Test of getAllOrdersToDelete method, of class OldOrderDAO.

Throws:
Exception

testDeleteOrder

public void testDeleteOrder()
                     throws Exception
Test of deleteOrder method, of class OldOrderDAO.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.