Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
293 0 0 0 100% 2.646 s

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
com.reallifedeveloper.common.infrastructure 61 0 0 0 100% 0.095 s
com.reallifedeveloper.common.resource 35 0 0 0 100% 0.250 s
com.reallifedeveloper.common.domain.event 34 0 0 0 100% 0.457 s
com.reallifedeveloper.common.application.eventstore 16 0 0 0 100% 0.413 s
com.reallifedeveloper.common.infrastructure.messaging 11 0 0 0 100% 0.685 s
com.reallifedeveloper.common.resource.notification 19 0 0 0 100% 0.056 s
com.reallifedeveloper.common.application.notification 42 0 0 0 100% 0.118 s
com.reallifedeveloper.common.infrastructure.jmx 19 0 0 0 100% 0.401 s
com.reallifedeveloper.common.resource.documentation 9 0 0 0 100% 0.114 s
com.reallifedeveloper.common.domain.registry 4 0 0 0 100% 0.009 s
com.reallifedeveloper.common.domain 30 0 0 0 100% 0.032 s
com.reallifedeveloper.common.infrastructure.persistence 13 0 0 0 100% 0.016 s

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

com.reallifedeveloper.common.infrastructure

- Class Tests Errors Failures Skipped Success Rate Time
GsonNotificationReaderTest 44 0 0 0 100% 0.055 s
GsonObjectSerializerTest 13 0 0 0 100% 0.024 s
Markdown4jHtmlProducerTest 4 0 0 0 100% 0.016 s

com.reallifedeveloper.common.resource

- Class Tests Errors Failures Skipped Success Rate Time
ResourceTest 15 0 0 0 100% 0.016 s
ResourceUtilTest 14 0 0 0 100% 0.005 s
TestResourceTest 6 0 0 0 100% 0.229 s

com.reallifedeveloper.common.domain.event

- Class Tests Errors Failures Skipped Success Rate Time
DomainEventTest 13 0 0 0 100% 0.430 s
EventSavingSubscriberTest 3 0 0 0 100% 0.003 s
LoggingDomainEventSubscriberTest 2 0 0 0 100% 0.008 s
SimpleDomainEventPublisherTest 7 0 0 0 100% 0.005 s
ThreadLocalDomainEventPublisherTest 9 0 0 0 100% 0.011 s

com.reallifedeveloper.common.application.eventstore

- Class Tests Errors Failures Skipped Success Rate Time
EventStoreTest 10 0 0 0 100% 0.397 s
EventStoringSubscriberTest 2 0 0 0 100% 0.005 s
StoredEventTest 4 0 0 0 100% 0.011 s

com.reallifedeveloper.common.infrastructure.messaging

- Class Tests Errors Failures Skipped Success Rate Time
KafkaNotificationPublisherTest 3 0 0 0 100% 0.429 s
KafkaSecurityConfigurationTest 5 0 0 0 100% 0.118 s
RabbitMQNotificationPublisherTest 3 0 0 0 100% 0.138 s

com.reallifedeveloper.common.resource.notification

- Class Tests Errors Failures Skipped Success Rate Time
NotificationLogRepresentationTest 3 0 0 0 100% 0.006 s
NotificationRepresentationTest 4 0 0 0 100% 0.006 s
NotificationResourceTest 12 0 0 0 100% 0.044 s

com.reallifedeveloper.common.application.notification

- Class Tests Errors Failures Skipped Success Rate Time
NotificationLogIdTest 14 0 0 0 100% 0.025 s
NotificationLogTest 7 0 0 0 100% 0.031 s
NotificationPublisherTaskTest 5 0 0 0 100% 0.013 s
NotificationServiceTest 11 0 0 0 100% 0.034 s
NotificationTest 5 0 0 0 100% 0.015 s

com.reallifedeveloper.common.infrastructure.jmx

- Class Tests Errors Failures Skipped Success Rate Time
Log4jConfiguratorTest 5 0 0 0 100% 0.034 s
ServletContextSystemInfoTest 2 0 0 0 100% 0.011 s
TomcatConnectionPoolConfiguratorTest 12 0 0 0 100% 0.356 s

com.reallifedeveloper.common.resource.documentation

- Class Tests Errors Failures Skipped Success Rate Time
DocumentationResourceTest 9 0 0 0 100% 0.114 s

com.reallifedeveloper.common.domain.registry

- Class Tests Errors Failures Skipped Success Rate Time
CommonDomainRegistryTest 4 0 0 0 100% 0.009 s

com.reallifedeveloper.common.domain

- Class Tests Errors Failures Skipped Success Rate Time
ClockTimeServiceTest 2 0 0 0 100% 0.004 s
ErrorHandlingTest 14 0 0 0 100% 0.014 s
LogUtilTest 6 0 0 0 100% 0.005 s
TestTimeServiceTest 8 0 0 0 100% 0.009 s

