Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
92 0 0 0 100% 6.374

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
fr.paris.lutece.plugins.appointment.business 28 0 0 0 100% 0.017
1 0 0 0 100% 1
fr.paris.lutece.plugins.appointment.service 63 0 0 0 100% 5.357

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

fr.paris.lutece.plugins.appointment.business

Class Tests Errors Failures Skipped Success Rate Time
FormRuleTest 2 0 0 0 100% 0
WeekDefinitionTest 2 0 0 0 100% 0
AppointmentTest 3 0 0 0 100% 0.003
UserTest 1 0 0 0 100% 0
DisplayTest 2 0 0 0 100% 0
SlotTest 4 0 0 0 100% 0.005
ReservationRuleTest 2 0 0 0 100% 0.001
TimeSlotTest 2 0 0 0 100% 0
FormTest 2 0 0 0 100% 0.003
CalendarTemplateTest 1 0 0 0 100% 0
ClosingDayTest 2 0 0 0 100% 0
WorkingDayTest 2 0 0 0 100% 0
FormMessageTest 2 0 0 0 100% 0
CategoryTest 1 0 0 0 100% 0.005

Class Tests Errors Failures Skipped Success Rate Time
antrunsql 1 0 0 0 100% 1

fr.paris.lutece.plugins.appointment.service

Class Tests Errors Failures Skipped Success Rate Time
WeekDefinitionServiceTest 7 0 0 0 100% 0.266
ReservationRuleServiceTest 1 0 0 0 100% 3.731
FormServiceTest 2 0 0 0 100% 0.048
ClosingDayServiceTest 1 0 0 0 100% 0.049
TimeSlotServiceTest 3 0 0 0 100% 0.072
AppointmentUtilitiesTest 17 0 0 0 100% 0.417
UtilitiesTest 3 0 0 0 100% 0.001
AppointmentServiceTest 19 0 0 0 100% 0.379
SlotServiceTest 3 0 0 0 100% 0.097
WorkingDayServiceTest 7 0 0 0 100% 0.297

Test Cases

[Summary] [Package List] [Test Cases]

WeekDefinitionServiceTest

testGetMinStartingTimeOfAListOfWeekDefinition 0.046
testGetMinDurationTimeSlotOfAListOfWeekDefinition 0.07
testGetMaxEndingTimeOfAWeekDefinition 0.017
testGetMinStartingTimeOfAWeekDefinition 0.016
testGetOpenDaysOfWeek 0.017
testFindWeekDefinitionByIdFormAndClosestToDateOfApply 0.051
testGetMaxEndingTimeOfAListOfWeekDefinition 0.049

ReservationRuleServiceTest

testFindReservationRuleByIdFormAndClosestToDateOfApply 3.699

FormRuleTest

testFindByIdForm 0
testFormRule 0

FormServiceTest

testCreateAppointmentForm 0.012
testCopyForm 0.036

WeekDefinitionTest

testFindByIdForm 0
testWeekDefinition 0

AppointmentTest

testAppointment 0
testFindByIdSlot 0.002
testFindByIdUser 0.001

UserTest

testUser 0

DisplayTest

testFindByIdForm 0
testDisplay 0

SlotTest

testFindByIdFormAndDateRange 0.001
testFindOpenSlotsByIdFormAndDateRange 0.001
testSlot 0.001
testFindOpenSlotsByIdForm 0.001

ClosingDayServiceTest

testFindListDateOfClosingDayByIdFormAndDateRange 0.049

TimeSlotServiceTest

testFindListTimeSlotAfterThisTimeSlot 0.023
testGetNextTimeSlotsInAListOfTimeSlotAfterALocalTime 0.024
testGetTimeSlotInListOfTimeSlotWithStartingTime 0.024

ReservationRuleTest

testFindByIdForm 0
testReservationRule 0

TimeSlotTest

testTimeSlot 0
testFindByIdWorkingDay 0

AppointmentUtilitiesTest

testNbDaysBetweenTwoAppointments2 0.044
testNbDaysBetweenTwoAppointments3 0.032
testNbDaysBetweenTwoAppointments4 0.032
testNbDaysBetweenTwoAppointments5 0.033
testGetMinTimeToDisplay 0
testGetMaxTimeToDisplay 0
testCheckNoValidatedAppointmentsOnThisSlot2 0.028
testCheckNbMaxAppointmentsOnAGivenPeriod2 0.036
testFindSlotsImpactedByThisTimeSlot 0.032
testCheckNoAppointmentsImpacted2 0.026
testNbDaysBetweenTwoAppointments 0.024
testCheckAndReturnNbBookedSeats2 0.028
testCheckAndReturnNbBookedSeats 0.021
testCheckNoValidatedAppointmentsOnThisSlot 0.02
testCheckNoAppointmentsImpacted 0.032
testSetAppointmentPhoneNumberValuesFromResponse 0.006
testCheckNbMaxAppointmentsOnAGivenPeriod 0.023

FormTest

testForm 0
testWeekDefinition 0.003

antrunsql

antrunsql 1

CalendarTemplateTest

testCalendarTemplate 0

ClosingDayTest

testFindByIdFormAndDateOfCLosingDay 0
testClosingDay 0

WorkingDayTest

testWorkingDay 0
testFindByIdWeekDefinition 0

FormMessageTest

testFindByIdForm 0
testFormMessage 0

UtilitiesTest

testGetClosestDateTimeInFuture 0
testGetFormatter 0
testGetClosestDateInPast 0

AppointmentServiceTest

testAppointmentAndNbPotentialRemainingPlaces2 0.017
testAppointmentAndNbPotentialRemainingPlaces3 0.017
testRemoveAppointmentAndCheckNbRemainingPlaces2 0.025
testRemoveAppointmentAndCheckNbRemainingPlaces3 0.02
testRemoveAppointmentAndCheckNbRemainingPlaces4 0.018
testAppointmentAndNbRemainingPlaces2 0.017
testAppointmentAndNbRemainingPlaces3 0.017
testAppointmentAndNbPlacesTaken2 0.017
testAppointmentAndNbPlacesTaken3 0.016
testAppointmentAndNbRemainingPlaces 0.017
testAppointmentAndNbPlacesTaken 0.016
testCancelAppointment2 0.022
testCancelAppointment3 0.049
testRemoveAppointmentAndCheckNbRemainingPlaces 0.019
testMultipleAppointmentsOnSameSlot2 0.019
testMultipleAppointmentsOnSameSlot3 0.018
testAppointmentAndNbPotentialRemainingPlaces 0.016
testMultipleAppointmentsOnSameSlot 0.019
testCancelAppointment 0.017

SlotServiceTest

testOpenSlots 0.033
testOpenSlotsWithSpecificSlotsClosed 0.037
testOpenSlotsWithSpecificLargeSlots 0.027

WorkingDayServiceTest

testGetMinDurationTimeSlotOfAWorkingDay 0.029
testGetMaxEndingTimeOfAListOfWorkingDay 0.078
testGetMinStartingTimeOfAListOfWorkingDay 0.034
testGetMinStartingTimeOfAWorkingDay 0.031
testGetMaxEndingTimeOfAWorkingDay 0.025
testGetOpenDays 0.025
testGetMinDurationTimeSlotOfAListOfWorkingDay 0.074

CategoryTest

testCategory 0.005