Summary

Tests Errors Failures Success Rate Time
273 0 0 100.00% 2.34

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

Package List

Package Tests Errors Failures Success Rate Time
it.amattioli.dominate.memory 40 0 0 100.00% 0.05
it.amattioli.dominate.groups 5 0 0 100.00% 0.00
it.amattioli.dominate.specifications.dflt 30 0 0 100.00% 0.12
it.amattioli.dominate.util 9 0 0 100.00% 0.01
it.amattioli.dominate.repositories 16 0 0 100.00% 0.00
it.amattioli.dominate.validation 5 0 0 100.00% 0.04
it.amattioli.dominate.specifications.hibernate 38 0 0 100.00% 0.14
it.amattioli.dominate.hibernate 33 0 0 100.00% 0.96
it.amattioli.dominate.specifications 29 0 0 100.00% 0.03
it.amattioli.dominate.hibernate.types 7 0 0 100.00% 0.72
it.amattioli.dominate.lazy 5 0 0 100.00% 0.08
it.amattioli.dominate.hibernate.filters 2 0 0 100.00% 0.00
it.amattioli.dominate.properties 30 0 0 100.00% 0.13
it.amattioli.dominate.resolver 7 0 0 100.00% 0.00
it.amattioli.dominate 3 0 0 100.00% 0.00
it.amattioli.dominate.sessions 5 0 0 100.00% 0.02
it.amattioli.dominate.specifications.beans 9 0 0 100.00% 0.03

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

it.amattioli.dominate.memory

Class Tests Errors Failures Success Rate Time
EmptyRepositoryTest 8 0 0 100.00% 0.00
MemoryRepositoryTest 20 0 0 100.00% 0.03
CollectionRepositoryTest 10 0 0 100.00% 0.00
MemoryRepositoryFactoryTest 2 0 0 100.00% 0.02

it.amattioli.dominate.groups

Class Tests Errors Failures Success Rate Time
GroupFactoryTest 3 0 0 100.00% 0.00
GroupTest 2 0 0 100.00% 0.00

it.amattioli.dominate.specifications.dflt

Class Tests Errors Failures Success Rate Time
DefaultObjectSpecificationTest 4 0 0 100.00% 0.00
DefaultLongSpecificationTest 6 0 0 100.00% 0.00
BeanShellSpecificationTest 3 0 0 100.00% 0.11
DefaultExclusionListSpecificationTest 3 0 0 100.00% 0.00
DefaultMultipleEnumSpecificationTest 4 0 0 100.00% 0.00
DefaultEnumSpecificationTest 4 0 0 100.00% 0.00
DefaultStringSpecificationTest 6 0 0 100.00% 0.00

it.amattioli.dominate.util

Class Tests Errors Failures Success Rate Time
GenericComparatorTest 2 0 0 100.00% 0.00
MultiPropertyComparatorTest 7 0 0 100.00% 0.01

it.amattioli.dominate.repositories

Class Tests Errors Failures Success Rate Time
OrderListTest 14 0 0 100.00% 0.00
CompositeRepositoryFactoryTest 2 0 0 100.00% 0.00

it.amattioli.dominate.validation

Class Tests Errors Failures Success Rate Time
DefaultValidatorTest 5 0 0 100.00% 0.04

it.amattioli.dominate.specifications.hibernate

Class Tests Errors Failures Success Rate Time
HqlStringSpecificationTest 6 0 0 100.00% 0.01
HqlMultipleEntitySpecificationTest 2 0 0 100.00% 0.00
HqlAssemblerTest 19 0 0 100.00% 0.01
HqlLongSpecificationTest 3 0 0 100.00% 0.00
CriteriaStringSpecificationTest 2 0 0 100.00% 0.01
HqlMultipleEnumSpecificationTest 2 0 0 100.00% 0.10
HqlEntitySpecificationTest 2 0 0 100.00% 0.00
HqlEnumSpecificationTest 2 0 0 100.00% 0.00

it.amattioli.dominate.hibernate

Class Tests Errors Failures Success Rate Time
HibernateEntityResolverTest 3 0 0 100.00% 0.06
HibernateRepositoryFactoryTest 4 0 0 100.00% 0.12
SessionManagerRegistryTest 2 0 0 100.00% 0.00
ClassHibernateRepositoryTest 12 0 0 100.00% 0.47
CollectionHibernateRepositoryTest 9 0 0 100.00% 0.22
HibernateTransactionTest 3 0 0 100.00% 0.09

