Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
260 0 0 1 99.6% 8.380 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.tools.test.database 24 0 0 0 100% 0.124 s
com.reallifedeveloper.tools.test 29 0 0 0 100% 0.043 s
com.reallifedeveloper.tools.test.fitnesse 10 0 0 0 100% 1.460 s
com.reallifedeveloper.tools.test.database.csv 7 0 0 0 100% 0.366 s
com.reallifedeveloper.tools.rabbitmq 3 0 0 0 100% 0.348 s
com.reallifedeveloper.tools.test.database.inmemory 138 0 0 0 100% 0.487 s
com.reallifedeveloper.tools.gis 9 0 0 1 88.9% 1.616 s
com.reallifedeveloper.tools 13 0 0 0 100% 0.395 s
com.reallifedeveloper.tools.test.database.dbunit 27 0 0 0 100% 3.541 s

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

com.reallifedeveloper.tools.test.database

- Class Tests Errors Failures Skipped Success Rate Time
CrudRepositoryWriterTest 2 0 0 0 100% 0.060 s
JpaUtilTest 22 0 0 0 100% 0.064 s

com.reallifedeveloper.tools.test

- Class Tests Errors Failures Skipped Success Rate Time
TestUtilTest 29 0 0 0 100% 0.043 s

com.reallifedeveloper.tools.test.fitnesse

- Class Tests Errors Failures Skipped Success Rate Time
FitNesseFixtureTest 10 0 0 0 100% 1.460 s

com.reallifedeveloper.tools.test.database.csv

- Class Tests Errors Failures Skipped Success Rate Time
CsvDatabaseReaderTest 7 0 0 0 100% 0.366 s

com.reallifedeveloper.tools.rabbitmq

- Class Tests Errors Failures Skipped Success Rate Time
MoveMessagesTest 3 0 0 0 100% 0.348 s

com.reallifedeveloper.tools.test.database.inmemory

- Class Tests Errors Failures Skipped Success Rate Time
JpaSpecificationExecutorTest 19 0 0 0 100% 0.051 s
PredicateSpecificationEvaluatorTest 39 0 0 0 100% 0.288 s
SortUtilTest 10 0 0 0 100% 0.015 s
InMemoryJpaRepositoryTest 70 0 0 0 100% 0.133 s

com.reallifedeveloper.tools.gis

- Class Tests Errors Failures Skipped Success Rate Time
ShapefileProcessorTest 5 0 0 0 100% 0.552 s
GeometryDrawingPanelTest 3 0 0 0 100% 1.064 s
ShapefileDrawingPanelTest 1 0 0 1 0% 0 s

com.reallifedeveloper.tools

- Class Tests Errors Failures Skipped Success Rate Time
FullThreadDumpTest 8 0 0 0 100% 0.383 s
ReadBytesTest 5 0 0 0 100% 0.012 s

com.reallifedeveloper.tools.test.database.dbunit

- Class Tests Errors Failures Skipped Success Rate Time
DbUnitDtdGeneratorTest 7 0 0 0 100% 0.816 s
DbTestHelperTest 9 0 0 0 100% 0.128 s
DbTestTest 4 0 0 0 100% 2.538 s
DbUnitFlatXmlReaderTest 7 0 0 0 100% 0.059 s

Test Cases

[Summary] [Package List] [Test Cases]

ShapefileProcessorTest

processShapefile 0.509 s
shape2sql 0.019 s
processShapefileNullUrl 0.002 s
processShapefileNonExistingUrl 0.001 s
constructorNullFeatureProcessor 0.001 s

JpaSpecificationExecutorTest

