Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
92 0 1 0 98,913% 7,01

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 1 0 0% 1
fr.paris.lutece.plugins.appointment.business 28 0 0 0 100% 4,045
fr.paris.lutece.plugins.appointment.service 63 0 0 0 100% 1,965

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 1 0 0% 1

fr.paris.lutece.plugins.appointment.business

Class Tests Errors Failures Skipped Success Rate Time
AppointmentTest 3 0 0 0 100% 3,945
WeekDefinitionTest 2 0 0 0 100% 0,005
FormMessageTest 2 0 0 0 100% 0,005
FormTest 2 0 0 0 100% 0,027
UserTest 1 0 0 0 100% 0
DisplayTest 2 0 0 0 100% 0,009
FormRuleTest 2 0 0 0 100% 0,005
WorkingDayTest 2 0 0 0 100% 0,008
TimeSlotTest 2 0 0 0 100% 0,011
CategoryTest 1 0 0 0 100% 0,002
SlotTest 4 0 0 0 100% 0,015
ClosingDayTest 2 0 0 0 100% 0,006
ReservationRuleTest 2 0 0 0 100% 0,005
CalendarTemplateTest 1 0 0 0 100% 0,002

fr.paris.lutece.plugins.appointment.service

Class Tests Errors Failures Skipped Success Rate Time
WorkingDayServiceTest 7 0 0 0 100% 0,456
ClosingDayServiceTest 1 0 0 0 100% 0,031
UtilitiesTest 3 0 0 0 100% 0,005
TimeSlotServiceTest 3 0 0 0 100% 0,09
FormServiceTest 2 0 0 0 100% 0,089
WeekDefinitionServiceTest 7 0 0 0 100% 0,379
SlotServiceTest 3 0 0 0 100% 0,09
AppointmentServiceTest 19 0 0 0 100% 0,451
AppointmentUtilitiesTest 17 0 0 0 100% 0,365
ReservationRuleServiceTest 1 0 0 0 100% 0,009

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

AppointmentTest

testAppointment 3,887
testFindByIdSlot 0,015
testFindByIdUser 0,011

WeekDefinitionTest

testFindByIdForm 0
testWeekDefinition 0,005

FormMessageTest

testFindByIdForm 0
testFormMessage 0,005

FormTest

testForm 0,004
testWeekDefinition 0,023

UserTest

testUser 0

DisplayTest

testFindByIdForm 0,005
testDisplay 0,004

FormRuleTest

testFindByIdForm 0
testFormRule 0,005

WorkingDayTest

testWorkingDay 0,003
testFindByIdWeekDefinition 0,005

TimeSlotTest

testTimeSlot 0,006
testFindByIdWorkingDay 0,005

CategoryTest

testCategory 0,002

SlotTest

testFindByIdFormAndDateRange 0,002
testFindOpenSlotsByIdFormAndDateRange 0,003
testSlot 0,004
testFindOpenSlotsByIdForm 0,005

ClosingDayTest

testFindByIdFormAndDateOfCLosingDay 0,002
testClosingDay 0,004

ReservationRuleTest

testFindByIdForm 0,001
testReservationRule 0,004

CalendarTemplateTest

testCalendarTemplate 0,002

WorkingDayServiceTest

testGetMinDurationTimeSlotOfAWorkingDay 0,111
testGetMaxEndingTimeOfAListOfWorkingDay 0,105
testGetMinStartingTimeOfAListOfWorkingDay 0,046
testGetMinStartingTimeOfAWorkingDay 0,034
testGetMaxEndingTimeOfAWorkingDay 0,035
testGetOpenDays 0,034
testGetMinDurationTimeSlotOfAListOfWorkingDay 0,091

ClosingDayServiceTest

testFindListDateOfClosingDayByIdFormAndDateRange 0,031

UtilitiesTest

testGetClosestDateTimeInFuture 0,002
testGetFormatter 0,002
testGetClosestDateInPast 0

TimeSlotServiceTest

testFindListTimeSlotAfterThisTimeSlot 0,029
testGetNextTimeSlotsInAListOfTimeSlotAfterALocalTime 0,031
testGetTimeSlotInListOfTimeSlotWithStartingTime 0,03

FormServiceTest

testCreateAppointmentForm 0,025
testCopyForm 0,062

WeekDefinitionServiceTest

testGetMinStartingTimeOfAListOfWeekDefinition 0,073
testGetMinDurationTimeSlotOfAListOfWeekDefinition 0,11
testGetMaxEndingTimeOfAWeekDefinition 0,022
testGetMinStartingTimeOfAWeekDefinition 0,023
testGetOpenDaysOfWeek 0,022
testFindWeekDefinitionByIdFormAndClosestToDateOfApply 0,068
testGetMaxEndingTimeOfAListOfWeekDefinition 0,061

SlotServiceTest

testOpenSlots 0,031
testOpenSlotsWithSpecificSlotsClosed 0,035
testOpenSlotsWithSpecificLargeSlots 0,024

AppointmentServiceTest

testAppointmentAndNbPotentialRemainingPlaces2 0,025
testAppointmentAndNbPotentialRemainingPlaces3 0,022
testRemoveAppointmentAndCheckNbRemainingPlaces2 0,03
testRemoveAppointmentAndCheckNbRemainingPlaces3 0,026
testRemoveAppointmentAndCheckNbRemainingPlaces4 0,027
testAppointmentAndNbRemainingPlaces2 0,026
testAppointmentAndNbRemainingPlaces3 0,025
testAppointmentAndNbPlacesTaken2 0,023
testAppointmentAndNbPlacesTaken3 0,023
testAppointmentAndNbRemainingPlaces 0,022
testAppointmentAndNbPlacesTaken 0,021
testCancelAppointment2 0,025
testCancelAppointment3 0,024
testRemoveAppointmentAndCheckNbRemainingPlaces 0,021
testMultipleAppointmentsOnSameSlot2 0,022
testMultipleAppointmentsOnSameSlot3 0,022
testAppointmentAndNbPotentialRemainingPlaces 0,022
testMultipleAppointmentsOnSameSlot 0,021
testCancelAppointment 0,023

AppointmentUtilitiesTest

testNbDaysBetweenTwoAppointments2 0,03
testNbDaysBetweenTwoAppointments3 0,025
testNbDaysBetweenTwoAppointments4 0,025
testNbDaysBetweenTwoAppointments5 0,026
testGetMinTimeToDisplay 0
testGetMaxTimeToDisplay 0
testCheckNoValidatedAppointmentsOnThisSlot2 0,023
testCheckNbMaxAppointmentsOnAGivenPeriod2 0,029
testFindSlotsImpactedByThisTimeSlot 0,021
testCheckNoAppointmentsImpacted2 0,045
testNbDaysBetweenTwoAppointments 0,021
testCheckAndReturnNbBookedSeats2 0,027
testCheckAndReturnNbBookedSeats 0,02
testCheckNoValidatedAppointmentsOnThisSlot 0,017
testCheckNoAppointmentsImpacted 0,029
testSetAppointmentPhoneNumberValuesFromResponse 0,003
testCheckNbMaxAppointmentsOnAGivenPeriod 0,024

ReservationRuleServiceTest

testFindReservationRuleByIdFormAndClosestToDateOfApply 0,009

Failure Details

[Summary] [Package List] [Test Cases]


antrunsql
antrunsql