com.reallifedeveloper.common.infrastructure.persistence

- Class Tests Errors Failures Skipped Success Rate Time
JpaRepositoryTest 6 0 0 0 100% 0.007 s
TimestampedJpaEntityTest 7 0 0 0 100% 0.009 s

Test Cases

[Summary] [Package List] [Test Cases]

EventStoreTest

constructorNullRepository 0.017 s
toDomainEvent 0.024 s
allEventsSince 0.003 s
toDomainEventNull 0.002 s
constructorNullSerializer 0.001 s
toDomainEventUnknownClass 0.001 s
allEventsSinceWithNoEvents 0.001 s
addNullEvent 0 s
addOneEvent 0.002 s
allEventsBetween 0.003 s

EventStoringSubscriberTest

eventType 0.001 s
handleEvent 0.001 s

StoredEventTest

constructor 0.002 s
constructorNullOccurredOn 0.001 s
constructorNullEventBody 0.002 s
constructorNullEventType 0.003 s

NotificationLogIdTest

constructorStringTooFewIntegers 0.003 s
constructorStringLowEqualToHigh 0.001 s
constructorLongsLowGreaterThanHigh 0.004 s
constructorStringNotIntegers 0 s
constructorLongsLowEqualToHigh 0 s
externalForm 0.001 s
previous 0.002 s
toStringMethod 0.001 s
constructorStringTooManyIntegers 0.001 s
constructorLongs 0 s
next 0.001 s
constructorStringNull 0.001 s
constructorStringLowGreaterThanHigh 0.002 s
constructorString 0 s

NotificationLogTest

constructorNullPreviousNotificationLogId 0 s
constructor 0.001 s
constructorNullCurrentNotificationLogId 0.001 s
testToString 0.019 s
constructorNullNotifications 0.001 s
constructorNullNextNotificationLogId 0.001 s
constructorDefensiveCopyOfNotifications 0.002 s

NotificationPublisherTaskTest

run 0.004 s
constructorPublicationChannelNull 0.002 s
runWithNullPointerException 0.001 s
constructorNotificationServiceNull 0.001 s
runWithIOException 0.003 s

NotificationServiceTest

constructorNullEventStore 0.001 s
constructorNullNotificationPublisher 0 s
notificationLog 0.004 s
publishNotifications 0.005 s
publishSameNotificationsTwice 0.004 s
publishNotificationsTwiceWithSomeNewEvents 0.002 s
notificationLogNoNotifications 0 s
currentNotificationLogFullBatch 0.003 s
constructorNullMessageTrackerRepository 0.002 s
currentNotificationLog 0.002 s
currentNotificationLogNoNotifications 0 s

NotificationTest

create 0 s
testToString 0.011 s
createEventWithNullOccurredOn 0.001 s
createNullEvent 0.001 s
createNullStoredEventId 0 s

ClockTimeServiceTest

now 0.003 s
setClock 0.001 s

ErrorHandlingTest

checkNullWithNullParameterArray 0.001 s
checkNullSixArguments 0.002 s
checkNullOrBlankWithNullMessageTemplate 0 s
checkNullEightArguments 0 s
checkNullOneArgument 0.001 s
checkNullOrBlankWithBlankString 0.001 s
checkNullOrBlankWithNonBlankString 0.001 s
checkNullWithNullMessageTemplate 0 s
checkNullOrBlankWithNullString 0.001 s
checkNullTwoArguments 0 s
checkNullThreeArguments 0.001 s
checkNullSevenArguments 0.001 s
checkNullFiveArguments 0 s
checkNullFourArguments 0.002 s

DomainEventTest

equalsHashCodeSameObject 0.002 s
constructor 0.001 s
constructorVersion 0 s
testToString 0.002 s
equalsHashcodeDifferentOccurredOns 0.001 s
constructorDateTime 0 s
constructorNullDate 0 s
equalsNull 0 s
equalsDifferentClass 0 s
equalsHashcodeDifferentVersions 0 s
constructorDateTimeVersion 0.001 s
constructorNullDateVersion 0 s
equalsHashcodeSameOccurredOnAndVersion 0 s

EventSavingSubscriberTest

eventType 0.001 s
clear 0 s
handleEvent 0 s

LoggingDomainEventSubscriberTest

eventType 0.003 s
handleEvent 0.005 s

SimpleDomainEventPublisherTest

publishWithoutSubscribers 0.001 s
publishWithSubscriber 0 s
subscribeNullSubscriber 0 s
publishNullEvent 0 s
createPublisherWithNullSubscribers 0.001 s
subscribe 0 s
correctSubscribersGetNotified 0 s

ThreadLocalDomainEventPublisherTest