updateWithUpdateSpecificationThrowsUnsupportedOperationException 0.004 s
existsWithSpecificationThrowsUnsupportedOperationException 0 s
delete 0.007 s
exists 0.008 s
findBy 0.002 s
findOneReturnsEmptyOptionalIfNothingFound 0.002 s
findAll 0.006 s
findOne 0.003 s
finaOneWithSpecificationThrowsUnsupportedOperationException 0.001 s
findOneThrowsIncorrectResultSizeDataAccessExceptionIfMoreThanOneFound 0.003 s
finaAllWithSpecificationAndSpecificationFluentQueryThrowsUnsupportedOperationException 0.001 s
deleteWithDeleteSpecificationThrowsUnsupportedOperationException 0.001 s
finaAllWithTwoSpecificationsAndPageableThrowsUnsupportedOperationException 0.001 s
count 0.003 s
finaAllWithSpecificationThrowsUnsupportedOperationException 0.001 s
countWithSpecificationThrowsUnsupportedOperationException 0.001 s
predicateSpecificationEvaluatorIsNotNull 0 s
finaAllWithSpecificationAndPageableThrowsUnsupportedOperationException 0.001 s
finaAllWithSpecificationAndSortThrowsUnsupportedOperationException 0.001 s

DbUnitDtdGeneratorTest

generateDtdWithoutDataTypeFactory 0.353 s
mainTwoArguments 0.001 s
mainWithConfigurationClass 0.144 s
generateDtd 0.123 s
mainIncorrectArgument 0.002 s
mainNoArguments 0 s
mainWithConfigurationFile 0.189 s

PredicateSpecificationEvaluatorTest

orMatchesAsExpected 0.095 s
functionFailsIfReturningWrongResultType 0.007 s
isEmptyConsidersNullAsUnknownWhichDoesNotMatch 0.004 s
functionFailsIfGivenTheWrongNumberOfArguments 0.003 s
isEmptyMatchesAsExpected 0.002 s
inMatchesAsExpected 0.003 s
trueAndFalseAndNotMatchAsExpected 0.028 s
inDoesNotFailIfGivenASingleValue 0.002 s
separateJoinsAreIndependent 0.012 s
equalityChecksMatchAsExpected 0.003 s
isNotEmptyFailsIfNotGivenACollection 0.002 s
negatedPredicateMatchesAsExpected 0.002 s
isEmptyFailsIfNotGivenACollection 0.002 s
evaluatesMapJoinValue 0.005 s
functionFailsIfCalledWithWrongResultType 0.003 s
accessingUnknownPropertyThrowsIllegalArgumentException 0.002 s
nullChecksMatchAsExpected 0.003 s
matchesWhenOneJoinedRowSatisfiesBothConditions 0.004 s
propertyAccessUsingFieldsAndNestedGets 0.003 s
isNotEmptyConsidersNullAsUnknownWhichDoesNotMatch 0.002 s
pathImplementsObjectMethods 0.001 s
nullDoesNotMatchIn 0.002 s
evaluatesRegisteredFunction 0.002 s
functionsCanHandlePrimitiveReturnTypes 0.003 s
functionFailsIfGivenArgumentOfWrongType 0.002 s
filterWithAndWithoutNot 0.004 s
evaluatesMapJoinKey 0.004 s
criteriaBuilderInMatchesAsExpected 0.004 s
unrestrictedMatchesEverything 0 s
comparisonsMatchAsExpected 0.007 s
comparisonsUsingComparableMatchAsExpected 0.003 s
notConsidersNullAsUnknownWhichDoesNotMatch 0.004 s
isNotEmptyMatchesAsExpected 0.005 s
failsForUnregisteredFunction 0.002 s
mapJoinCanBeJoined 0.004 s
leftJoin 0.018 s
evaluatesSimpleProperties 0.003 s
bothConditionsMustMatchTheSameJoinedRow 0.004 s
usingUnimplementedMethodThrowsUnsupportedOperationException 0.004 s

FitNesseFixtureTest

getExistingBean 0 s
baseFitnNesseFixtureWithNullSpringConfigResourceName 0.001 s
testToString 0.002 s
getNonExistingBean 0.002 s
testResetApplicationContext 0.001 s
parseIncorrectDate 0.002 s
comment 0.001 s
parseCorrectDate 0.001 s
testLogger 0.001 s
testToStringNull 0 s

GeometryDrawingPanelTest

emptyDrawingPanelShouldPaintNothing 1.025 s
drawingPanelWithThreeGeometriesShouldPaintThreeObjects 0.021 s
drawingPanelShouldPaintNothingAfterClear 0.011 s

SortUtilTest

