testArchiveCompletedReservations() |  | 0% |  | 0% | 3 | 3 | 56 | 56 | 1 | 1 |
testUpdateReservation() |  | 0% |  | 0% | 3 | 3 | 35 | 35 | 1 | 1 |
testGetReservationsByTimeInterval() |  | 0% |  | 0% | 9 | 9 | 39 | 39 | 1 | 1 |
testDeleteReservation() |  | 0% |  | 0% | 3 | 3 | 34 | 34 | 1 | 1 |
checkAllocation(Plan, int[], int, long) |  | 0% |  | 0% | 5 | 5 | 20 | 20 | 1 | 1 |
testUpdatePeriodicReservation() |  | 0% | | n/a | 1 | 1 | 32 | 32 | 1 | 1 |
testGetReservationsById() |  | 0% |  | 0% | 5 | 5 | 22 | 22 | 1 | 1 |
testDeletePeriodicReservation() |  | 0% | | n/a | 1 | 1 | 26 | 26 | 1 | 1 |
testAddPeriodicReservation() |  | 0% | | n/a | 1 | 1 | 22 | 22 | 1 | 1 |
testAddReservationAlreadyExists() |  | 0% | | n/a | 1 | 1 | 22 | 22 | 1 | 1 |
testGetReservationsWithNoInput() |  | 0% |  | 0% | 3 | 3 | 17 | 17 | 1 | 1 |
testGetReservationsAtTime() |  | 0% |  | 0% | 3 | 3 | 17 | 17 | 1 | 1 |
testGetReservationsByInvalidId() |  | 0% |  | 0% | 2 | 2 | 16 | 16 | 1 | 1 |
testUpdateNonExistingReservation() |  | 0% | | n/a | 1 | 1 | 16 | 16 | 1 | 1 |
testAddReservation() |  | 0% | | n/a | 1 | 1 | 14 | 14 | 1 | 1 |
testPositiveGetRecurringReservationsHelper(long, long, long, long, long, long, int) |  | 0% |  | 0% | 2 | 2 | 9 | 9 | 1 | 1 |
testNegativeGetRecurringReservationsHelper(long, long, long, long, long, long, int) |  | 0% |  | 0% | 2 | 2 | 8 | 8 | 1 | 1 |
doAssertions(Plan, ReservationAllocation) |  | 0% |  | 0% | 3 | 3 | 13 | 13 | 1 | 1 |
createReservationAllocation(ReservationId, long, long, String) |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testDeleteNonExistingReservation() |  | 0% | | n/a | 1 | 1 | 12 | 12 | 1 | 1 |
testAddEmptyReservation() |  | 0% | | n/a | 1 | 1 | 12 | 12 | 1 | 1 |
setUp() |  | 0% | | n/a | 1 | 1 | 11 | 11 | 1 | 1 |
generateAllocation(int, int[], boolean) |  | 0% |  | 0% | 3 | 3 | 10 | 10 | 1 | 1 |
createReservationAllocation(ReservationId, int, int[], boolean, String) |  | 0% | | n/a | 1 | 1 | 8 | 8 | 1 | 1 |
testGetReservationsWithNoReservation() |  | 0% |  | 0% | 2 | 2 | 6 | 6 | 1 | 1 |
testOutOfRange() |  | 0% | | n/a | 1 | 1 | 5 | 5 | 1 | 1 |
createSimpleReservationDefinition(long, long, long, Collection, String) |  | 0% | | n/a | 1 | 1 | 9 | 9 | 1 | 1 |
submitReservation(Plan, long, long, long) |  | 0% | | n/a | 1 | 1 | 10 | 10 | 1 | 1 |
testGetReservationSearchIntervalBeforeReservationStart() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testGetReservationSearchIntervalGreaterThanPeriod() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testGetReservationReservationFitWithinSearchInterval() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testGetReservationReservationStartTimeOverlap() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testGetReservationReservationEndTimeOverlap() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testGetReservationSearchIntervalFitsInReservation() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testNegativeGetReservationSearchIntervalCloseToEndTime() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testNegativeGetReservationSearchIntervalCloseToStartTime() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testReservationIntervalGreaterThanPeriodInOrderWhenShifted() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
testEnsureReservationEndNotNegativeWhenShifted() |  | 0% | | n/a | 1 | 1 | 7 | 7 | 1 | 1 |
tearDown() |  | 0% | | n/a | 1 | 1 | 9 | 9 | 1 | 1 |
TestInMemoryPlan() |  | 0% | | n/a | 1 | 1 | 3 | 3 | 1 | 1 |
createReservationAllocation(ReservationId, int, int[]) |  | 0% | | n/a | 1 | 1 | 1 | 1 | 1 | 1 |
createReservationAllocation(ReservationId, int, int[], boolean) |  | 0% | | n/a | 1 | 1 | 1 | 1 | 1 | 1 |
createReservationAllocation(ReservationId, int, int[], String) |  | 0% | | n/a | 1 | 1 | 1 | 1 | 1 | 1 |