subscribingSubscriberNotAllowed 0.001 s
threadLocalSubscribers 0.001 s
reset 0 s
canSubscribeToAllDomainEvents 0 s
simpleSubscription 0 s
correctSubscribersGetNotified 0 s
resettingSubscriberNotAllowed 0.001 s
noSubscribers 0.001 s
publishingSubscriberNotAllowed 0.001 s

LogUtilTest

removeCRLFIsNullSafe 0.001 s
removeCRLFRemovesSingleCarriageReturn 0 s
removeCRLFRemovesMultipleNewLinesAndCarriageReturns 0 s
removeCRLFRemovesSingleNewLine 0 s
removeCRLFCallsToStringOnNonNullObject 0 s
removeCRLFNullObjectDoesNotThrowException 0.002 s

CommonDomainRegistryTest

registryWithoutTimeServiceBeanShouldThrowException 0.002 s
initializedRegistryFindsNecessaryServices 0.002 s
uninitializedRegistryShouldThrowException 0.001 s
registryWithoutDomainEventPublisherBeanShouldThrowException 0.002 s

TestTimeServiceTest

setNullDates 0.001 s
nowBeforeCallingSetDates 0.001 s
nowDateTimes 0 s
setEmptyDates 0.001 s
nowDateTimeStrings 0 s
setNullDateStrings 0 s
setEmptyDateStrings 0.001 s
setMalformedDateString 0.001 s

GsonNotificationReaderTest

eventDoubleValue 0.010 s
eventLongValueMax 0.001 s
eventLongValueMin 0 s
eventStringValue 0 s
eventVersionForNotificationWitNullEvent 0.001 s
eventTypeForEmptyNotification 0.003 s
constructorMalformedJsonObject 0.002 s
eventLongValueNonExisting 0.001 s
eventIntValue 0 s
eventDateValueNonWrongFormat 0.001 s
eventDoubleValueNotNumber 0.001 s
eventIntValueMax 0 s
eventIntValueMin 0 s
occurredOnForNotificationWithNullOccurredOn 0 s
nestedFieldNameNotAnObject 0.002 s
eventLongValueEmpty 0 s
eventDoubleValueNull 0 s
storedEventIdForNotificationWithNullStoredEventId 0 s
notificationIdMissingId 0.001 s
validJsonButNotValidEventMessage 0.001 s
eventStringValueNonExisting 0 s
eventTypeMissingType 0.001 s
eventVersionForNotificationWithNullEventVersion 0.001 s
constructorNotAJsonObject 0.001 s
eventStringValueNull 0 s
storedEventIdForEmptyNotification 0.001 s
occurredOnForEmptyNotification 0.001 s
eventLongValueNotInteger 0 s
occurredOnMissingDate 0.002 s
eventDateValueNull 0 s
eventDateValueNonExisting 0 s
eventTypeForNotificationWithNullEventType 0 s
eventVersionForNotificationWitoutEventVersion 0.001 s
eventDateValue 0.001 s
eventIntValueNotInteger 0 s
eventVersionMissingVersion 0.002 s
eventLongValue 0 s
realNotification 0.012 s
constructorNullJsonObject 0.001 s
eventDoubleValueMax 0.001 s
eventDoubleValueMin 0 s
eventIntValueNonExisting 0.001 s
nestedFieldNameNonExistingField 0.001 s
eventIntValueEmpty 0 s

GsonObjectSerializerTest

deserializeIncorrectString 0.001 s
deserializeTheStringNull 0.001 s
serializeAndDeserializeLocalDate 0.003 s
serializeAndDeserializeNotification 0.003 s
serializeAndDeserializeNullLocalDateTime 0.002 s
deserializeNullEventType 0 s
serializeNull 0 s
serializeAndDeserializeWrongClass 0.002 s
serializeAndDeserializeNullLocalDate 0.002 s
serializeAndDeserializeLocalDateTime 0.001 s
deserializeNotificationWithEmptyEvent 0 s
deserializeNullSerializedEvent 0 s
serializeAndDeserializeEvent 0.001 s

Log4jConfiguratorTest

getLogLevelNull 0 s
getLogLevel 0.017 s
getLogLevelNonExistingLoggerName 0.009 s
getLoggers 0.003 s
setLevel 0.003 s

ServletContextSystemInfoTest

testSetServletContext 0.009 s
testSetServletContextWithNullContext 0.001 s

TomcatConnectionPoolConfiguratorTest

constructorNullDataSource 0.010 s
getUrl 0.001 s
testIdle 0.334 s
getWaitCount 0 s
getDriverClassName 0 s
getIdle 0.001 s
getSize 0.001 s
purge 0.001 s
getActive 0 s
checkIdle 0.002 s
checkAbandoned 0.001 s
purgeOnReturn 0.001 s

