Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
130 0 0 0 100% 1.333

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
org.springframework.data.repository.config 3 0 0 0 100% 0.242
org.springframework.data.web 5 0 0 0 100% 0.06
org.springframework.data.util 15 0 0 0 100% 0.034
org.springframework.data.repository.util 4 0 0 0 100% 0.004
org.springframework.data.repository.query.parser 27 0 0 0 100% 0.042
org.springframework.data.querydsl 3 0 0 0 100% 0.018
org.springframework.data.repository.support 35 0 0 0 100% 0.806
org.springframework.data.repository.query 15 0 0 0 100% 0.029
org.springframework.data.domain 17 0 0 0 100% 0.014
org.springframework.data.mapping 6 0 0 0 100% 0.084

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

org.springframework.data.repository.config

Class Tests Errors Failures Skipped Success Rate Time
TypeFilterParserUnitTests 2 0 0 0 100% 0.225
RepositoryComponentProviderUnitTests 1 0 0 0 100% 0.017

org.springframework.data.web

Class Tests Errors Failures Skipped Success Rate Time
PageableArgumentResolverUnitTests 5 0 0 0 100% 0.06

org.springframework.data.util

Class Tests Errors Failures Skipped Success Rate Time
ClassTypeInformationUnitTests 8 0 0 0 100% 0.012
TypeDiscovererUnitTests 5 0 0 0 100% 0.021
ParameterizedTypeUnitTests 2 0 0 0 100% 0.001

org.springframework.data.repository.util

Class Tests Errors Failures Skipped Success Rate Time
ClassUtilsUnitTests 4 0 0 0 100% 0.004

org.springframework.data.repository.query.parser

Class Tests Errors Failures Skipped Success Rate Time
OrderBySourceUnitTests 5 0 0 0 100% 0.004
PropertyUnitTests 11 0 0 0 100% 0.011
PartTreeUnitTests 11 0 0 0 100% 0.027

org.springframework.data.querydsl

Class Tests Errors Failures Skipped Success Rate Time
SimpleEntityPathResolverUnitTests 3 0 0 0 100% 0.018

org.springframework.data.repository.support

Class Tests Errors Failures Skipped Success Rate Time
DomainClassConverterUnitTests 4 0 0 0 100% 0.118
PersistableEntityInformationUnitTests 3 0 0 0 100% 0.009
DomainClassPropertyEditorUnitTests 6 0 0 0 100% 0.206
QueryExecuterMethodInterceptorUnitTests 2 0 0 0 100% 0.024
DefaultRepositoryInformationUnitTests 2 0 0 0 100% 0.004
RepositoryInterfaceAwareBeanPostProcessorUnitTests 4 0 0 0 100% 0.055
AnnotationRepositoryMetadataUnitTests 2 0 0 0 100% 0.003
DefaultRepositoryMetadataUnitTests 4 0 0 0 100% 0.004
DomainClassPropertyEditorRegistrarUnitTests 2 0 0 0 100% 0.257
RepositoryFactorySupportUnitTests 2 0 0 0 100% 0.059
CustomAnnotationTransactionAttributeSourceUnitTests 1 0 0 0 100% 0.007
TransactionRepositoryProxyPostProcessorUnitTests 3 0 0 0 100% 0.06

org.springframework.data.repository.query

Class Tests Errors Failures Skipped Success Rate Time
ParametersUnitTests 6 0 0 0 100% 0.017
SimpleParameterAccessorUnitTests 9 0 0 0 100% 0.012

org.springframework.data.domain

Class Tests Errors Failures Skipped Success Rate Time
PageRequestUnitTests 5 0 0 0 100% 0.003
PageImplUnitTests 5 0 0 0 100% 0.005
DirectionUnitTests 2 0 0 0 100% 0.001
SortUnitTests 5 0 0 0 100% 0.005

org.springframework.data.mapping