it.amattioli.dominate.specifications

Class Tests Errors Failures Success Rate Time
TotalOrderComparisonTypeTest 6 0 0 100.00% 0.00
ConjunctionSpecificationTest 6 0 0 100.00% 0.00
DisjunctionSpecificationTest 7 0 0 100.00% 0.00
SpecificationTest 3 0 0 100.00% 0.01
NegatedSpecificationTest 7 0 0 100.00% 0.01

it.amattioli.dominate.hibernate.types

Class Tests Errors Failures Success Rate Time
EnumUserTypeTest 2 0 0 100.00% 0.63
ExternalEntityUserTypeTest 5 0 0 100.00% 0.09

it.amattioli.dominate.lazy

Class Tests Errors Failures Success Rate Time
LazyListTest 3 0 0 100.00% 0.00
LazyEntityTest 2 0 0 100.00% 0.08

it.amattioli.dominate.hibernate.filters

Class Tests Errors Failures Success Rate Time
ComparisonTypeTest 2 0 0 100.00% 0.00

it.amattioli.dominate.properties

Class Tests Errors Failures Success Rate Time
CollectionChangeEventTest 3 0 0 100.00% 0.00
PropertiesTest 5 0 0 100.00% 0.00
BoundListDecoratorTest 10 0 0 100.00% 0.11
BoundCollectionDecoratorTest 8 0 0 100.00% 0.01
IndexedPropertyAdapterTest 4 0 0 100.00% 0.00

it.amattioli.dominate.resolver

Class Tests Errors Failures Success Rate Time
CompositeEntityResolverTest 4 0 0 100.00% 0.00
EntityRegistryTest 3 0 0 100.00% 0.00

it.amattioli.dominate

Class Tests Errors Failures Success Rate Time
RepositoryRegistryTest 3 0 0 100.00% 0.00

it.amattioli.dominate.sessions

Class Tests Errors Failures Success Rate Time
SessionManagerRegistryTest 2 0 0 100.00% 0.00
CompositeSessionManagerTest 3 0 0 100.00% 0.02

it.amattioli.dominate.specifications.beans

Class Tests Errors Failures Success Rate Time
BeanSpecificationTest 9 0 0 100.00% 0.03

Test Cases

CollectionChangeEventTest

testEquals 0.00
testNotEquals 0.00
testNotEqualsNull 0.00

HqlStringSpecificationTest

testNotSet 0.00
testNotSatisfiedIfNotSet 0.00
testWithPredicateAssembler 0.00
testWithHqlAssembler 0.00
testWithHqlAssemblerNoAlias 0.00
testMappedProperty 0.00

PropertiesTest

testSet 0.00
testGet 0.00
testGetUnreadeable 0.00
testGetNestedNull 0.00
testSetUnwritable 0.00

DefaultObjectSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testNotSet 0.00
testAssembler 0.00

HibernateEntityResolverTest

testMappedEntity 0.02
testNotMappedEntity 0.02
testIfAutoLoadedInCompositeResolver 0.02

TotalOrderComparisonTypeTest

testEqual 0.00
testNotEqual 0.00
testGreater 0.00
testGreaterEq 0.00
testLower 0.00
testLowerEq 0.00

OrderListTest

testAdd 0.00
testClear 0.00
testRemoveLastWhen1 0.00
testRemoveLastWhen2 0.00
testRemoveLastWhenEmpty 0.00
testFirstProperty 0.00
testFirstPropertyWhenEmpty 0.00
testLastProperty 0.00
testLastPropertyWhenEmpty 0.00
testFirstReverse 0.00
testLastReverse 0.00
testFirstReverseWhenEmpty 0.00
testLastReverseWhenEmpty 0.00
testIsEmpty 0.00

CompositeEntityResolverTest

testNoAddedChildren 0.00
testOneAddedChildren 0.00
testTwoAddedChildren 0.00
testConstructorInjectedChildren 0.00

ConjunctionSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testAssembler 0.00
testNotSatisfiedIfNotSet 0.00
testWasNotSet 0.00
testSatisfiedIfNotSet 0.00

BoundListDecoratorTest