Markdown4jHtmlProducerTest

produceNull 0 s
produceResourceNotFound 0 s
produce 0.009 s
canHandle 0.001 s

KafkaNotificationPublisherTest

creatingPublisherWithNullKafkaTemplateShouldFail 0.420 s
creatingPublisherWithNullObjectSerializerShouldFail 0.001 s
publishingNotificationShouldCallKafkaTemplateSend 0.007 s

KafkaSecurityConfigurationTest

applySecurityConfigurationWithTruststoreLocationSupportsClasspathValue 0.113 s
applySecurityConfigurationStoresTheProperty 0 s
applySecurityConfigurationTwiceWithSamePropertyShouldFail 0.001 s
applySecurityConfigurationWithTruststoreLocationFailsIfClasspathResourceDoesNotExist 0.001 s
applySecurityConfigurationWithTruststoreLocationSupportsNonClasspathValue 0 s

RabbitMQNotificationPublisherTest

publishNotificationShouldCallChannelBasicPublish 0.133 s
creatingPublisherWithNullConnectionFactoryShouldFail 0.001 s
creatingPublisherWithNullObjectSerializerShouldFail 0 s

JpaRepositoryTest

methodWithoutQueryString 0.001 s
interfaceMethodWithoutQueryString 0.002 s
bar 0.002 s
baz 0.001 s
foo 0 s
unknownMethod 0.001 s

TimestampedJpaEntityTest

constructorId 0 s
constructor 0 s
setUpdated 0 s
constructorUpdatedNull 0.001 s
constructorCreatedNull 0 s
setUpdatedNull 0 s
constructorIdCreatedUpdated 0.001 s

DocumentationResourceTest

getDocumentationDefaultDocumentDoesNotExist 0.056 s
constructorNonExistingResourceDir 0.001 s
getDocumentationNamedDocument 0.020 s
redirect 0.006 s
constructorNullHtmlProducer 0 s
getDocumentationNamedDocumentDoesNotExist 0.001 s
constructorNullResourceDir 0.001 s
getDocumentationDefaultDocument 0.008 s
getDocumentationNamedBinaryDocument 0.014 s

NotificationLogRepresentationTest

constructor 0.003 s
constructorNullNotificationLog 0.001 s
constructorNullSerializer 0.001 s

NotificationRepresentationTest

constructor 0.002 s
constructorNullNotification 0 s
constructorNullSerializer 0 s
constructorEventWithNullOccurredOn 0.001 s

NotificationResourceTest

constructorNullNotificationService 0.001 s
getNotificationLogServiceThrowsIllegalArgumentException 0.001 s
getNotificationLog 0.018 s
getNotificationLogMalformedNotificationLogString 0.001 s
getCurrentNotificationLogFullBatch 0.005 s
getNotificationLogServiceThrowsNullPointerException 0.002 s
getCurrentNotificationLogServiceThrowsIllegalArgumentException 0.002 s
getCurrentNotificationLogServiceThrowsNullPointerException 0 s
getNotificationLogNullNotificationLogString 0 s
getCurrentNotificationLogFullBatchPlusOne 0.004 s
constructorNullObjectSerializer 0.001 s
getCurrentNotificationLogNoNotifications 0.001 s

ResourceTest

parseMalformedUrl 0 s
parseDate 0 s
handleErrorOriginalExceptionNull 0 s
commaSeparatedStringToListWithOnlyWhitespaceGivesEmptyList 0 s
nullCommaSeparatedStringToListGivesEmptyList 0.001 s
parseMalformedDate 0 s
parseNullUrl 0.001 s
handleErrorIllegalArgumentException 0.001 s
handleErrorNullPointerException 0 s
commaSeparatedStringToList 0.001 s
parseUrl 0.006 s
handleErrorMethodNameNull 0 s
handleErrorFileNotFoundException 0 s
parseNullDate 0 s
commaSeparatedStringToListWithOnlyCommaGivesEmptyList 0 s

ResourceUtilTest

webApplicationExceptionNullString 0 s
webApplicationExceptionStringNullStatus 0 s
webApplicationExceptionThrowableNullStatus 0.002 s
cacheControl 0 s
serverError 0 s
webApplicationExceptionString 0 s
badRequest 0 s
notFoundNull 0 s
webApplicationExceptionNullThrowable 0 s
serverErrorNull 0.001 s
notFound 0 s
webApplicationExceptionThrowable 0 s
noCache 0 s
badRequestNull 0.001 s

TestResourceTest

postRequestWithPath 0.052 s
putRequestNotFound 0.005 s
getWithoutProperlyConfiguredResponse 0.008 s
getRequestRoot 0.003 s
postRequestWithMuchData 0.005 s
multipleRequests 0.009 s