com.silverpeas.gallery
Class BaseGalleryTest
java.lang.Object
org.silverpeas.DataSetTest
org.silverpeas.persistence.dao.DAOBasedTest
com.silverpeas.gallery.BaseGalleryTest
- Direct Known Subclasses:
- GalleryBmEJBTest, MediaDaoTest, OldOrderDAOTest, OrderDAOTest, PhotoDaoTest
public abstract class BaseGalleryTest
- extends org.silverpeas.persistence.dao.DAOBasedTest
Base class for tests in the gallery component.
It prepares the database to use in tests.
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 |
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 |
GALLERY0
protected static final String GALLERY0
- See Also:
- Constant Field Values
GALLERY1
protected static final String GALLERY1
- See Also:
- Constant Field Values
GALLERY2
protected static final String GALLERY2
- See Also:
- Constant Field Values
INSTANCE_A
protected static final String INSTANCE_A
- See Also:
- Constant Field Values
TODAY
protected static final Date TODAY
CREATE_DATE
protected static final Date CREATE_DATE
LAST_UPDATE_DATE
protected static final Date LAST_UPDATE_DATE
MEDIA_ROW_COUNT
protected static final int MEDIA_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_INTERNAL_ROW_COUNT
protected static final int MEDIA_INTERNAL_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_PHOTO_ROW_COUNT
protected static final int MEDIA_PHOTO_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_VIDEO_ROW_COUNT
protected static final int MEDIA_VIDEO_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_SOUND_ROW_COUNT
protected static final int MEDIA_SOUND_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_STREAMING_ROW_COUNT
protected static final int MEDIA_STREAMING_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_PATH_ROW_COUNT
protected static final int MEDIA_PATH_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_ORDER_ROW_COUNT
protected static final int MEDIA_ORDER_ROW_COUNT
- See Also:
- Constant Field Values
MEDIA_ORDER_DETAIL_ROW_COUNT
protected static final int MEDIA_ORDER_DETAIL_ROW_COUNT
- See Also:
- Constant Field Values
adminAccessUser
protected com.stratelia.webactiv.beans.admin.UserDetail adminAccessUser
publisherUser
protected com.stratelia.webactiv.beans.admin.UserDetail publisherUser
writerUser
protected com.stratelia.webactiv.beans.admin.UserDetail writerUser
userUser
protected com.stratelia.webactiv.beans.admin.UserDetail userUser
BaseGalleryTest
public BaseGalleryTest()
getApplicationContextPath
public String[] getApplicationContextPath()
- Specified by:
getApplicationContextPath
in class org.silverpeas.DataSetTest
getDataSetPath
public String getDataSetPath()
- Specified by:
getDataSetPath
in class org.silverpeas.DataSetTest
setUp
public void setUp()
throws Exception
- Overrides:
setUp
in class org.silverpeas.DataSetTest
- Throws:
Exception
tearDown
public void tearDown()
throws Exception
- Overrides:
tearDown
in class org.silverpeas.DataSetTest
- Throws:
Exception
getOrganisationControllerMock
protected org.silverpeas.core.admin.OrganisationController getOrganisationControllerMock()
verifyDataBeforeTest
protected void verifyDataBeforeTest()
throws Exception
- Verifying the data before a test.
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.