Class Tests Errors Failures Skipped Success Rate Time
PreferredConstructorDiscovererUnitTests 4 0 0 0 100% 0.034
MappingMetadataTests 2 0 0 0 100% 0.05

Test Cases

[Summary] [Package List] [Test Cases]

ParametersUnitTests

checksValidMethodCorrectly 0.008
rejectsInvalidMethodWithParamMissing 0
rejectsNullMethod 0
detectsNamedParameterCorrectly 0.001
calculatesPlaceholderPositionCorrectly 0.001
detectsEmptyParameterListCorrectly 0

DomainClassConverterUnitTests

matchFailsIfNoDaoAvailable 0.022
matchesIfConversionInBetweenIsPossible 0.016
matchFailsIfNoIntermediateConversionIsPossible 0.017
convertsStringToUserCorrectly 0.061

PersistableEntityInformationUnitTests

usesPersistablesGetId 0.005
usesPersistablesIsNew 0.001
returnsGivenClassAsEntityType 0.001

DomainClassPropertyEditorUnitTests

convertsPlainIdTypeCorrectly 0.124
convertsEntityToIdCorrectly 0.023
usesCustomEditorIfConfigured 0.015
returnsNullIdIfNoEntitySet 0.015
resetsValueToNullAfterEmptyStringConversion 0.018
resetsValueToNullAfterNullStringConversion 0.009

SimpleEntityPathResolverUnitTests

createsRepositoryFromDomainClassCorrectly 0.014
resolvesEntityPathForInnerClassCorrectly 0
rejectsClassWithoutQueryClassConfrmingToTheNamingScheme 0.001

QueryExecuterMethodInterceptorUnitTests

rejectsRepositoryInterfaceWithQueryMethodsIfNoQueryLookupStrategyIsDefined 0.02
skipsQueryLookupsIfQueryLookupStrategyIsNull 0.003

TypeFilterParserUnitTests

parsesIncludesCorrectly 0.214
parsesExcludesCorrectly 0.009

SimpleParameterAccessorUnitTests

testname 0.002
rejectsNullParameters 0.001
rejectsNullValues 0.001
rejectsTooLittleNumberOfArguments 0.001
rejectsTooManyArguments 0.001
returnsNullForPageableAndSortIfNoneAvailable 0.001
returnsSortIfAvailable 0.001
returnsPageableIfAvailable 0.001
returnsSortFromPageableIfAvailable 0.001

DefaultRepositoryInformationUnitTests

discoversRepositoryBaseClassMethod 0.002
discoveresNonRepositoryBaseClassMethod 0

PreferredConstructorDiscovererUnitTests

findsNoArgConstructorForClassWithoutExplicitConstructor 0.01
findsNoArgConstructorForClassWithMultipleConstructorsAndNoArgOne 0
throwsExceptionForMultipleConstructorsAndNoNoArgConstructorWithoutAnnotation 0.012
usesConstructorWithAnnotationOverEveryOther 0.003

RepositoryInterfaceAwareBeanPostProcessorUnitTests

returnsDaoInterfaceClassForFactoryBean 0.042
doesNotResolveInterfaceForNonFactoryClasses 0.002
doesNotResolveInterfaceForUnloadableClass 0.002
doesNotResolveTypeForPlainBeanFactory 0.007

PageRequestUnitTests

preventsNegativePage 0
preventsNegativeSize 0
preventsZeroSize 0
equalsRegardsSortCorrectly 0
equalsHonoursPageAndSize 0

AnnotationRepositoryMetadataUnitTests

handlesRepositoryProxyAnnotationCorrectly 0.002
preventsUnannotatedInterface 0

DefaultRepositoryMetadataUnitTests

looksUpDomainClassCorrectly 0.002
findsDomainClassOnExtensionOfDaoInterface 0
detectsParameterizedEntitiesCorrectly 0.001
looksUpIdClassCorrectly 0

ClassTypeInformationUnitTests

