Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
98 0 0 0 100% 2.867

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

Package List


Package Tests Errors Failures Skipped Success Rate Time
se.citerus.dddsample.domain.model.handling 16 0 0 0 100% 0.022
se.citerus.dddsample.domain.model.voyage 21 0 0 0 100% 0.012
se.citerus.dddsample.infrastructure.routing 1 0 0 0 100% 0.014
se.citerus.dddsample.interfaces.booking.web 2 0 0 0 100% 0.015
se.citerus.dddsample.domain.shared.experimental 5 0 0 0 100% 0.02
se.citerus.dddsample.application 2 0 0 0 100% 0.045
se.citerus.dddsample.domain.shared 3 0 0 0 100% 0.006
se.citerus.dddsample.infrastructure.persistence.hibernate 11 0 0 0 100% 2.31
se.citerus.dddsample.domain.model.location 5 0 0 0 100% 0.004
se.citerus.dddsample.interfaces.tracking 6 0 0 0 100% 0.111
se.citerus.dddsample.domain.model.cargo 20 0 0 0 100% 0.028
se.citerus.dddsample.interfaces.booking.facade.internal.assembler 5 0 0 0 100% 0.104
se.citerus.dddsample.scenario 1 0 0 0 100% 0.176

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

se.citerus.dddsample.domain.model.handling

Class Tests Errors Failures Skipped Success Rate Time
HandlingEventFactoryTest 5 0 0 0 100% 0.006
HandlingEventTest 9 0 0 0 100% 0.012
HandlingHistoryTest 2 0 0 0 100% 0.004

se.citerus.dddsample.domain.model.voyage

Class Tests Errors Failures Skipped Success Rate Time
CarrierMovementTest 2 0 0 0 100% 0.002
ScheduleTest 5 0 0 0 100% 0.002
VoyageNumberTest 6 0 0 0 100% 0.003
VoyageTest 8 0 0 0 100% 0.005

se.citerus.dddsample.infrastructure.routing

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

se.citerus.dddsample.interfaces.booking.web

Class Tests Errors Failures Skipped Success Rate Time
CargoAdminControllerTest 1 0 0 0 100% 0.007
ItinerarySelectionCommandTest 1 0 0 0 100% 0.008

se.citerus.dddsample.domain.shared.experimental

Class Tests Errors Failures Skipped Success Rate Time
EntitySupportTest 4 0 0 0 100% 0.017
ValueObjectSupportTest 1 0 0 0 100% 0.003

se.citerus.dddsample.application

Class Tests Errors Failures Skipped Success Rate Time
BookingServiceTest 1 0 0 0 100% 0.032
HandlingEventServiceTest 1 0 0 0 100% 0.013

se.citerus.dddsample.domain.shared

Class Tests Errors Failures Skipped Success Rate Time
AndSpecificationTest 1 0 0 0 100% 0.002
NotSpecificationTest 1 0 0 0 100% 0.001
OrSpecificationTest 1 0 0 0 100% 0.003

se.citerus.dddsample.infrastructure.persistence.hibernate

Class Tests Errors Failures Skipped Success Rate Time
CargoRepositoryTest 6 0 0 0 100% 0.266
CarrierMovementRepositoryTest 1 0 0 0 100% 0.044
HandlingEventRepositoryTest 2 0 0 0 100% 1.938
LocationRepositoryTest 2 0 0 0 100% 0.062

se.citerus.dddsample.domain.model.location

Class Tests Errors Failures Skipped Success Rate Time
LocationTest 1 0 0 0 100% 0.001
UnLocodeTest 4 0 0 0 100% 0.003

se.citerus.dddsample.interfaces.tracking

Class Tests Errors Failures Skipped Success Rate Time
CargoTrackingControllerTest 3 0 0 0 100% 0.045
CargoTrackingViewAdapterTest 1 0 0 0 100% 0.052
TrackCommandValidatorTest 2 0 0 0 100% 0.014

se.citerus.dddsample.domain.model.cargo

Class Tests Errors Failures Skipped Success Rate Time
CargoTest 10 0 0 0 100% 0.015
DeliveryTest 1 0 0 0 100% 0.001
ItineraryTest 3 0 0 0 100% 0.003
LegTest 1 0 0 0 100% 0.002
RouteSpecificationTest 4 0 0 0 100% 0.007
TrackingIdTest 1 0 0 0 100% 0

se.citerus.dddsample.interfaces.booking.facade.internal.assembler

