Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
294 0 0 1 99.66% 7.942

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.socialsignin.spring.data.dynamodb.query 16 0 0 0 100% 0.229
org.socialsignin.spring.data.dynamodb.config 8 0 0 0 100% 0.82
org.socialsignin.spring.data.dynamodb.mapping 13 0 0 1 92.308% 1.417
org.socialsignin.spring.data.dynamodb.marshaller 20 0 0 0 100% 0.003
org.socialsignin.spring.data.dynamodb.core 14 0 0 0 100% 0.422
org.socialsignin.spring.data.dynamodb.utils 8 0 0 0 100% 0.001
org.socialsignin.spring.data.dynamodb.repository.query 115 0 0 0 100% 0.728
org.socialsignin.spring.data.dynamodb.domain.sample 1 0 0 0 100% 2.344
org.socialsignin.spring.data.dynamodb.domain 6 0 0 0 100% 0.053
org.socialsignin.spring.data.dynamodb.repository.cdi 6 0 0 0 100% 0.439
org.socialsignin.spring.data.dynamodb.repository 3 0 0 0 100% 0
org.socialsignin.spring.data.dynamodb.mapping.event 20 0 0 0 100% 0.91
org.socialsignin.spring.data.dynamodb.repository.support 64 0 0 0 100% 0.576

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

org.socialsignin.spring.data.dynamodb.query

Class Tests Errors Failures Skipped Success Rate Time
AbstractQueryTest 1 0 0 0 100% 0
CountByHashKeyQueryTest 2 0 0 0 100% 0.002
ScanExpressionCountQueryTest 4 0 0 0 100% 0
QueryRequestCountQueryTest 1 0 0 0 100% 0.225
CountByHashAndRangeKeyQueryTest 2 0 0 0 100% 0
AbstractSingleEntityQueryTest 1 0 0 0 100% 0.001
AbstractMultipleEntityQueryTest 3 0 0 0 100% 0
QueryExpressionCountQueryTest 1 0 0 0 100% 0
AbstractDynamicQueryTest 1 0 0 0 100% 0.001

org.socialsignin.spring.data.dynamodb.config

Class Tests Errors Failures Skipped Success Rate Time
DynamoDBAuditingBeanDefinitionParserTest 5 0 0 0 100% 0.324
DynamoDBAuditingRegistrarUnitTests 2 0 0 0 100% 0.025
AuditingIntegrationTests 1 0 0 0 100% 0.471

org.socialsignin.spring.data.dynamodb.mapping

Class Tests Errors Failures Skipped Success Rate Time
DynamoDBPersistentPropertyImplUnitTest 2 0 0 0 100% 0.664
DefaultDynamoDBDateMarshallerTest 5 0 0 0 100% 0.029
DynamoDBMappingContextTest 3 0 0 1 66.667% 0.01
DynamoDBPersistentEntityTest 3 0 0 0 100% 0.714

org.socialsignin.spring.data.dynamodb.marshaller

Class Tests Errors Failures Skipped Success Rate Time
Date2EpocheDynamoDBMarshallerTest 5 0 0 0 100% 0
Instant2IsoDynamoDBMarshallerTest 5 0 0 0 100% 0.002
Instant2EpocheDynamoDBMarshallerTest 5 0 0 0 100% 0
Date2IsoDynamoDBMarshallerTest 5 0 0 0 100% 0.001

org.socialsignin.spring.data.dynamodb.core

Class Tests Errors Failures Skipped Success Rate Time
DynamoDBTemplateTest 14 0 0 0 100% 0.422

org.socialsignin.spring.data.dynamodb.utils

Class Tests Errors Failures Skipped Success Rate Time
SortHandlerTest 6 0 0 0 100% 0.001
ExceptionHandlerTest 2 0 0 0 100% 0

org.socialsignin.spring.data.dynamodb.repository.query

