Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
92 0 2 0 97.826% 6.136

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% 3.617
fr.paris.lutece.plugins.appointment.service 63 0 1 0 98.413% 1.519

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.561
WeekDefinitionTest 2 0 0 0 100% 0
FormMessageTest 2 0 0 0 100% 0
FormTest 2 0 0 0 100% 0.01
UserTest 1 0 0 0 100% 0
DisplayTest 2 0 0 0 100% 0.005
FormRuleTest 2 0 0 0 100% 0.004
WorkingDayTest 2 0 0 0 100% 0.008
TimeSlotTest 2 0 0 0 100% 0.008
CategoryTest 1 0 0 0 100% 0.001
SlotTest 4 0 0 0 100% 0.012
ClosingDayTest 2 0 0 0 100% 0.004
ReservationRuleTest 2 0 0 0 100% 0.004
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.341
ClosingDayServiceTest 1 0 0 0 100% 0.024
UtilitiesTest 3 0 1 0 66.667% 0.014
TimeSlotServiceTest 3 0 0 0 100% 0.071
FormServiceTest 2 0 0 0 100% 0.068
WeekDefinitionServiceTest 7 0 0 0 100% 0.295
SlotServiceTest 3 0 0 0 100% 0.074
AppointmentServiceTest 19 0 0 0 100% 0.33
AppointmentUtilitiesTest 17 0 0 0 100% 0.284
ReservationRuleServiceTest 1 0 0 0 100% 0.018

Test Cases

[Summary] [Package List] [Test Cases]

antrunsql

antrunsql 1

AppointmentTest

testAppointment 3.51
testFindByIdSlot 0.012
testFindByIdUser 0.005

WeekDefinitionTest

testFindByIdForm 0
testWeekDefinition 0

FormMessageTest

testFindByIdForm 0
testFormMessage 0

FormTest

testForm 0
testWeekDefinition 0.01

UserTest

testUser 0

DisplayTest

testFindByIdForm 0.001
testDisplay 0.003

FormRuleTest

testFindByIdForm 0.001
testFormRule 0.003

WorkingDayTest

testWorkingDay 0.004
testFindByIdWeekDefinition 0.004

TimeSlotTest

testTimeSlot 0.004
testFindByIdWorkingDay 0.004

CategoryTest

testCategory 0.001

SlotTest

testFindByIdFormAndDateRange 0.002
testFindOpenSlotsByIdFormAndDateRange 0.003
testSlot 0.003
testFindOpenSlotsByIdForm 0.004

ClosingDayTest

testFindByIdFormAndDateOfCLosingDay 0.001
testClosingDay 0.003

ReservationRuleTest

testFindByIdForm 0.001
testReservationRule 0.003

CalendarTemplateTest

testCalendarTemplate 0

WorkingDayServiceTest

testGetMinDurationTimeSlotOfAWorkingDay 0.078
testGetMaxEndingTimeOfAListOfWorkingDay 0.08
testGetMinStartingTimeOfAListOfWorkingDay 0.032
testGetMinStartingTimeOfAWorkingDay 0.027
testGetMaxEndingTimeOfAWorkingDay 0.027
testGetOpenDays 0.023
testGetMinDurationTimeSlotOfAListOfWorkingDay 0.074

ClosingDayServiceTest

testFindListDateOfClosingDayByIdFormAndDateRange 0.024

UtilitiesTest

testGetClosestDateTimeInFuture 0.001
testGetFormatter 0.013
expected:<25/06/[20]18> but was:<25/06/[]18>
testGetClosestDateInPast 0

TimeSlotServiceTest

testFindListTimeSlotAfterThisTimeSlot 0.021
testGetNextTimeSlotsInAListOfTimeSlotAfterALocalTime 0.024
testGetTimeSlotInListOfTimeSlotWithStartingTime 0.026

FormServiceTest

testCreateAppointmentForm 0.021
testCopyForm 0.047

WeekDefinitionServiceTest

testGetMinStartingTimeOfAListOfWeekDefinition 0.05
testGetMinDurationTimeSlotOfAListOfWeekDefinition 0.081
testGetMaxEndingTimeOfAWeekDefinition 0.02
testGetMinStartingTimeOfAWeekDefinition 0.02
testGetOpenDaysOfWeek 0.018
testFindWeekDefinitionByIdFormAndClosestToDateOfApply 0.056
testGetMaxEndingTimeOfAListOfWeekDefinition 0.05

SlotServiceTest

testOpenSlots 0.024
testOpenSlotsWithSpecificSlotsClosed 0.03
testOpenSlotsWithSpecificLargeSlots 0.02

AppointmentServiceTest

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

AppointmentUtilitiesTest

testNbDaysBetweenTwoAppointments2 0.019
testNbDaysBetweenTwoAppointments3 0.02
testNbDaysBetweenTwoAppointments4 0.02
testNbDaysBetweenTwoAppointments5 0.019
testGetMinTimeToDisplay 0
testGetMaxTimeToDisplay 0
testCheckNoValidatedAppointmentsOnThisSlot2 0.018
testCheckNbMaxAppointmentsOnAGivenPeriod2 0.023
testFindSlotsImpactedByThisTimeSlot 0.019
testCheckNoAppointmentsImpacted2 0.022
testNbDaysBetweenTwoAppointments 0.018
testCheckAndReturnNbBookedSeats2 0.023
testCheckAndReturnNbBookedSeats 0.016
testCheckNoValidatedAppointmentsOnThisSlot 0.016
testCheckNoAppointmentsImpacted 0.024
testSetAppointmentPhoneNumberValuesFromResponse 0.004
testCheckNbMaxAppointmentsOnAGivenPeriod 0.022

ReservationRuleServiceTest

testFindReservationRuleByIdFormAndClosestToDateOfApply 0.018

Failure Details

[Summary] [Package List] [Test Cases]


antrunsql
antrunsql
testGetFormatter
junit.framework.ComparisonFailure: expected:<25/06/[20]18> but was:<25/06/[]18>