discoversTypeForSimpleGenericField 0.002
discoversTypeForNestedGenericField 0.001
discoversBoundType 0.001
discoversBoundTypeForSpecialization 0.001
discoversBoundTypeForNested 0
discoversArraysAndCollections 0.002
discoversMapValueType 0.001
typeInfoDoesNotEqualForGenericTypesWithDifferentParent 0.001

DomainClassPropertyEditorRegistrarUnitTests

addsRepositoryForEntityIfAvailableInAppContext 0.231
doesNotAddDaoAtAllIfNoDaosFound 0.013

RepositoryFactorySupportUnitTests

invokesCustomQueryCreationListenerForSpecialRepositoryQueryOnly 0.046
routesCallToRedeclaredMethodIntoTarget 0.012

PageImplUnitTests

assertEqualsForSimpleSetup 0.001
assertEqualsForComplexSetup 0
preventsNullContentForSimpleSetup 0
preventsNullContentForAdvancedSetup 0
createsPageForEmptyContentCorrectly 0.001

CustomAnnotationTransactionAttributeSourceUnitTests

usesCustomTransactionConfigurationOnInterface 0.006

TypeDiscovererUnitTests

rejectsNullType 0.01
isNotEqualIfTypesDiffer 0.001
isNotEqualIfTypeVariableMapsDiffer 0.001
dealsWithTypesReferencingThemselves 0.002
dealsWithTypesReferencingThemselvesInAMap 0.001

ParameterizedTypeUnitTests

considersTypeInformationsWithDifferingParentsNotEqual 0
considersTypeInformationsWithSameParentsNotEqual 0

OrderBySourceUnitTests

handlesSingleDirectionAndPropertyCorrectly 0
handlesCamelCasePropertyCorrecty 0
handlesMultipleDirectionsCorrectly 0.001
rejectsMissingProperty 0
usesNestedPropertyCorrectly 0.002

PageableArgumentResolverUnitTests

testname 0.054
rejectsInvalidlyMappedPageables 0.001
rejectsInvalidQualifiers 0
assertDefaults 0.003
assertOverridesDefaults 0.001

PropertyUnitTests

testname 0.002
parsesSimplePropertyCorrectly 0.001
parsesPathPropertyCorrectly 0.001
prefersLongerMatches 0
prfersExplicitPaths 0.001
handlesGenericsCorrectly 0
handlesMapCorrectly 0.001
handlesArrayCorrectly 0.001
handlesInvalidCollectionCompountTypeProperl 0
handlesInvalidMapValueTypeProperl 0.001
findsNested 0.001

DirectionUnitTests

jpaValueMapping 0.001
rejectsInvalidString 0

PartTreeUnitTests

rejectsNullSource 0.002
rejectsNullDomainClass 0
rejectsMultipleOrderBy 0
parsesSimplePropertyCorrectly 0.003
parsesAndPropertiesCorrectly 0.001
parsesOrPropertiesCorrectly 0.001
parsesCombinedAndAndOrPropertiesCorrectly 0.003
hasSortIfOrderByIsGiven 0.001
detectsDistinctCorrectly 0.003
parsesWithinCorrectly 0
parsesNearCorrectly 0

ClassUtilsUnitTests

rejectsInvalidReturnType 0.001
determinesReturnType 0
determinesValidFieldsCorrectly 0
handlesGenericTypeInReturnedCollectionCorrectly 0

SortUnitTests

appliesDefaultForOrder 0.002
preventsNullProperties 0.001
preventsNullProperty 0
preventsEmptyProperty 0
preventsNoProperties 0

MappingMetadataTests

testPojoWithId 0.038
testAssociations 0.012

TransactionRepositoryProxyPostProcessorUnitTests

rejectsNullBeanFactory 0.04
rejectsNullTxManagerName 0.002
setsUpBasicInstance 0.016

RepositoryComponentProviderUnitTests

findsAnnotatedRepositoryInterface 0.017