org.silverpeas.dateReminder.persistent.service
Class PersistentDateReminderServiceTest

java.lang.Object
  extended by org.silverpeas.DataSetTest
      extended by org.silverpeas.persistence.jpa.RepositoryBasedTest
          extended by org.silverpeas.dateReminder.persistent.service.PersistentDateReminderServiceTest

public class PersistentDateReminderServiceTest
extends RepositoryBasedTest

Author:
Cécile Bonin

Nested Class Summary
 
Nested classes/interfaces inherited from class org.silverpeas.DataSetTest
DataSetTest.TableRow
 
Field Summary
 MockByReflectionRule reflectionRule
           
 
Constructor Summary
PersistentDateReminderServiceTest()
           
 
Method Summary
 void generalSetUp()
           
 String[] getApplicationContextPath()
           
 String getDataSetPath()
           
 void testCreateFromNewKey()
           
 void testCreateNotValidDateReminder()
           
 void testCreateNotValidResource()
           
 void testCreateNotValidResourceAndDateReminder()
           
 void testCreateNullDateReminder()
           
 void testCreateNullNull()
           
 void testCreateNullResource()
           
 void testGetDummyDateReminder()
           
 void testGetExistingDateReminder()
           
 void testGetNullDateReminder()
           
 void testRemoveFromExistingKey()
           
 void testSetFromExistingKey()
           
 void testSetNotValidDateReminder()
           
 void testSetNotValidResource()
           
 void testSetNotValidResourceAndDateReminder()
           
 void testSetNullDateReminder()
           
 void testSetNullNull()
           
 void testSetNullResource()
           
 void testSetProcessStatus()
           
 
Methods inherited from class org.silverpeas.persistence.jpa.RepositoryBasedTest
getDataSourceInjectionBeanId
 
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
 

Field Detail

reflectionRule

public MockByReflectionRule reflectionRule
Constructor Detail

PersistentDateReminderServiceTest

public PersistentDateReminderServiceTest()
Method Detail

getDataSetPath

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

getApplicationContextPath

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

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

testGetNullDateReminder

public void testGetNullDateReminder()

testGetDummyDateReminder

public void testGetDummyDateReminder()

testGetExistingDateReminder

public void testGetExistingDateReminder()

testCreateFromNewKey

public void testCreateFromNewKey()
                          throws Exception
Throws:
Exception

testCreateNullNull

public void testCreateNullNull()
                        throws Exception
Throws:
Exception

testCreateNullResource

public void testCreateNullResource()
                            throws Exception
Throws:
Exception

testCreateNullDateReminder

public void testCreateNullDateReminder()
                                throws Exception
Throws:
Exception

testCreateNotValidResourceAndDateReminder

public void testCreateNotValidResourceAndDateReminder()
                                               throws Exception
Throws:
Exception

testCreateNotValidResource

public void testCreateNotValidResource()
                                throws Exception
Throws:
Exception

testCreateNotValidDateReminder

public void testCreateNotValidDateReminder()
                                    throws Exception
Throws:
Exception

testSetNullNull

public void testSetNullNull()
                     throws Exception
Throws:
Exception

testSetNullResource

public void testSetNullResource()
                         throws Exception
Throws:
Exception

testSetNullDateReminder

public void testSetNullDateReminder()
                             throws Exception
Throws:
Exception

testSetNotValidResourceAndDateReminder

public void testSetNotValidResourceAndDateReminder()
                                            throws Exception
Throws:
Exception

testSetNotValidResource

public void testSetNotValidResource()
                             throws Exception
Throws:
Exception

testSetNotValidDateReminder

public void testSetNotValidDateReminder()
                                 throws Exception
Throws:
Exception

testSetFromExistingKey

public void testSetFromExistingKey()
                            throws Exception
Throws:
Exception

testSetProcessStatus

public void testSetProcessStatus()
                          throws Exception
Throws:
Exception

testRemoveFromExistingKey

public void testRemoveFromExistingKey()
                               throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.