Class Tests Errors Failures Skipped Success Rate Time
DynamoDBQueryLookupStrategyTest 3 0 0 0 100% 0.004
DynamoDBEntityWithHashKeyOnlyCriteriaUnitTest 18 0 0 0 100% 0.021
DynamoDBEntityWithHashAndRangeKeyCriteriaUnitTest 28 0 0 0 100% 0.071
PartTreeDynamoDBQueryUnitTest 64 0 0 0 100% 0.468
AbstractDynamoDBQueryTest 2 0 0 0 100% 0.164

org.socialsignin.spring.data.dynamodb.domain.sample

Class Tests Errors Failures Skipped Success Rate Time
CustomerDocumentTest 1 0 0 0 100% 2.344

org.socialsignin.spring.data.dynamodb.domain

Class Tests Errors Failures Skipped Success Rate Time
UnpagedPageImplTest 6 0 0 0 100% 0.053

org.socialsignin.spring.data.dynamodb.repository.cdi

Class Tests Errors Failures Skipped Success Rate Time
DynamoDBRepositoryBeanTest 6 0 0 0 100% 0.439

org.socialsignin.spring.data.dynamodb.repository

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

org.socialsignin.spring.data.dynamodb.mapping.event

Class Tests Errors Failures Skipped Success Rate Time
AbstractDynamoDBEventListenerTest 10 0 0 0 100% 0.144
LoggingEventListenerTest 7 0 0 0 100% 0.376
ValidatingDynamoDBEventListenerTest 3 0 0 0 100% 0.39

org.socialsignin.spring.data.dynamodb.repository.support

Class Tests Errors Failures Skipped Success Rate Time
SimpleDynamoDBCrudRepositoryTest 15 0 0 0 100% 0.1
SimpleDynamoDBPagingAndSortingRepositoryUnitTest 4 0 0 0 100% 0.006
EnableScanAnnotationPermissionTest 3 0 0 0 100% 0.002
DynamoDBRepositoryFactoryTest 3 0 0 0 100% 0
DynamoDBIdIsHashKeyEntityInformationImplUnitTest 15 0 0 0 100% 0.173
DynamoDBHashAndRangeKeyMethodExtractorImplUnitTest 6 0 0 0 100% 0.017
DynamoDBEntityMetadataSupportUnitTest 2 0 0 0 100% 0
DynamoDBIdIsHashAndRangeKeyEntityInformationImplUnitTest 14 0 0 0 100% 0.071
DynamoDBRepositoryFactoryBeanTest 2 0 0 0 100% 0.207

Test Cases

[Summary] [Package List] [Test Cases]

AbstractQueryTest

testSetter 0

SimpleDynamoDBCrudRepositoryTest

testFindAll 0.005
testCount 0.001
deleteEntity 0.001
testSave 0.001
deleteIterable 0.001
deleteAll 0.001
testBatchSave 0
throwsExceptionIfEntityOnlyHashKeyToDeleteDoesNotExist 0.001
findOneEntityWithOnlyHashKey 0.001
throwsExceptionIfEntityWithHashAndRangeKeyToDeleteDoesNotExist 0.001
testBatchSaveFailure 0.002
testEntityDelete 0.002
existsEntityWithOnlyHashKey 0.001
deleteById 0.004
findOneEntityWithHashAndRangeKey 0.001

SimpleDynamoDBPagingAndSortingRepositoryUnitTest

findOneEntityWithOnlyHashKey 0
throwsExceptionIfEntityWithHashAndRangeKeyToDeleteDoesNotExist 0
throwsExceptionIfEntityWithOnlyHashKeyToDeleteDoesNotExist 0.001
findOneEntityWithHashAndRangeKey 0.001

DynamoDBAuditingBeanDefinitionParserTest

testGetBeanClass 0.089
testDoParseWithoutMappingContextAutocreatingBean 0.017
testDoParseWithoutMappingContextReusingBean 0.001
testDoParseWithMappingContext 0.001
testShouldGenerateId 0.001

DynamoDBQueryLookupStrategyTest

testNull 0
testDeclaredQuery 0
testCreate 0.004

