Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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
1 0 0 0 100% 1
fr.paris.lutece.plugins.appointment.business 28 0 0 0 100% 4.604
fr.paris.lutece.plugins.appointment.service 63 0 0 0 100% 2.215

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

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

fr.paris.lutece.plugins.appointment.business

Class Tests Errors Failures Skipped Success Rate Time
AppointmentTest 3 0 0 0 100% 4.548
WeekDefinitionTest 2 0 0 0 100% 0.001
FormMessageTest 2 0 0 0 100% 0
FormTest 2 0 0 0 100% 0.018
UserTest 1 0 0 0 100% 0.001
DisplayTest 2 0 0 0 100% 0.001
FormRuleTest 2 0 0 0 100% 0.004
WorkingDayTest 2 0 0 0 100% 0.005
TimeSlotTest 2 0 0 0 100% 0.007
CategoryTest 1 0 0 0 100% 0
SlotTest 4 0 0 0 100% 0.011
ClosingDayTest 2 0 0 0 100% 0.006
ReservationRuleTest 2 0 0 0 100% 0.002
CalendarTemplateTest 1 0 0 0 100% 0

fr.paris.lutece.plugins.appointment.service

Class Tests Errors Failures Skipped Success Rate Time
WorkingDayServiceTest 7 0 0 0 100% 0.431
ClosingDayServiceTest 1 0 0 0 100% 0.03
UtilitiesTest 3 0 0 0 100% 0.005
TimeSlotServiceTest 3 0 0 0 100% 0.086
FormServiceTest 2 0 0 0 100% 0.085
WeekDefinitionServiceTest 7 0 0 0 100% 0.393
SlotServiceTest 3 0 0 0 100% 0.101
AppointmentServiceTest 19 0 0 0 100% 0.56
AppointmentUtilitiesTest 17 0 0 0 100% 0.493
ReservationRuleServiceTest 1 0 0 0 100% 0.031

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

AppointmentTest

testAppointment 4.496
testFindByIdSlot 0.016
testFindByIdUser 0.005

WeekDefinitionTest

testFindByIdForm 0
testWeekDefinition 0

FormMessageTest

testFindByIdForm 0
testFormMessage 0

FormTest

testForm 0
testWeekDefinition 0.018

UserTest

testUser 0.001

DisplayTest

testFindByIdForm 0
testDisplay 0

FormRuleTest

testFindByIdForm 0
testFormRule 0.004

WorkingDayTest

testWorkingDay 0.001
testFindByIdWeekDefinition 0.004

TimeSlotTest

testTimeSlot 0.003
testFindByIdWorkingDay 0.004

CategoryTest

testCategory 0

SlotTest

testFindByIdFormAndDateRange 0
testFindOpenSlotsByIdFormAndDateRange 0.004
testSlot 0.003
testFindOpenSlotsByIdForm 0.004

ClosingDayTest

testFindByIdFormAndDateOfCLosingDay 0.001
testClosingDay 0.005

ReservationRuleTest

testFindByIdForm 0
testReservationRule 0.002

CalendarTemplateTest

testCalendarTemplate 0

WorkingDayServiceTest

testGetMinDurationTimeSlotOfAWorkingDay 0.126
testGetMaxEndingTimeOfAListOfWorkingDay 0.091
testGetMinStartingTimeOfAListOfWorkingDay 0.04
testGetMinStartingTimeOfAWorkingDay 0.029
testGetMaxEndingTimeOfAWorkingDay 0.03
testGetOpenDays 0.027
testGetMinDurationTimeSlotOfAListOfWorkingDay 0.088

ClosingDayServiceTest

testFindListDateOfClosingDayByIdFormAndDateRange 0.03

UtilitiesTest

testGetClosestDateTimeInFuture 0.001
testGetFormatter 0.003
testGetClosestDateInPast 0

TimeSlotServiceTest

testFindListTimeSlotAfterThisTimeSlot 0.028
testGetNextTimeSlotsInAListOfTimeSlotAfterALocalTime 0.028
testGetTimeSlotInListOfTimeSlotWithStartingTime 0.028

FormServiceTest

testCreateAppointmentForm 0.023
testCopyForm 0.062

WeekDefinitionServiceTest

testGetMinStartingTimeOfAListOfWeekDefinition 0.067
testGetMinDurationTimeSlotOfAListOfWeekDefinition 0.104
testGetMaxEndingTimeOfAWeekDefinition 0.026
testGetMinStartingTimeOfAWeekDefinition 0.025
testGetOpenDaysOfWeek 0.024
testFindWeekDefinitionByIdFormAndClosestToDateOfApply 0.076
testGetMaxEndingTimeOfAListOfWeekDefinition 0.071

SlotServiceTest

testOpenSlots 0.033
testOpenSlotsWithSpecificSlotsClosed 0.039
testOpenSlotsWithSpecificLargeSlots 0.029

AppointmentServiceTest

testAppointmentAndNbPotentialRemainingPlaces2 0.033
testAppointmentAndNbPotentialRemainingPlaces3 0.026
testRemoveAppointmentAndCheckNbRemainingPlaces2 0.037
testRemoveAppointmentAndCheckNbRemainingPlaces3 0.03
testRemoveAppointmentAndCheckNbRemainingPlaces4 0.03
testAppointmentAndNbRemainingPlaces2 0.029
testAppointmentAndNbRemainingPlaces3 0.028
testAppointmentAndNbPlacesTaken2 0.027
testAppointmentAndNbPlacesTaken3 0.03
testAppointmentAndNbRemainingPlaces 0.027
testAppointmentAndNbPlacesTaken 0.028
testCancelAppointment2 0.032
testCancelAppointment3 0.031
testRemoveAppointmentAndCheckNbRemainingPlaces 0.028
testMultipleAppointmentsOnSameSlot2 0.028
testMultipleAppointmentsOnSameSlot3 0.03
testAppointmentAndNbPotentialRemainingPlaces 0.027
testMultipleAppointmentsOnSameSlot 0.029
testCancelAppointment 0.03

AppointmentUtilitiesTest

testNbDaysBetweenTwoAppointments2 0.036
testNbDaysBetweenTwoAppointments3 0.033
testNbDaysBetweenTwoAppointments4 0.033
testNbDaysBetweenTwoAppointments5 0.034
testGetMinTimeToDisplay 0
testGetMaxTimeToDisplay 0
testCheckNoValidatedAppointmentsOnThisSlot2 0.03
testCheckNbMaxAppointmentsOnAGivenPeriod2 0.049
testFindSlotsImpactedByThisTimeSlot 0.045
testCheckNoAppointmentsImpacted2 0.037
testNbDaysBetweenTwoAppointments 0.031
testCheckAndReturnNbBookedSeats2 0.034
testCheckAndReturnNbBookedSeats 0.028
testCheckNoValidatedAppointmentsOnThisSlot 0.027
testCheckNoAppointmentsImpacted 0.037
testSetAppointmentPhoneNumberValuesFromResponse 0.005
testCheckNbMaxAppointmentsOnAGivenPeriod 0.033

ReservationRuleServiceTest

testFindReservationRuleByIdFormAndClosestToDateOfApply 0.031