sortAscendingWithNullValuesFirst 0.001 s
sortDescendingWithNullValuesLast 0 s
sortAscendingIsStable 0.003 s
sortDescendingIsStable 0.001 s
sortAscending 0.001 s
sortDescending 0.002 s
sortAscendingOnlyNulls 0.001 s
sortDescendingWithNullValuesFirst 0.001 s
sortAscendingWithNullValuesLast 0 s
sortDescendingOnlyNulls 0.001 s

CsvDatabaseReaderTest

readFileForEntityWithMissingAssociations 0.231 s
readFileForSimpleEntity 0.030 s
readFileForEntityWithAssociations 0.064 s
readNonExistingFile 0.003 s
readFileWithoutIdAttributeAndNoPrimaryKeyGenerator 0.007 s
readFileWithIncorrectAttribute 0.005 s
readWrongTypeOfFile 0.005 s

MoveMessagesTest

moveMessages 0.330 s
createInstanceSetsConnectionFactory 0.008 s
constructorWithNullConnectionFacctoryThrowsException 0.002 s

CrudRepositoryWriterTest

writeEmbeddableThrowsException 0.001 s
writeEntityWithOneToOneWihoutMappebByOrJoinColumnThrowsException 0.048 s

JpaUtilTest

getNonExistingField 0.001 s
getFieldNameFromJoinColunAnnotation 0.004 s
addObjectToNonCollectionField 0.001 s
getIdField 0.001 s
getIdValue 0 s
addObjectToCollectionField 0.001 s
fieldNameForLogging 0.032 s
getFieldNameFromColumnAnnotation 0.001 s
getNonExistingIdField 0.001 s
getPrimaryKeyTypeForEntityWithEmbeddedId 0.001 s
addEntitiesToMapField 0.003 s
getNonExistingFieldName 0 s
getPrimaryKeyTypeForSimpleEntity 0 s
getPrimaryKeyTypeForEntityWithIdClass 0 s
getTableNameForEntityWithoutTableAnnotation 0.003 s
getPrimaryKeyTypeForNonEntity 0.001 s
getTableNameForEntityWithTableAnnotation 0 s
addEntitiesToNonMapField 0 s
getPrimaryKeyTypeForEntityWithInheritedId 0.004 s
getField 0 s
getPrimaryKeyforEntityWithoutId 0 s
getFieldNameFromFieldInSuperClass 0 s

InMemoryJpaRepositoryTest

findByUniqueFieldNotUnique 0.008 s
findByUniqueField 0.001 s
findAllPageable 0.006 s
findAllByExampleAndPageable 0.001 s
deleteAllEntities 0.001 s
findByNestedField 0.001 s
deleteEntityWithNullId 0.001 s
findByFieldNoSuchField 0.001 s
deleteAllById 0.001 s
findByFieldNoneFound 0.001 s
countEmpty 0.004 s
findByFieldEmptyRepository 0.001 s
findAll 0.002 s
findByFieldNullValue 0.001 s
findByUniqueNestedField 0.005 s
findById 0.001 s
findAllByIdNoIds 0.003 s
findAllPageableWithSorting 0.008 s
entityWithNoIdAnnotation 0.002 s
deleteAll 0.001 s
deleteAllEmpty 0.001 s
saveNullEntity 0.001 s
findAllById 0 s
findAllSort 0.001 s
save 0.001 s
deleteNullEntity 0.001 s
count 0.001 s
findAllByExampleAndSort 0.001 s
existsById 0.001 s
deleteByIdNullId 0.001 s
findOneByExample 0 s
existsByIdNullId 0.001 s
findByIdNullId 0.001 s
findAllByExample 0.001 s
existsByExample 0 s
findByUniqueFieldNotFound 0 s
saveNullPrimaryKeyWithNoGenerator 0.001 s
deleteByIdNonExistingId 0.001 s
findByField 0.001 s
findAllByIdNullIds 0.001 s
findByFieldNullFieldName 0.001 s
saveAllNullEntities 0.001 s
countByExample 0.001 s
findAllByIdNotFound 0 s
deleteById 0.001 s
deleteAllNullEntities 0.001 s
saveAll 0 s
getByIdEmpty 0.001 s
getOne 0.001 s
testToString 0 s
saveAndFlush 0 s
testRepositoryWithIdNotComparableToItself 0.002 s
deleteAllByIdInBatch 0.009 s
idClassSaveWithoutPrimaryKeys 0.002 s
saveNullPrimaryKeyWithGeneratorAndMethodAnnotations 0.002 s
getById 0.001 s
mappedSuperclassWithFieldAnnotations 0.001 s
mappedSuperclassWithMethodAnnotations 0 s
saveAllAndFlush 0 s
findByExampleAndFunctionThrowsUnsupportedOperationException 0.001 s
constructorWithNullPrimaryKeyGeneratorShouldThrowException 0 s
idClassSaveWithPrimaryKeys 0 s
saveTestEntityWithMethodAnnotations 0 s
getReferenceByIdThrowsUnsupportedOperationException 0 s
saveNullPrimaryKeyWithGenerator 0.001 s
deleteEntitiesInBatch 0 s
deleteNullEntitiesInBatch 0 s
deleteAllInBatch 0 s
saveAndFlushNullEntity 0 s
deleteAllInBatchEmpty 0.002 s

