Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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

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
UserTest 1 0 0 0 100% 0
DisplayTest 2 0 0 0 100% 0
SlotTest 4 0 0 0 100% 0
ReservationRuleTest 2 0 0 0 100% 0
TimeSlotTest 2 0 0 0 100% 0
FormTest 2 0 0 0 100% 0
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

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.224
ReservationRuleServiceTest 1 0 0 0 100% 3.504
FormServiceTest 2 0 0 0 100% 0.039
ClosingDayServiceTest 1 0 0 0 100% 0.046
TimeSlotServiceTest 3 0 0 0 100% 0.069
AppointmentUtilitiesTest 17 0 0 0 100% 0.351
UtilitiesTest 3 0 0 0 100% 0
AppointmentServiceTest 19 0 0 0 100% 0.286
SlotServiceTest 3 0 0 0 100% 0.064
WorkingDayServiceTest 7 0 0 0 100% 0.299

Test Cases

[Summary] [Package List] [Test Cases]

WeekDefinitionServiceTest

testGetMinStartingTimeOfAListOfWeekDefinition 0.035
testGetMinDurationTimeSlotOfAListOfWeekDefinition 0.065
testGetMaxEndingTimeOfAWeekDefinition 0.016
testGetMinStartingTimeOfAWeekDefinition 0.013
testGetOpenDaysOfWeek 0.014
testFindWeekDefinitionByIdFormAndClosestToDateOfApply 0.042
testGetMaxEndingTimeOfAListOfWeekDefinition 0.038

ReservationRuleServiceTest

testFindReservationRuleByIdFormAndClosestToDateOfApply 3.475

FormRuleTest

testFindByIdForm 0
testFormRule 0

FormServiceTest

testCreateAppointmentForm 0.007
testCopyForm 0.032

WeekDefinitionTest

testFindByIdForm 0
testWeekDefinition 0

AppointmentTest

testAppointment 0
testFindByIdSlot 0
testFindByIdUser 0

UserTest

testUser 0

DisplayTest

testFindByIdForm 0
testDisplay 0

SlotTest

testFindByIdFormAndDateRange 0
testFindOpenSlotsByIdFormAndDateRange 0
testSlot 0
testFindOpenSlotsByIdForm 0

ClosingDayServiceTest

testFindListDateOfClosingDayByIdFormAndDateRange 0.046

TimeSlotServiceTest

testFindListTimeSlotAfterThisTimeSlot 0.022
testGetNextTimeSlotsInAListOfTimeSlotAfterALocalTime 0.024
testGetTimeSlotInListOfTimeSlotWithStartingTime 0.023

ReservationRuleTest

testFindByIdForm 0
testReservationRule 0

TimeSlotTest

testTimeSlot 0
testFindByIdWorkingDay 0

AppointmentUtilitiesTest

testNbDaysBetweenTwoAppointments2 0.037
testNbDaysBetweenTwoAppointments3 0.027
testNbDaysBetweenTwoAppointments4 0.025
testNbDaysBetweenTwoAppointments5 0.023
testGetMinTimeToDisplay 0
testGetMaxTimeToDisplay 0.001
testCheckNoValidatedAppointmentsOnThisSlot2 0.02
testCheckNbMaxAppointmentsOnAGivenPeriod2 0.032
testFindSlotsImpactedByThisTimeSlot 0.02
testCheckNoAppointmentsImpacted2 0.025
testNbDaysBetweenTwoAppointments 0.021
testCheckAndReturnNbBookedSeats2 0.025
testCheckAndReturnNbBookedSeats 0.019
testCheckNoValidatedAppointmentsOnThisSlot 0.018
testCheckNoAppointmentsImpacted 0.027
testSetAppointmentPhoneNumberValuesFromResponse 0.008
testCheckNbMaxAppointmentsOnAGivenPeriod 0.023

FormTest

testForm 0
testWeekDefinition 0

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.012
testAppointmentAndNbPotentialRemainingPlaces3 0.018
testRemoveAppointmentAndCheckNbRemainingPlaces2 0.022
testRemoveAppointmentAndCheckNbRemainingPlaces3 0.041
testRemoveAppointmentAndCheckNbRemainingPlaces4 0.015
testAppointmentAndNbRemainingPlaces2 0.013
testAppointmentAndNbRemainingPlaces3 0.012
testAppointmentAndNbPlacesTaken2 0.013
testAppointmentAndNbPlacesTaken3 0.012
testAppointmentAndNbRemainingPlaces 0.013
testAppointmentAndNbPlacesTaken 0.012
testCancelAppointment2 0.015
testCancelAppointment3 0.014
testRemoveAppointmentAndCheckNbRemainingPlaces 0.012
testMultipleAppointmentsOnSameSlot2 0.013
testMultipleAppointmentsOnSameSlot3 0.013
testAppointmentAndNbPotentialRemainingPlaces 0.011
testMultipleAppointmentsOnSameSlot 0.012
testCancelAppointment 0.012

SlotServiceTest

testOpenSlots 0.004
testOpenSlotsWithSpecificSlotsClosed 0.035
testOpenSlotsWithSpecificLargeSlots 0.025

WorkingDayServiceTest

testGetMinDurationTimeSlotOfAWorkingDay 0.043
testGetMaxEndingTimeOfAListOfWorkingDay 0.077
testGetMinStartingTimeOfAListOfWorkingDay 0.032
testGetMinStartingTimeOfAWorkingDay 0.027
testGetMaxEndingTimeOfAWorkingDay 0.026
testGetOpenDays 0.023
testGetMinDurationTimeSlotOfAListOfWorkingDay 0.071

CategoryTest

testCategory 0