|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.silverpeas.DataSetTest
org.silverpeas.persistence.dao.DAOBasedTest
com.silverpeas.subscribe.service.SubscriptionDaoTest
public class SubscriptionDaoTest
| 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 | |
|---|---|
SubscriptionDaoTest()
|
|
| Method Summary | |
|---|---|
String[] |
getApplicationContextPath()
|
String |
getDataSetPath()
|
void |
testAddComponentSubscriptionForGroupByExplicitDifferentCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddComponentSubscriptionForUserByForcedMethodAndExplicitDifferentCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddComponentSubscriptionForUserBySelfCreationMethod()
Test of add method, of class SubscriptionDao. |
void |
testAddComponentSubscriptionForUserBySelfCreationMethodAndExplicitCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddNodeSubscriptionForGroupByExplicitCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddNodeSubscriptionForGroupByExplicitDifferentCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddNodeSubscriptionForUnknownBySelfCreationMethod()
Test of add method, of class SubscriptionDao. |
void |
testAddNodeSubscriptionForUserByForcedMethodAndExplicitDifferentCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddNodeSubscriptionForUserBySelfCreationMethod()
Test of add method, of class SubscriptionDao. |
void |
testAddNodeSubscriptionForUserBySelfCreationMethodAndExplicitCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testAddPKSubscriptionForUserBySelfCreation()
Test of add method, of class SubscriptionDao. |
void |
testComponentNodeSubscriptionForGroupByExplicitCreatorId()
Test of add method, of class SubscriptionDao. |
void |
testExistsSubscription()
Test of existsSubscription method, of class SubscriptionDao. |
void |
testGetSubscribersForComponentResource()
Test of getSubscribers method, of class SubscriptionDao. |
void |
testGetSubscribersForNodeResource()
Test of getSubscribers method, of class SubscriptionDao. |
void |
testGetSubscribersForNodeResources()
Test of getSubscribers method, of class SubscriptionDao. |
void |
testGetSubscribersForPKResource()
Test of getSubscribers method, of class SubscriptionDao. |
void |
testGetSubscriptionsByComponentResource()
Test of getSubscriptionsByResource method, of class SubscriptionDao. |
void |
testGetSubscriptionsByGroupSubscriber()
Test of getSubscriptionsBySubscriber method, of class SubscriptionDao. |
void |
testGetSubscriptionsByGroupSubscriberAndComponent()
Test of getSubscriptionsBySubscriberAndComponent method, of class SubscriptionDao. |
void |
testGetSubscriptionsByGroupSubscriberAndInstanceId()
Test of selectSubscriptionsBySubscriberAndInstanceId method, included in this class of tests. |
void |
testGetSubscriptionsByNodeResource()
Test of getSubscriptionsByResource method, of class SubscriptionDao. |
void |
testGetSubscriptionsByPKResource()
Test of getSubscriptionsByResource method, of class SubscriptionDao. |
void |
testGetSubscriptionsByUserSubscriber()
Test of getSubscriptionsBySubscriber method, of class SubscriptionDao. |
void |
testGetSubscriptionsByUserSubscriberAndComponent()
Test of getSubscriptionsBySubscriberAndComponent method, of class SubscriptionDao. |
void |
testGetSubscriptionsByUserSubscriberAndInstanceId()
Test of selectSubscriptionsBySubscriberAndInstanceId method, included in this class of tests. |
void |
testRemoveByResource()
Test of removeByResource method, of class SubscriptionDao. |
void |
testRemoveByUserSubscriberBySelfCreation()
Test of removeBySubscriber method, of class SubscriptionDao. |
void |
testRemoveComponentSubscriptionForGroup()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveComponentSubscriptionForUserByForcedMethodWithExplicitDifferentCreatorId()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveComponentSubscriptionForUserBySelfCreationMethod()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveComponentSubscriptionForUserBySelfCreationMethodWithExplicitCreatorId()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveNodeSubscriptionForGroup()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveNodeSubscriptionForUserByForcedMethodWithExplicitDifferentCreatorId()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveNodeSubscriptionForUserBySelfCreationMethod()
Test of remove method, of class SubscriptionDao. |
void |
testRemoveNodeSubscriptionForUserBySelfCreationMethodWithExplicitCreatorId()
Test of remove method, of class SubscriptionDao. |
void |
testRemovePKSubscriptionForUserBySelfCreationMethod()
Test of remove method, of class SubscriptionDao. |
| 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 |
|---|
public SubscriptionDaoTest()
| Method Detail |
|---|
public String getDataSetPath()
getDataSetPath in class DataSetTestpublic String[] getApplicationContextPath()
getApplicationContextPath in class DataSetTest
public void testGetSubscriptionsByNodeResource()
throws Exception
Exception
public void testGetSubscriptionsByComponentResource()
throws Exception
Exception
public void testGetSubscriptionsByPKResource()
throws Exception
Exception
public void testAddNodeSubscriptionForUnknownBySelfCreationMethod()
throws Exception
Exception
public void testAddNodeSubscriptionForUserBySelfCreationMethod()
throws Exception
Exception
public void testAddNodeSubscriptionForUserBySelfCreationMethodAndExplicitCreatorId()
throws Exception
Exception
public void testAddNodeSubscriptionForUserByForcedMethodAndExplicitDifferentCreatorId()
throws Exception
Exception
public void testAddNodeSubscriptionForGroupByExplicitCreatorId()
throws Exception
Exception
public void testAddNodeSubscriptionForGroupByExplicitDifferentCreatorId()
throws Exception
Exception
public void testAddComponentSubscriptionForUserBySelfCreationMethod()
throws Exception
Exception
public void testAddComponentSubscriptionForUserBySelfCreationMethodAndExplicitCreatorId()
throws Exception
Exception
public void testAddComponentSubscriptionForUserByForcedMethodAndExplicitDifferentCreatorId()
throws Exception
Exception
public void testComponentNodeSubscriptionForGroupByExplicitCreatorId()
throws Exception
Exception
public void testAddComponentSubscriptionForGroupByExplicitDifferentCreatorId()
throws Exception
Exception
public void testAddPKSubscriptionForUserBySelfCreation()
throws Exception
Exception
public void testRemoveNodeSubscriptionForUserBySelfCreationMethod()
throws Exception
Exception
public void testRemoveNodeSubscriptionForUserBySelfCreationMethodWithExplicitCreatorId()
throws Exception
Exception
public void testRemoveNodeSubscriptionForUserByForcedMethodWithExplicitDifferentCreatorId()
throws Exception
Exception
public void testRemoveNodeSubscriptionForGroup()
throws Exception
Exception
public void testRemoveComponentSubscriptionForUserBySelfCreationMethod()
throws Exception
Exception
public void testRemoveComponentSubscriptionForUserBySelfCreationMethodWithExplicitCreatorId()
throws Exception
Exception
public void testRemoveComponentSubscriptionForUserByForcedMethodWithExplicitDifferentCreatorId()
throws Exception
Exception
public void testRemoveComponentSubscriptionForGroup()
throws Exception
Exception
public void testRemovePKSubscriptionForUserBySelfCreationMethod()
throws Exception
Exception
public void testRemoveByUserSubscriberBySelfCreation()
throws Exception
Exception
public void testRemoveByResource()
throws Exception
Exception
public void testExistsSubscription()
throws Exception
Exception
public void testGetSubscriptionsByUserSubscriber()
throws Exception
Exception
public void testGetSubscriptionsByGroupSubscriber()
throws Exception
Exception
public void testGetSubscriptionsByUserSubscriberAndComponent()
throws Exception
Exception
public void testGetSubscriptionsByGroupSubscriberAndComponent()
throws Exception
Exception
public void testGetSubscribersForNodeResource()
throws Exception
Exception
public void testGetSubscribersForComponentResource()
throws Exception
Exception
public void testGetSubscribersForPKResource()
throws Exception
Exception
public void testGetSubscribersForNodeResources()
throws Exception
Exception
public void testGetSubscriptionsByUserSubscriberAndInstanceId()
throws Exception
Exception
public void testGetSubscriptionsByGroupSubscriberAndInstanceId()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||