Date2EpocheDynamoDBMarshallerTest

testUnmarshallGarbage 0
testMarshall 0
testUnmarshall 0
testNullMarshall 0
testUnmarshallNull 0

AbstractDynamoDBEventListenerTest

testAfterDelete 0.068
testNullArgument 0.002
testUnknownEvent 0.001
testBeforeSave 0.002
testRawType 0.037
testBeforeDelete 0.002
testAfterQuery 0.002
testAfterLoad 0.002
testAfterSave 0.002
testAfterScan 0.002

DynamoDBEntityWithHashKeyOnlyCriteriaUnitTest

testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNeitherAnIndexHashKeyOrAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsAnIndexRangeKeyButNotAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsBothAnIndexRangeKeyAndAHashKey 0
testHasIndexHashKeyEqualConditionAnd_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsAnIndexHashKeyButNotAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNotAnIndexRangeKeyButIsAHashKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNeitherAnIndexHashKeyOrAHashKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNotAnIndexHashKeyButIsAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsAnIndexRangeKeyButNotAHashKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsBothAnIndexHashKeyAndAHashKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsBothAnIndexHashKeyAndAHashKey 0
testHasIndexHashKeyEqualConditionAnd_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsAnIndexHashKeyButNotAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNeitherAnIndexRangeKeyOrAHashKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNotAnIndexRangeKeyButIsAHashKey 0.001
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNotAnIndexHashKeyButIsAHashKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsBothAnIndexRangeKeyAndAHashKey 0.004
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNeitherAnIndexRangeKeyOrAHashKey 0
addAttributeValueTest_WhenValueIsSingleDate 0
addAttributeValueTest_WhenValueIsDateCollection 0.001

CountByHashKeyQueryTest

testGetSingleResultExists 0
testGetSingleResultDoesntExist 0

EnableScanAnnotationPermissionTest

testSampleMethodRepository 0
testSampleNoScanRepository 0.001
testSampleRepository 0.001

ScanExpressionCountQueryTest

testScanCountEnabledTrueFalse 0
testScanCountEnabledTrueTrue 0
testScanCountEnabledFalseTrue 0
testScanCountEnabledFalseFalse 0

DynamoDBRepositoryBeanTest

testNullOperationFail 0.007
testNullOperationsOk 0
testCreateRepostiory 0.211
testSetOperationFail1 0.001
testSetOperationFail2 0.001
testSetOperationOk1 0.001

QueryRequestCountQueryTest

testGetSingleResult 0.001

Instant2IsoDynamoDBMarshallerTest

testUnmarshallGarbage 0
testMarshall 0
testUnmarshall 0.001
testNullMarshall 0
testUnmarshallNull 0

Instant2EpocheDynamoDBMarshallerTest

testUnmarshallGarbage 0
testMarshall 0
testUnmarshall 0
testNullMarshall 0
testUnmarshallNull 0

DynamoDBRepositoryFactoryTest

testVersionCompatible 0
testVersionNullValue 0
testVersionNullNull 0

DynamoDBAuditingRegistrarUnitTests

rejectsNullBeanDefinitionRegistry 0.001
rejectsNullAnnotationMetadata 0

DynamoDBPersistentPropertyImplUnitTest

considersOtherPropertiesAsNotTransient 0.412
considersDynamoDBIgnoredPropertiesAsTransient 0.003

DynamoDBEntityWithHashAndRangeKeyCriteriaUnitTest

testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNeitherAnIndexRangeKeyOrAHashKeyButIsARangeKey 0.005
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsAnIndexRangeKeyButNotAHashKeyAndIsARangeKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNeitherAnIndexRangeKeyOrAHashKeyOrARangeKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsAnIndexRangeKeyButNotAHashKeyOrRangeKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsBothAnIndexRangeKeyAndAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNotAnIndexRangeKeyButIsAHashKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNotAnIndexRangeKeyButIsARangeKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNotAnIndexHashKeyButIsAHashKey 0.001
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsBothAnIndexHashKeyAndAHashKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsAnIndexRangeKeyButNotAHashKeyOrARangeKey 0.001
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsBothAnIndexHashKeyAndAHashKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNeitherAnIndexRangeKeyOrAHashKeyButIsARangeKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNeitherAnIndexHashKeyOrAHashKeyButIsRangeKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsAnIndexRangeKeyButNotAHashKeyButIsARangeKey 0
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNotAnIndexRangeKeyButIsAHashKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNeitherAnIndexHashKeyOrAHashKeyOrRangeKey 0.003
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsNotAnIndexHashKeyButIsARangeKey 0.001
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsBothAnIndexHashKeyAndARangeKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNeitherAnIndexRangeKeyOrAHashKeyOrARangeKey 0.001
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNeitherAnIndexHashKeyOrAHashKeyOrARangeKey 0.001
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNotAnIndexHashKeyButIsAHashKey 0.001
testHasIndexHashKeyEqualConditionAnd_WhenConditionCriteriaIsEqualityOnAPropertyWhichIsAnIndexHashKeyButNotAHashKeyOrRangeKey 0.001
testHasIndexHashKeyEqualConditionAnd_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsAnIndexHashKeyButNotAHashKeyOrRangeKey 0
testHasIndexHashKeyEqualCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsNeitherAnIndexHashKeyOrAHashKeyButIsARangeKey 0.001
testHasIndexHashKeyEqualConditionAnd_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsAnIndexHashKeyButNotAHashKeyButIsARangeKey 0.001
testHasIndexRangeKeyCondition_WhenConditionCriteriaIsNonEqualityConditionOnAPropertyWhichIsBothAnIndexRangeKeyAndAHashKey 0.001
addAttributeValueTest_WhenValueIsSingleDate 0.001
addAttributeValueTest_WhenValueIsDateCollection 0.001

SortHandlerTest

TestEnsureNoSortPagedSorted 0
testEnsureNoSortUnsorted 0
TestEnsureNoSortPagedUnsorted 0
testEnsureNoSortSorted 0
testThrowUnsupportedSortException 0
testEnsureNoSortUnpaged 0

CountByHashAndRangeKeyQueryTest

testGetSingleResultExists 0
testGetSingleResultDoesntExist 0

AuditingIntegrationTests

enablesAuditingAndSetsPropertiesAccordingly 0.471

LoggingEventListenerTest

testAfterDelete 0.028
testBeforeSave 0.001
testBeforeDelete 0.001
testAfterQuery 0.002
testAfterLoad 0
testAfterSave 0
testAfterScan 0.004

CustomerDocumentTest

runTest 0.058

Date2IsoDynamoDBMarshallerTest

testUnmarshallGarbage 0
testMarshall 0
testUnmarshall 0
testNullMarshall 0.001
testUnmarshallNull 0

DefaultDynamoDBDateMarshallerTest

testUnmarshallGarbage 0.001
testMarshall 0.001
testUnmarshall 0
testMarshallNull 0
testUnmarshallNull 0

DynamoDBIdIsHashKeyEntityInformationImplUnitTest

testGetHashKeyGivenId_WhenHashKeyTypeNotSameAsIdType_ThrowsIllegalArgumentException 0.001
testGetOverriddenAttributeName_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetJavaType_WhenEntityIsInstanceWithHashAndRangeKey_ReturnsEntityClass 0.001
testGetMarshallerForProperty_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testIsRangeKeyAware_ReturnsFalse_IrrespectiveOfEntityInformationSetup 0.001
testGetIsHashKeyProperty_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetIdType_WhenEntityIsInstanceWithHashAndRangeKey_ReturnsReturnTypeOfHashKeyMethod 0.001
testGetHashKeyPropertyName_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.002
testGetRangeKey_ReturnsNull_IrrespectiveOfEntityInformationSetup 0
testGetJavaType_WhenEntityIsInstanceWithHashKeyOnly_ReturnsEntityClass 0.001
testGetId_WhenHashKeyTypeSameAsIdType_InvokesHashKeyMethod_AndReturnedIdIsAssignableToIdType_AndIsValueExpected 0.001
testGetId_WhenHashKeyMethodNotSameAsIdType_InvokesHashKeyMethod_AndReturnedIdIsNotAssignableToIdType 0
testGetHashKeyGivenId_WhenHashKeyTypeSameAsIdType_ReturnsId 0.001
testGetIsCompositeIdProperty_ReturnsFalse_IrrespectiveOfEntityInformationSetup 0.001
testGetIdType_WhenEntityIsInstanceWithHashKeyOnly_ReturnsReturnTypeOfHashKeyMethod 0.001

AbstractSingleEntityQueryTest

testGetResultList 0

DynamoDBHashAndRangeKeyMethodExtractorImplUnitTest

testConstruct_WhenNeitherHashKeyOrRangeKeyMethodExist 0.004
testConstruct_WhenMultipleHashKeyMethodsExist 0.001
testConstruct_WhenHashKeyMethodExists_WhenRangeKeyMethodExists 0.001
testConstruct_WhenHashKeyMethodExists_WhenRangeKeyMethodDoesNotExist 0.001
testGetConstruct_WhenMultipleRangeKeyMethodsExist 0.002
testConstruct_WhenHashKeyMethodDoesNotExist_WhenRangeKeyMethodExists 0.001

DynamoDBHashAndRangeKeyTest

testGetterSetter 0
testConstructor 0
testDefaultConstructor 0

PartTreeDynamoDBQueryUnitTest

testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByRangeKeyOnly 0.065
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdWithHashKeyOnly_WhenSortingByRangeKey 0.006
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKeyNonEqualityCondition_WhereSecondaryHashKeyIsPrimaryRangeKey 0.009
testExecute_WhenFinderMethodIsFindingSingleEntity_WithSingleStringParameter_WhenNotFindingByHashKey_WhenDynamoAttributeNameOverridden 0.004
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByNotCompositeId 0.001
testExecute_WhenFinderMethodIsFindingSingleEntity_WithMultipleStringParameters_WhenFindingByHashKeyAndANonHashOrRangeProperty 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringParameter_WhenNotFindingByNotAProperty 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashIndexHashKey 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByNotHashKeyAndNotRangeKey 0.003
testExecute_WhenFinderMethodIsFindingEntityByGlobalSecondaryHashAndRangeIndexHashCondition_WhereSecondaryHashKeyMemberOfMultipleIndexes_WhereOneIndexIsExactMatch 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeId_HashKey 0.008
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKeyNonEqualityCondition_WhereSecondaryRangeKeyIsPrimaryRangeKey 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdAndByAnotherPropertyWithOverriddenAttributeName 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WithSingleStringParameter_WhenFindingByHashKeyOnly 0.003
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringParameter_WhenNotFindingByHashKey 0.002
testExecute_WhenExistsWithLimitQueryFindsNoEntity 0.003
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringParameter_WithSort_WhenNotFindingByHashKey 0.001
testExecute_WhenFinderMethodIsFindingSingleEntityWithCompositeId_WithSingleStringParameter_WhenFindingByHashAndRangeKey 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeId_HashKeyAndIndexRangeKey 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKey_WhereSecondaryHashKeyIsPrimaryRangeKey 0.004
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WithSingleStringParameter_WhenFindingByHashKeyAndNotRangeKey 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleDateParameter_WhenNotFindingByHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringParameter_WithCustomMarshaller_WhenNotFindingByHashKey 0.002
testExecute_WhenFinderMethodIsFindingSingleEntity_WithSingleStringParameter_WhenFindingByHashKey 0.001
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleDateParameter_WithCustomMarshaller_WhenFindingByGlobalSecondaryHashIndexHashKey 0.004
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleIntegerParameter_WhenNotFindingByHashKey 0.001
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringParameterIgnoringCase_WhenNotFindingByHashKey 0.001
testExecute_WhenExistsQueryFindsNoEntity 0.001
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByHashKeyAndIndexRangeKey_WithValidOrderSpecified 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdWithHashKeyOnlyAndByAnotherPropertyWithOverriddenAttributeName 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleDateParameter_WithCustomMarshaller_WhenNotFindingByHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityByGlobalSecondaryHashAndRangeIndexHashAndRangeKeyNonEqualityCondition_WhereBothSecondaryHashKeyAndSecondaryIndexRangeKeyMembersOfMultipleIndexes 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKeyNonEqualityCondition_WhereSecondaryRangeKeyIsPrimaryHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByHashKeyAndIndexRangeKey_OrderByIndexRangeKey 0.001
testExecute_WhenFinderMethodIsFindingEntityByGlobalSecondaryHashAndRangeIndexHashCondition_WhereSecondaryHashKeyMemberOfMultipleIndexes 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdWithHashKeyOnly 0.002
testExecute_WhenFinderMethodIsFindingSingleEntity_WithMultipleStringParameters_WhenFindingByHashKeyAndACollectionProperty 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKey_WhereSecondaryHashKeyIsPrimaryHashKey 0.002
testExecute_WhenExistsWithLimitQueryFindsOneEntity 0.001
testExecute_WhenExistsQueryFindsMultipleEntities 0.001
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKeyNonEqualityCondition_WhereSecondaryHashKeyIsPrimaryHashKey_WhenAccessingPropertyViaCompositeIdPath 0.002
testExecute_WhenExistsQueryFindsOneEntity 0.002
testExecute_WhenFinderMethodIsCountingEntityWithCompositeIdList_WhenFindingByRangeKeyOnly_ScanCountDisabled 0.004
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKey_WhereSecondaryRangeKeyIsPrimaryRangeKey 0.004
testExecute_WhenFinderMethodIsFindingEntityList_WithDateParameterAndStringParameter_WithCustomMarshaller_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKey 0.003
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdWithRangeKeyOnlyAndByAnotherPropertyWithOverriddenAttributeName 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKey_WhereSecondaryRangeKeyIsPrimaryHashKey 0.002
testExecute_WhenFinderMethodIsCountingEntityWithCompositeIdList_WhenFindingByRangeKeyOnly_ScanCountEnabled 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringParameter_WhenNotFindingByNotHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdWithRangeKeyOnly 0.001
testExecute_WhenFinderMethodIsFindingSingleEntityWithCompositeId_WhenFindingByCompositeId_HashKeyAndCompositeId_RangeKey 0.002
testGetQueryMethod 0.001
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashIndexHashKey_WhereSecondaryHashKeyIsPrimaryRangeKey 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleListParameter_WithIn_WhenNotFindingByHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByCompositeIdWithHashKeyOnly_WhenSortingByIndexRangeKey 0.001
testExecute_WhenFinderMethodIsFindingSingleEntity_WithMultipleStringParameters_WhenFindingByHashKeyAndANonHashOrRangeProperty_WhenDynamoDBAttributeNamesOveridden 0.001
testExecute_WhenFinderMethodIsFindingSingleEntityWithCompositeId_WhenFindingByCompositeId 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByHashKeyAndIndexRangeKey_WithInvalidOrderSpecified 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByHashKeyAndIndexRangeKey_OrderByRangeKey 0.002
testExecute_WhenFinderMethodIsFindingEntityList_WithSingleStringArrayParameter_WithIn_WhenNotFindingByHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeKeyList_WhenFindingByGlobalSecondaryHashAndRangeIndexHashAndRangeKeyNonEqualityCondition_WhereSecondaryHashKeyIsPrimaryHashKey 0.002
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByHashKeyAndIndexRangeKey 0.001
testExecute_WhenFinderMethodIsFindingSingleEntity_WithSingleStringParameter_WhenNotFindingByHashKey 0.001
testExecute_WhenFinderMethodIsFindingEntityWithCompositeIdList_WhenFindingByHashKeyAndIndexRangeKeyWithOveriddenName 0.002

DynamoDBTemplateTest

testCountQuery 0
testBatchDelete_CallsCorrectDynamoDBMapperMethod 0.001
testSave 0.001
testGetOverriddenTableName_WithTableNameResolver_defaultBuilder 0.003
testLoadByHashKey_WhenDynamoDBMapperReturnsNull 0
testConstructorMandatory 0
testLoadByHashKeyAndRangeKey_WhenDynamoDBMapperReturnsNull 0.001
testGetOverriddenTableName_WithTableNameResolver_defaultConfig 0
testConstructorOptionalAllNull 0.047
testGetOverriddenTableName_WithTableNameResolver_emptyBuilder 0
testConstructorOptionalPreconfiguredDynamoDBMapper 0
testBatchSave_CallsCorrectDynamoDBMapperMethod 0.001
testDelete 0.001
testCountScan 0.083

DynamoDBEntityMetadataSupportUnitTest

testGetMarshallerForProperty_WhenAnnotationIsOnField_AndReturnsDynamoDBMarshaller 0
testGetMarshallerForProperty_WhenAnnotationIsOnMethod_AndReturnsDynamoDBMarshaller 0

UnpagedPageImplTest

testStaticValues 0
testLongContent 0.001
testToString 0
testHashCode 0
testEquals 0.001
testEmptyContent 0

DynamoDBIdIsHashAndRangeKeyEntityInformationImplUnitTest

testGetOverriddenAttributeName_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.002
testConstruct_WhenEntityDoesNotHaveFieldAnnotatedWithId_ThrowsIllegalArgumentException 0.002
testGetId_WhenHashKeyMethodSameAsIdType_InvokesHashKeyMethod_AndReturnedIdIsAssignableToIdType_AndIsValueExpected 0.001
testGetPrototypeEntityForHashKey_DelegatesToDynamoDBEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetHashKeyGivenId_WhenIdMethodFoundOnEntity_DelegatesToHashAndRangeKeyExtractorWithGivenIdValue 0.003
testGetJavaType_WhenEntityIsInstanceWithHashAndRangeKey_ReturnsEntityClass 0.001
testGetMarshallerForProperty_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetIsHashKeyProperty_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetHashKeyPropertyName_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetIdType_WhenEntityIsInstanceWithHashAndRangeKey_ReturnsReturnTypeOfIdMethod 0.001
testGetRangeKeyGivenId_WhenIdMethodFoundOnEntity_DelegatesToHashAndRangeKeyExtractorWithGivenIdValue 0
testIsRangeKeyAware_ReturnsTrue 0.003
testGetIsCompositeIdProperty_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001
testGetHashKeyPrototypeEntityForHashKey_DelegatesToEntityMetadata_IrrespectiveOfEntityInformationSetup 0.001

ValidatingDynamoDBEventListenerTest

testValidationException 0.312
testEmptyResult 0.001
testWrongConstructor 0.001

DynamoDBRepositoryFactoryBeanTest

testAmazonDynamoDB 0.084
testDynamoDBOperations 0.011

AbstractMultipleEntityQueryTest

testSingleResult 0
testMultiResult 0
testNullResult 0

QueryExpressionCountQueryTest

testGetSingleResult 0

ExceptionHandlerTest

testEmpty 0
testSimple 0

AbstractDynamicQueryTest

testSetter 0.001

DynamoDBMappingContextTest

detectsPropertyAnnotation 0
detectdMethodsId 0.007
detectdMethodsAnnotation 0
skipped

DynamoDBPersistentEntityTest

testSomeProperty 0.002
testIdProperty 0.001
testCompositeIdProperty 0.001

AbstractDynamoDBQueryTest

testPaged 0.037
testUnpaged 0.086

Failure Details

[Summary] [Package List] [Test Cases]


detectdMethodsAnnotation
skipped: skipped