testSet 0.10
testAdd 0.00
testSize 0.00
testRemove 0.00
testElementChanged 0.00
testElementChangedAfterAddition 0.00
testNoEventFiredIfElementChangedAfterRemoval 0.00
testElementChangedAfterGettingTwice 0.00
testRemoveListener 0.00
testElementChangedAfterSet 0.00

DefaultLongSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testNotSet 0.00
testAssembler 0.00
testSatisfiedGreater 0.00
testSatisfiedLower 0.00

DisjunctionSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testAssembler 0.00
testNotSatisfiedIfNotSet 0.00
testWasSet 0.00
testWasNotSet 0.00
testSatisfiedIfNotSet 0.00

GenericComparatorTest

testCompare 0.00
testCompareNullFirst 0.00

SessionManagerRegistryTest

testNoPreDefinedSessionManager 0.00
testPreDefinedSessionManager 0.00

SpecificationTest

testSatisfied 0.00
testPredicate 0.00
testHibernateCriteria 0.01

HibernateRepositoryFactoryTest

testDefaultRepositoryConstruction 0.04
testPersistentCollectionRepositoryConstruction 0.03
testNonPersistentCollectionRepositoryConstruction 0.02
testCustomRepositoryConstruction 0.02

EntityRegistryTest

testRegisteredEntity 0.00
testConstructorInjectedEntity 0.00
testUnknownEntity 0.00

BeanSpecificationTest

testStringSpecificationPropertyType 0.01
testStringSpecificationPropertyValue 0.00
testStringSpecificationSatisfied 0.00
testEnumSpecificationPropertyType 0.00
testEnumSpecificationPropertyValue 0.00
testEnumSpecificationSatisfied 0.00
testEntitySpecificationPropertyType 0.00
testEntitySpecificationPropertyValue 0.00
testEntitySpecificationSatisfied 0.00

EmptyRepositoryTest

testGet 0.00
testGetByPropertyValue 0.00
testList 0.00
testPut 0.00
testListWithSpecification 0.00
testFilteredList 0.00
testRemoveAllowed 0.00
testRemoveById 0.00

DefaultValidatorTest

testValidatePropertyByAnnotation 0.04
testValidatePropertyByMethod 0.00
testPropertyConstraints 0.00
testPropertyConstraint 0.00
testBeanValidation 0.00

GroupFactoryTest

testOneEntity 0.00
testTwoEntitiesInTheSameGroup 0.00
testTwoEntitiesInDifferentGroups 0.00

SessionManagerRegistryTest

testNoPreDefinedSessionManager 0.00
testPreDefinedSessionManager 0.00

BoundCollectionDecoratorTest

testAdd 0.00
testSize 0.00
testRemove 0.00
testElementChanged 0.00
testElementChangedAfterAddition 0.00
testNoEventFiredIfElementChangedAfterRemoval 0.00
testElementChangedAfterGettingTwice 0.00
testRemoveListener 0.00

HqlMultipleEntitySpecificationTest

testAssembledQuery 0.00
testAssembledQueryNoAlias 0.00

ClassHibernateRepositoryTest

testGet 0.00
testGetByPropertyValue 0.05
testList 0.05
testOrderedList 0.04
testReverseOrderedList 0.04
testListWithCriteriaSpecification 0.05
testOrderedListWithCriteriaSpecification 0.04
testListWithHqlSpecification 0.06
testOrderedListWithHqlSpecification 0.04
testLimitedList 0.03
testPut 0.04
testRemoveOrder 0.03

MemoryRepositoryTest

testRemove 0.00
testGetByPropertyValue 0.01
testList 0.00
testOrderedList 0.00
testReverseOrderedList 0.00
testLimitedList 0.00
testRemoveLastOrder 0.00
testPutAndGet 0.00
testOrderProperty 0.00
testMultiOrderedList 0.00
testFilteredList 0.00
testLimitedFilteredList 0.00
testLimitedListWithSpec 0.00
testWrongLastLimit 0.00
testWrongLastLimitWithSpec 0.00
testWrongFirstLimit 0.00
testWrongFirstLimitWithSpec 0.00
testWrongBothLimits 0.00
testInvertedLimits 0.00
testInvertedLimitsWithSpec 0.00

RepositoryRegistryTest

testClassRepository 0.00
testCollectionrepository 0.00
testNoRepositoryFactoryClass 0.00

HqlAssemblerTest