DbTestHelperTest

constructorNullDataSet 0.002 s
constructorNullDataSource 0.004 s
readDataSetFromClasspathNonExistingDtd 0.002 s
readDataSetFromClasspathNullResourceNames 0.002 s
normalUseWithDtdAndWithoutDataTypeFactory 0.049 s
normalUseWithDtd 0.037 s
readDataSetFromClasspathEmptyResourceNames 0.002 s
readDataSetFromClasspathNonExistingResourceName 0.003 s
normalUseWithoutDtd 0.016 s

DbTestTest

tearDownBeforeSetUp 0.146 s
constructorThreeArgsNullDataSetResourceNames 0.066 s
testRepository 0.098 s
constructorTwoArgs 0.048 s

TestUtilTest

injectFieldWithNullFieldName 0.003 s
parseDate 0 s
readResource 0.006 s
writeToReadOnlyFile 0.001 s
getNullFieldValue 0.001 s
getNestedFieldValueWithNullTopField 0 s
injectField 0 s
findFreePort 0 s
getValueOfNullFieldName 0.001 s
readNonExistingResource 0.001 s
getValueOfNonExistingField 0.001 s
parseNullDateTime 0.001 s
getNestedNullFieldValue 0.001 s
getValueOfNullObject 0.001 s
getValueOfNonExistingNestedField 0.001 s
injectNonExistingField 0.001 s
injectFieldInNullObject 0.001 s
utcNowShouldReturnCurrentDateAndTimeInUtc 0 s
readResourceNullResourceName 0.001 s
parseMalformedDate 0.001 s
getFieldValue 0.001 s
injectFieldNullValue 0 s
writeToNonExistingFile 0.002 s
parseDateTime 0 s
parseMalformedDateTime 0.001 s
writeToFile 0.002 s
getNestedFieldValue 0.001 s
parseNullDate 0.001 s
injectFieldInSubClass 0.001 s

ShapefileDrawingPanelTest

test 0 s
- Since this 'test' requires a headful Java installation and waits for you to close it manually -

FullThreadDumpTest

mainNotAHostnamePort 0.020 s
dump 0.159 s
main 0.097 s
mainNoArguments 0.007 s
mainNotAPortNumber 0.008 s
mainNegativePort 0.002 s
mainIncorrectPort 0.010 s
dumpWithDeadlock 0.067 s

DbUnitFlatXmlReaderTest

readFileForEntityWithMissingAssociations 0.014 s
readFileForSimpleEntity 0.003 s
readFileForEntityWithAssociations 0.014 s
readNonExistingFile 0.001 s
readFileWithoutIdAttributeAndNoPrimaryKeyGenerator 0.003 s
readFileWithIncorrectAttribute 0.001 s
readWrongTypeOfFile 0.002 s

ReadBytesTest

logBytesFromNonExistingUrl 0.002 s
logBytesFromNullUrl 0.001 s
main 0.003 s
mainWrongNumberOfArgument 0 s
logBytesFromUrl 0.002 s

Failure Details

[Summary] [Package List] [Test Cases]


test
- skipped: Since this 'test' requires a headful Java installation and waits for you to close it manually