Class Tests Errors Failures Skipped Success Rate Time
CargoRoutingDTOAssemblerTest 2 0 0 0 100% 0.002
ItineraryCandidateDTOAssemblerTest 2 0 0 0 100% 0.005
LocationDTOAssemblerTest 1 0 0 0 100% 0.097

se.citerus.dddsample.scenario

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

Test Cases

BookingServiceTest

testRegisterNew 0.031

HandlingEventServiceTest

testRegisterEvent 0.012

CargoTest

testConstruction 0
testRoutingStatus 0
testlastKnownLocationUnknownWhenNoEvents 0
testlastKnownLocationReceived 0
testlastKnownLocationClaimed 0.003
testlastKnownLocationUnloaded 0.001
testlastKnownLocationloaded 0.001
testEquality 0.001
testIsUnloadedAtFinalDestination 0.001
testIsMisdirected 0.002

DeliveryTest

testToSilenceWarnings 0

ItineraryTest

testCargoOnTrack 0.001
testNextExpectedEvent 0
testCreateItinerary 0

LegTest

testConstructor 0

RouteSpecificationTest

testIsSatisfiedBy_Success 0.001
testIsSatisfiedBy_WrongOrigin 0.001
testIsSatisfiedBy_WrongDestination 0.001
testIsSatisfiedBy_MissedDeadline 0.001

TrackingIdTest

testConstructor 0

HandlingEventFactoryTest

testCreateHandlingEventWithCarrierMovement 0
testCreateHandlingEventWithoutCarrierMovement 0
testCreateHandlingEventUnknownLocation 0.001
testCreateHandlingEventUnknownCarrierMovement 0
testCreateHandlingEventUnknownTrackingId 0

HandlingEventTest

testNewWithCarrierMovement 0.001
testNewWithLocation 0
testCurrentLocationLoadEvent 0.001
testCurrentLocationUnloadEvent 0
testCurrentLocationReceivedEvent 0.001
testCurrentLocationClaimedEvent 0.001
testParseType 0
testParseTypeIllegal 0
testEqualsAndSameAs 0

HandlingHistoryTest

testDistinctEventsByCompletionTime 0.002
testMostRecentlyCompletedEvent 0.001

LocationTest

testEquals 0

UnLocodeTest

testEquals 0.001
testNew 0.001
testIdString 0
testHashCode 0.001

CarrierMovementTest

testConstructor 0
testSameValueAsEqualsHashCode 0.001

ScheduleTest

testEquals 0.001
testHashCode 0
testCarrierMovements 0.001
testSameValueAs 0
testCopy 0

VoyageNumberTest

testEquals 0
testIdString 0
testHashCode 0
testSameValueAs 0
testCopy 0.001
testToString 0

VoyageTest

testEquals 0
testHashCode 0
testToString 0
testVoyageNumber 0
testSchedule 0
testSameIdentityAs 0.001
testAddMovement 0
testBuild 0.001

AndSpecificationTest

testAndIsSatisifedBy 0

EntitySupportTest

testNoIdentityAnnotationFail 0.001
testTwoIdentityAnnotationsFail 0.012
testOneAnnotationSuccess 0.001
testSameIdentityEqualsHashcode 0

ValueObjectSupportTest

testEquals 0.002

NotSpecificationTest

testAndIsSatisifedBy 0

OrSpecificationTest

testAndIsSatisifedBy 0.002

CargoRepositoryTest

testFindByCargoId 0.048
testFindByCargoIdUnknownId 0.032
testSave 0.063
testReplaceItinerary 0.033
testFindAll 0.048
testNextTrackingId 0.038

CarrierMovementRepositoryTest

testFind 0.041

HandlingEventRepositoryTest

testSave 1.886
testFindEventsForCargo 0.051

LocationRepositoryTest

testFindAll 0.038
testFind 0.023

ExternalRoutingServiceTest

testCalculatePossibleRoutes 0.007

CargoRoutingDTOAssemblerTest

testToDTO 0.002
testToDTO_NoItinerary 0

ItineraryCandidateDTOAssemblerTest

testToDTO 0.002
testFromDTO 0.001

LocationDTOAssemblerTest

testToDTOList 0.003

CargoAdminControllerTest

testAssignItinerary 0.006

ItinerarySelectionCommandTest

testBind 0.007

CargoTrackingControllerTest

testHandleGet 0.023
testHandlePost 0.019
testUnknownCargo 0.001

CargoTrackingViewAdapterTest

testCreate 0.051

TrackCommandValidatorTest

testValidateIllegalId 0.011
testValidateSuccess 0.001

CargoLifecycleScenarioTest

testCargoFromHongkongToStockholm 0.175