testSingleSpecification 0.00
testEmptyConjunction 0.00
testConjunction 0.00
testConjunctionWithOneSpecification 0.00
testEmptyDisjunction 0.00
testDisjunction 0.00
testDisjunctionWithOneSpecification 0.00
testNestedConjunction 0.00
testDisjunctionNestedInConjunction 0.00
testNotSetDisjunctionDoubleNestedInConjunction 0.00
testEmptyConjunctionNestedInConjunction 0.00
testEmptyDisjunctionNestedInConjunction 0.00
testDisjunctionNestedInDisjunction 0.00
testJoin 0.00
testOrder 0.00
testMultipleOrder 0.00
testSimpleNot 0.00
testEmptyNot 0.00
testNegatedJunction 0.00

BeanShellSpecificationTest

testSatisfied 0.10
testNotSatisfied 0.00
testAssembler 0.01

CollectionHibernateRepositoryTest

testGet 0.03
testGetByPropertyValue 0.03
testList 0.02
testOrderedList 0.02
testReverseOrderedList 0.02
testLimitedList 0.02
testPut 0.03
testListWithSpecification 0.03
testRemoveLastOrder 0.02

CompositeRepositoryFactoryTest

testClassRepository 0.00
testUnknownRepository 0.00

HqlLongSpecificationTest

testEquality 0.00
testGreaterThan 0.00
testEqualityNoAlias 0.00

ComparisonTypeTest

testDescriptions 0.00
testLocalDescriptions 0.00

LazyListTest

testAdd 0.00
testSize 0.00
testGet 0.00

NegatedSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testAssembler 0.00
testNotSatisfiedIfNotSet 0.00
testWasSet 0.00
testWasNotSet 0.00
testSatisfiedIfNotSet 0.00

EnumUserTypeTest

testParameters 0.62
testLoad 0.01

CollectionRepositoryTest

testGet 0.00
testGetNull 0.00
testGetByPropertyValue 0.00
testList 0.00
testOrderedList 0.00
testReverseOrderedList 0.00
testLimitedList 0.00
testListWithSpecification 0.00
testRemoveLastOrder 0.00
testOrderedListWithSpecification 0.00

LazyEntityTest

testId 0.08
testMethodCall 0.00

GroupTest

testAdd 0.00
testContains 0.00

MultiPropertyComparatorTest

testCompareSingleProperty 0.00
testCompareSinglePropertyReversed 0.00
testCompareTwoProperties1 0.00
testCompareTwoProperties2 0.00
testCompareTwoPropertiesReversed 0.00
testCompareSinglePropertyNullFirst1 0.00
testCompareSinglePropertyNullFirst2 0.00

CriteriaStringSpecificationTest

testWithPredicateAssembler 0.00
testWithCriteriaAssembler 0.00

DefaultExclusionListSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testAssembler 0.00

IndexedPropertyAdapterTest

testAdd 0.00
testSize 0.00
testGet 0.00
testRemove 0.00

ExternalEntityUserTypeTest

testSet 0.03
testGet 0.05
testParameters 0.00
testGetNull 0.00
testSetNull 0.00

MemoryRepositoryFactoryTest

testDefaultRepositoryConstruction 0.01
testCollectionRepositoryConstruction 0.00

DefaultMultipleEnumSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testNotSet 0.00
testAssembler 0.00

HqlMultipleEnumSpecificationTest

testAssembledQuery 0.09
testAssembledQueryNoAlias 0.00

HqlEntitySpecificationTest

testAssembledQuery 0.00
testAssembledQueryNoAlias 0.00

CompositeSessionManagerTest

testGetSession 0.02
testSessionMode 0.00
testAlternativeSessionManager 0.00

HibernateTransactionTest

testCorrectTransaction 0.03
testExceptionalTransaction 0.03
testConcurrentExceptionalTransaction 0.03

DefaultEnumSpecificationTest

testSatisfied 0.00
testPredicate 0.00
testNotSatisfied 0.00
testNotSet 0.00

DefaultStringSpecificationTest

testSatisfied 0.00
testNotSatisfied 0.00
testNotSet 0.00
testAssembler 0.00
testSatisfiedCaseIgnore 0.00
testNotSatisfiedIfNotSet 0.00

HqlEnumSpecificationTest

testAssembledQuery 0.00
testAssembledQueryNoAlias 0.00