com.stratelia.webactiv.almanach.control.ejb
Class AlmanachBmEJBTest

java.lang.Object
  extended by com.silverpeas.components.model.AbstractJndiCase
      extended by com.stratelia.webactiv.almanach.BaseAlmanachTest
          extended by com.stratelia.webactiv.almanach.control.ejb.AlmanachBmEJBTest

public class AlmanachBmEJBTest
extends BaseAlmanachTest

Unit tests on the implementation of some almanach EJB business operations.


Field Summary
 
Fields inherited from class com.stratelia.webactiv.almanach.BaseAlmanachTest
almanachIds, TEST_MONTH, TEST_YEAR
 
Fields inherited from class com.silverpeas.components.model.AbstractJndiCase
baseTest
 
Constructor Summary
AlmanachBmEJBTest()
           
 
Method Summary
 void eventOccurrencesInAGivenMonthShouldBeCorrectlyObtained()
           
 void eventOccurrencesInAGivenWeekShouldBeCorrectlyObtained()
           
 void eventOccurrencesInAGivenYearShouldBeCorrectlyObtained()
           
 void prepareAlmanachBmEJB()
           
 void testGenerateRecurrenceRule()
          Test of generateRecurrenceRule method, of class AlmanachBmEJB.
 void theNextEventOccurrencesShouldBeCorrectlyObtained()
           
 
Methods inherited from class com.stratelia.webactiv.almanach.BaseAlmanachTest
bootstrapDatabase, dateToUseInTests, generalSetUp, getConnection, getDate, shutdownDatabase
 
Methods inherited from class com.silverpeas.components.model.AbstractJndiCase
executeDDL, loadDDL, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlmanachBmEJBTest

public AlmanachBmEJBTest()
Method Detail

prepareAlmanachBmEJB

public void prepareAlmanachBmEJB()

testGenerateRecurrenceRule

public void testGenerateRecurrenceRule()
Test of generateRecurrenceRule method, of class AlmanachBmEJB.


eventOccurrencesInAGivenYearShouldBeCorrectlyObtained

public void eventOccurrencesInAGivenYearShouldBeCorrectlyObtained()
                                                           throws Exception
Throws:
Exception

eventOccurrencesInAGivenMonthShouldBeCorrectlyObtained

public void eventOccurrencesInAGivenMonthShouldBeCorrectlyObtained()
                                                            throws Exception
Throws:
Exception

eventOccurrencesInAGivenWeekShouldBeCorrectlyObtained

public void eventOccurrencesInAGivenWeekShouldBeCorrectlyObtained()
                                                           throws Exception
Throws:
Exception

theNextEventOccurrencesShouldBeCorrectlyObtained

public void theNextEventOccurrencesShouldBeCorrectlyObtained()
                                                      throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.