|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.resourcemanager.services.ReservationServiceTest
@ContextConfiguration(locations={"/spring-resource-manager-datasource.xml","/spring-resource-manager.xml"}) @Transactional @TransactionConfiguration(transactionManager="jpaTransactionManager") public class ReservationServiceTest
Constructor Summary | |
---|---|
ReservationServiceTest()
|
Method Summary | |
---|---|
void |
generalSetUp()
|
static void |
prepareDataset()
|
void |
testComputeReservationStatus()
Test of computeReservationStatus method, of class ReservationService. |
void |
testCreateReservation()
Test of createReservation method, of class ReservationService. |
void |
testCreateReservationFromUserNotManagerOfResource()
Test of createReservation method, of class ReservationService. |
void |
testCreateReservationWithResourceFromUserManagerOfResource()
Test of createReservation method, of class ReservationService. |
void |
testCreateReservationWithResources()
Test of createReservation method, of class ReservationService. |
void |
testDeleteReservation()
Test of deleteReservation method, of class ReservationService. |
void |
testFindAllReservations()
Test of findAllReservations method, of class ReservationService. |
void |
testFindAllReservationsForAllUsersAndCategoryInRange()
Test of findAllReservationsForCategoryInRange method, of class ReservationService. |
void |
testFindAllReservationsForAllUsersAndResourceInRange()
Test of findAllReservationsForCategoryInRange method, of class ReservationService. |
void |
testFindAllReservationsForAllUsersInRange()
Test of findAllReservationsForValidation method, of class ReservationService. |
void |
testFindAllReservationsForUnknownUserAndCategoryInRange()
Test of findAllReservationsForCategoryInRange method, of class ReservationService. |
void |
testFindAllReservationsForUnknownUserAndResourceInRange()
Test of findAllReservationsForCategoryInRange method, of class ReservationService. |
void |
testFindAllReservationsForUnknownUserInRange()
Test of findAllReservationsForValidation method, of class ReservationService. |
void |
testFindAllReservationsForUser()
Test of findAllReservations method, of class ReservationService. |
void |
testFindAllReservationsForUser2AndCategoryInRange()
Test of findAllReservationsForCategoryInRange method, of class ReservationService. |
void |
testFindAllReservationsForUser2AndResourceInRange()
Test of findAllReservationsForCategoryInRange method, of class ReservationService. |
void |
testFindAllReservationsForUser2InRange()
Test of findAllReservationsForValidation method, of class ReservationService. |
void |
testFindAllReservationsForValidation()
Test of findAllReservationsForValidation method, of class ReservationService. |
void |
testGetReservation()
Test of getReservation method, of class ReservationService. |
void |
testUpdateReservation()
Test of updateReservation method, of class ReservationService. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReservationServiceTest()
Method Detail |
---|
public static void prepareDataset() throws Exception
Exception
public void generalSetUp() throws Exception
Exception
public void testCreateReservation()
public void testCreateReservationWithResources()
public void testCreateReservationFromUserNotManagerOfResource()
public void testCreateReservationWithResourceFromUserManagerOfResource()
public void testComputeReservationStatus()
public void testUpdateReservation()
public void testGetReservation()
public void testDeleteReservation()
public void testFindAllReservations()
public void testFindAllReservationsForUser()
public void testFindAllReservationsForValidation()
public void testFindAllReservationsForAllUsersInRange()
public void testFindAllReservationsForUser2InRange()
public void testFindAllReservationsForUnknownUserInRange()
public void testFindAllReservationsForAllUsersAndCategoryInRange()
public void testFindAllReservationsForUser2AndCategoryInRange()
public void testFindAllReservationsForUnknownUserAndCategoryInRange()
public void testFindAllReservationsForAllUsersAndResourceInRange()
public void testFindAllReservationsForUser2AndResourceInRange()
public void testFindAllReservationsForUnknownUserAndResourceInRange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |