Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
34000399.118%13.404

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.starobjects.jpa.runtime.persistence.objectstore.load.anyLazy20000100%0.76
org.starobjects.jpa.runtime.persistence.objectstore.instances.get5000100%0.345
org.starobjects.jpa.runtime.persistence.objectstore.update.oneToOne3000100%0.147
org.starobjects.jpa.runtime.persistence.oid42000100%0.074
org.starobjects.jpa.runtime.persistence.objectstore.instances.has3000100%0.144
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneEager15000100%2.154
org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.idMissing1000100%0.027
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToManyLazy26000100%1.212
org.starobjects.jpa.runtime.persistence.objectstore.load.supersubSingleTable6000100%0.196
org.starobjects.jpa.runtime.persistence.objectstore.load.manyToOneLazy22000100%0.892
org.starobjects.jpa.runtime.persistence.objectstore.load.simple6000100%0.201
org.starobjects.jpa.runtime.persistence5000100%0.041
org.starobjects.jpa.runtime.persistence.objectstore.init2000100%0.055
org.starobjects.jpa.runtime.persistence.objectstore.update.simple3000100%0.091
org.starobjects.jpa.runtime.persistence.objectstore.flush30030%0.001
org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.simple1000100%0.046
org.starobjects.jpa.runtime.persistence.objectstore.load.none7000100%0.188
org.starobjects.jpa.runtime.persistence.objectstore.load.manyToOneEagerJoin12000100%0.466
org.starobjects.jpa.runtime.persistence.objectstore.update.oneToOneBidir3000100%0.134
org.starobjects.jpa.runtime.persistence.objectstore.execute.save1000100%0.026
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneBidirLazyLazyFromNonFk22000100%1.111
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneBidirLazyLazyFromFk22000100%0.801
org.starobjects.jpa.runtime.persistence.objectstore.load.anyEager6000100%0.324
org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.idNonPublicGetter1000100%0.009
org.starobjects.jpa.runtime.persistence.objectstore.load.manyToOneEager15000100%0.531
org.starobjects.jpa.runtime.persistence.objectstore.update.oneToManyBidir3000100%0.185
org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.noEntities1000100%0.011
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneEagerJoin12000100%0.477
org.starobjects.jpa.runtime.persistence.objectstore.createCommands6000100%0.143
org.starobjects.jpa.runtime.persistence.objectstore.execute.create7000100%0.302
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneLazy22000100%0.875
org.starobjects.jpa.runtime.persistence.objectstore.load.oneToManyEagerJoin24000100%0.93
org.starobjects.jpa.runtime.persistence.objectstore.sessionmgmt4000100%0.105
org.starobjects.jpa.runtime.persistence.objectstore2000100%0.061
org.starobjects.jpa.runtime.persistence.objectstore.execute.destroy1000100%0.025
org.starobjects.jpa.runtime.persistence.objectstore.update.oneToMany6000100%0.314

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

org.starobjects.jpa.runtime.persistence.objectstore.load.anyLazy

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenAnyWithLazyWhenGetObjectTest9000100%0.33
GivenAnyWithLazyWhenResolveFieldTest2000100%0.105
GivenAnyWithLazyWhenResolveImmediatelyTest9000100%0.325

org.starobjects.jpa.runtime.persistence.objectstore.instances.get

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenNoSimpleObjectBWhenGetInstancesTest1000100%0.035
GivenSimpleObjectCSubWhenGetInstancesTest3000100%0.252
GivenSimpleObjectWhenGetInstancesTest1000100%0.058

org.starobjects.jpa.runtime.persistence.objectstore.update.oneToOne

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenTransactionWhenReplaceReferencedObjectTest3000100%0.147

org.starobjects.jpa.runtime.persistence.oid

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenJpaOidGeneratorWhenCreateOidTest2000100%0.006
GivenJpaOidGeneratorWhenOpenTest1000100%0.001
GivenJpaOidWhenCopyFromTest6000100%0.004
GivenJpaOidWhenCreateTest13000100%0.01
GivenJpaOidWhenDecodeTest3000100%0.027
GivenJpaOidWhenDestringTest6000100%0.02
GivenJpaOidWhenEncodeTest1000100%0.001
GivenJpaOidWhenEqualsTest4000100%0.002
GivenJpaOidWhenMakePersistentTest6000100%0.003

org.starobjects.jpa.runtime.persistence.objectstore.instances.has

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenNoSimpleObjectBWhenHasInstancesTest1000100%0.045
GivenSimpleObjectCSubWhenHasInstancesTest1000100%0.059
GivenSimpleObjectWhenHasInstancesTest1000100%0.04

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneEager

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToOneBasicEagerNoJoinWhenGetObjectTest7000100%1.845
GivenOneToOneBasicEagerNoJoinWhenResolveFieldTest1000100%0.044
GivenOneToOneBasicEagerNoJoinWhenResolveImmediatelyTest7000100%0.265

org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.idMissing

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenObjectWithNoIdWhenMapSpecsTest1000100%0.027

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToManyLazy

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToManyWithLazyWhenGetObjectTest12000100%0.466
GivenOneToManyWithLazyWhenResolveFieldTest2000100%0.072
GivenOneToManyWithLazyWhenResolveImmediatelyTest12000100%0.674

org.starobjects.jpa.runtime.persistence.objectstore.load.supersubSingleTable

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSuperSubWhenGetObjectTest3000100%0.096
GivenSuperSubWhenResolveImmediatelyTest3000100%0.1

org.starobjects.jpa.runtime.persistence.objectstore.load.manyToOneLazy

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenManyToOneWithLazyWhenGetObjectTest10000100%0.463
GivenManyToOneWithLazyWhenResolveFieldTest2000100%0.067
GivenManyToOneWithLazyWhenResolveImmediatelyTest10000100%0.362

org.starobjects.jpa.runtime.persistence.objectstore.load.simple

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSimpleWhenGetObjectTest3000100%0.124
GivenSimpleWhenResolveImmediatelyTest3000100%0.077

org.starobjects.jpa.runtime.persistence

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenJpaObjectStorePersistorInstallerWhenCreateThenPersistorTest5000100%0.041

org.starobjects.jpa.runtime.persistence.objectstore.init

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSingleRepositoryWhenRegisterAndInitializeStaticExecContextTest2000100%0.055

org.starobjects.jpa.runtime.persistence.objectstore.update.simple

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenTransactionWhenModifyPropertyTest3000100%0.091

org.starobjects.jpa.runtime.persistence.objectstore.flush

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenNoTransactionInProgressTest10010%0.001
GivenTransactionInProgressTest20020%0

org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.simple

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSimpleObjectWhenMapSpecsTest1000100%0.046

org.starobjects.jpa.runtime.persistence.objectstore.load.none

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenNonExistentWhenGetObjectTest1000100%0.027
GivenNonExistentWhenResolveImmediatelyTest1000100%0.02
GivenServiceWhenResolveImmediatelyTest1000100%0.027
GivenStandaloneWhenResolveImmediatelyTest2000100%0.053
GivenTransientWhenResolveImmediatelyTest2000100%0.061

org.starobjects.jpa.runtime.persistence.objectstore.load.manyToOneEagerJoin

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenManyToOneWithEagerJoinWhenGetObjectTest5000100%0.137
GivenManyToOneWithEagerJoinWhenResolveFieldTest2000100%0.111
GivenManyToOneWithEagerJoinWhenResolveImmediatelyTest5000100%0.218

org.starobjects.jpa.runtime.persistence.objectstore.update.oneToOneBidir

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenTransactionWhenReplaceReferencedObjectTest3000100%0.134

org.starobjects.jpa.runtime.persistence.objectstore.execute.save

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSingleObjectTest1000100%0.026

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneBidirLazyLazyFromNonFk

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToOneBidirWithLazyLazyWhenGetObjectTest10000100%0.64
GivenOneToOneBidirWithLazyLazyWhenResolveFieldTest2000100%0.06
GivenOneToOneBidirWithLazyLazyWhenResolveImmediatelyTest10000100%0.411

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneBidirLazyLazyFromFk

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToOneBidirWithLazyLazyWhenGetObjectTest10000100%0.387
GivenOneToOneBidirWithLazyLazyWhenResolveFieldTest2000100%0.064
GivenOneToOneBidirWithLazyLazyWhenResolveImmediatelyTest10000100%0.35

org.starobjects.jpa.runtime.persistence.objectstore.load.anyEager

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenAnyWithEagerWhenGetObjectTest2000100%0.081
GivenAnyWithEagerWhenResolveFieldTest2000100%0.145
GivenAnyWithEagerWhenResolveImmediatelyTest2000100%0.098

org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.idNonPublicGetter

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenObjectWithNonPublicIdWhenMapSpecsTest1000100%0.009

org.starobjects.jpa.runtime.persistence.objectstore.load.manyToOneEager

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenManyToOneBasicEagerNoJoinWhenGetObjectTest7000100%0.244
GivenManyToOneBasicEagerNoJoinWhenResolveFieldTest1000100%0.053
GivenManyToOneBasicEagerNoJoinWhenResolveImmediatelyTest7000100%0.234

org.starobjects.jpa.runtime.persistence.objectstore.update.oneToManyBidir

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenTransactionWhenAddObjectToCollectionTest3000100%0.185

org.starobjects.jpa.runtime.persistence.objectstore.mapSpec.noEntities

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenNoObjectMarkedAsEntityWhenMapSpecsTest1000100%0.011

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneEagerJoin

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToOneWithEagerJoinWhenGetObjectTest5000100%0.215
GivenOneToOneWithEagerJoinWhenResolveFieldTest2000100%0.057
GivenOneToOneWithEagerJoinWhenResolveImmediatelyTest5000100%0.205

org.starobjects.jpa.runtime.persistence.objectstore.createCommands

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenCreateCreateCommandTest2000100%0.051
GivenCreateDestroyCommandTest2000100%0.037
GivenCreateSaveCommandTest2000100%0.055

org.starobjects.jpa.runtime.persistence.objectstore.execute.create

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSingleAutoAssignedObjectTest2000100%0.063
GivenSingleObjectTest5000100%0.239

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToOneLazy

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToOneWithLazyWhenGetObjectTest10000100%0.495
GivenOneToOneWithLazyWhenResolveFieldTest2000100%0.069
GivenOneToOneWithLazyWhenResolveImmediatelyTest10000100%0.311

org.starobjects.jpa.runtime.persistence.objectstore.load.oneToManyEagerJoin

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenOneToManyWithEagerWhenGetObjectTest11000100%0.376
GivenOneToManyWithEagerWhenResolveFieldTest2000100%0.057
GivenOneToManyWithEagerWhenResolveImmediatelyTest11000100%0.497

org.starobjects.jpa.runtime.persistence.objectstore.sessionmgmt

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenAttachedObjectWhenModifyTest1000100%0.034
GivenOpenPersistenceSessionWhenCloseTest1000100%0.021
GivenOpenPersistenceSessionWithDirtyObjectsWhenCloseTest2000100%0.05

org.starobjects.jpa.runtime.persistence.objectstore

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenFixtureGivesControlRequiredTest2000100%0.061

org.starobjects.jpa.runtime.persistence.objectstore.execute.destroy

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenSingleObjectTest1000100%0.025

org.starobjects.jpa.runtime.persistence.objectstore.update.oneToMany

ClassTestsErrors FailuresSkippedSuccess RateTime
GivenTransactionWhenAddObjectToCollectionTest3000100%0.118
GivenTransactionWhenRemoveObjectFromCollectionTest3000100%0.196

Test Cases

[Summary] [Package List] [Test Cases]

GivenJpaObjectStorePersistorInstallerWhenCreateThenPersistorTest

isInstanceOfAnObjectStorePersistor0.031
shouldBeWiredUpToUseAJpaObjectStore0.002
shouldBeWiredUpToUseAJpaOidGenerator0.003
shouldBeWiredUpToUseAJpaSimplePersistAlgorithm0.002
shouldUsePojoAdapterFactorySpecified0.001

GivenCreateCreateCommandTest

whenNotPersistentShouldCreateNotNullCommand0.034
whenPersistentShouldThrowException0.015

GivenCreateDestroyCommandTest

shouldCreateNotNullCommand0.019
whenNotPersistentShouldThrowException0.017

GivenCreateSaveCommandTest

shouldCreateNotNullCommand0.027
whenNotPersistentShouldThrowException0.027

GivenSingleAutoAssignedObjectTest

whenExecuteShouldAssignId0.045
whenExecuteShouldAssignSequentialIds0.018

GivenSingleObjectTest

whenExecuteShouldSaveSingleObjectToDatabase0.03
whenExecuteShouldChangeResolveStateFromTransientToResolved0.019
whenExecuteShouldChangeOidFromTransientToPersistent0.02
whenExecuteShouldOidShouldHavePrevoius0.025
whenExecuteShouldOidShouldStorePrevoius0.123

GivenSingleObjectTest

whenExecuteShouldDeleteSingleObject0.025

GivenSingleObjectTest

whenExecuteShouldUpdateSingleObject0.025

GivenNoTransactionInProgressTest

thenFlushShouldDoNothing 0.037
skipped

GivenFixtureGivesControlRequiredTest

fixtureShouldHaveOpenedJpaObjectStore0.023
fixtureLetsUsCloseJpaObjectStore0.037

GivenSingleRepositoryWhenRegisterAndInitializeStaticExecContextTest

canInitializeWithSingleRepository0.036
serviceOidIsPersistent0.018

GivenNoSimpleObjectBWhenGetInstancesTest

andSearchForAllInstancesThenShouldFindNone0.034

GivenSimpleObjectCSubWhenGetInstancesTest

usingAllInstancesCriteriaThenShouldFindAllMatching0.169
usingNamedQueryCriteriaThenShouldFindThoseMatching0.043
usingNamedQueryCriteriaWithArgumentsThenShouldFindThoseMatching0.039

GivenSimpleObjectWhenGetInstancesTest

usingAllInstancesCriteriaThenShouldFindAllMatching0.057

GivenNoSimpleObjectBWhenHasInstancesTest

thenShouldReturnFalse0.045

GivenSimpleObjectCSubWhenHasInstancesTest

whenHasInstancesThenShouldReturnTrue0.054

GivenSimpleObjectWhenHasInstancesTest

thenShouldReturnTrue0.04

GivenAnyWithEagerWhenGetObjectTest

referencedObjectProxyIsUninitializedEvenThoughMappedAsEager0.031
emptyReferencedObjectIsNull0.048

GivenAnyWithEagerWhenResolveFieldTest

emptyReferencedObjectIsNull0.067
referencedObjectIsInitialized0.077

GivenAnyWithEagerWhenResolveImmediatelyTest

referencedObjectProxyIsUninitializedEvenThoughMappedAsEager0.066
emptyReferencedObjectIsNull0.03

GivenAnyWithLazyWhenGetObjectTest

shouldGetReferencingObjectAndTheReferencedObject0.067
referencedObjectIsProxy0.027
referencedObjectIsHibernateLazyInitializer0.026
referencedObjectProxyIsUninitialized0.026
adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.043
adapterForReferencedObjectIsCreated0.025
adapterForReferencedObjectShouldBeMarkedAsPersistentAndGhost0.026
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.026
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.059

GivenAnyWithLazyWhenResolveFieldTest

emptyReferencedObjectIsNull0.069
referencedObjectIsInitialized0.035

GivenAnyWithLazyWhenResolveImmediatelyTest

shouldGetReferencingObjectAndTheReferencedObject0.029
referencedObjectIsProxy0.027
referencedObjectIsHibernateLazyInitializer0.027
referencedObjectProxyIsUninitialized0.058
adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.035
adapterForReferencedObjectIsCreated0.029
adapterForReferencedObjectShouldBeMarkedAsPersistentAndGhost0.041
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.029
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.046

GivenManyToOneBasicEagerNoJoinWhenGetObjectTest

shouldResolveReferencingObjectAndReferencedObjects0.055
cannotResolveNullReference0.03
referencedObjectsAreNotProxied0.028
shouldTriggerUniqueOnPostLoadEventsForEachLoadedObject0.028
shouldMoveReferencingObjectsAdapterToResolved0.043
shouldCreateAdaptersForReferencedObjects0.028
shouldMarkAdaptersOfReferencedObjectsAsResolved0.03

GivenManyToOneBasicEagerNoJoinWhenResolveFieldTest

referencedObjectIsInitialized0.053

GivenManyToOneBasicEagerNoJoinWhenResolveImmediatelyTest

shouldResolveReferencingObjectAndReferencedObjects0.029
cannotResolveNullReference0.045
referencedObjectsAreNotProxied0.027
shouldTriggerUniqueOnPostLoadEventsForEachLoadedObject0.027
shouldMoveReferencingObjectsAdapterToResolved0.028
shouldCreateAdaptersForReferencedObjects0.046
shouldMarkAdaptersOfReferencedObjectsAsResolved0.029

GivenManyToOneWithEagerJoinWhenGetObjectTest

cannotResolveNullReference0.027
shouldResolveReferencingAndReferencedObjects0.024
referencedObjectIsNotProxy0.023
shouldCreatePersistentResolvedAdapterForBothLoadedObjects0.037
shouldTriggerOnLoadTwice0.024

GivenManyToOneWithEagerJoinWhenResolveFieldTest

referencedObjectIsInitialized0.071
nullReferencedObjectIsNull0.039

GivenManyToOneWithEagerJoinWhenResolveImmediatelyTest

cannotResolveNullReference0.032
shouldResolveReferencingAndReferencedObjects0.048
referencedObjectIsNotProxy0.034
shouldCreatePersistentResolvedAdapterForBothLoadedObjects0.062
shouldTriggerOnLoadTwice0.029

GivenManyToOneWithLazyWhenGetObjectTest

referencedObjectIsProxy0.073
referencedObjectIsHibernateLazyInitializer0.047
adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.038
adapterForReferencedObjectIsCreated0.037
adapterForReferencedObjectShouldBeMarkedAsPersistentAndGhost0.032
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.05
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.038
shouldResolveReferencingObject0.037
shouldResolveProxyForTheReferencedObject0.034
shouldResolveNullReferenceAsNull0.069

GivenManyToOneWithLazyWhenResolveFieldTest

referencedObjectIsInitialized0.035
nullReferencedObjectIsNull0.026

GivenManyToOneWithLazyWhenResolveImmediatelyTest

referencedObjectIsProxy0.062
referencedObjectIsHibernateLazyInitializer0.044
adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.028
adapterForReferencedObjectIsCreated0.031
adapterForReferencedObjectShouldBeMarkedAsPersistentAndGhost0.025
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.037
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.052
shouldResolveReferencingObject0.031
shouldResolveProxyForTheReferencedObject0.024
shouldResolveNullReferenceAsNull0.023

GivenNonExistentWhenGetObjectTest

shouldThrowExceptionIfObjectDoesNotExist0.026

GivenNonExistentWhenResolveImmediatelyTest

shouldThrowExceptionIfDoesNotExists0.019

GivenServiceWhenResolveImmediatelyTest

shouldIgnoreRequestsToResolveServiceObjects0.027

GivenStandaloneWhenResolveImmediatelyTest

shouldIgnoreRequestsToResolveStandaloneObjects0.035
doesNotChangeStateOfStandaloneObjects0.017

GivenTransientWhenResolveImmediatelyTest

shouldIgnoreRequestsToResolveStillTransientObjects0.037
doesNotChangeStateOfStillTransientObjects0.023

GivenOneToManyWithEagerWhenGetObjectTest

shouldTriggerUniqueOnPostLoadEventsForEachLoadedObject0.035
shouldMarkAdaptersOfReferencedObjectsAsResolved0.032
shouldResolveReferencingObject0.03
shouldCreateAdapterForNonEmptyCollection0.052
shouldCreateAdapterForEmptyCollection0.027
adapterOidForNonEmptyCollectionShouldBeAggregated0.026
adapterOidForEmptyCollectionShouldBeAggregated0.026
nonEmptyCollectionAdapterShouldBeResolved0.047
emptyCollectionAdapterShouldBeResolved0.042
shouldResolveReferencingObjectAndReferencedObjectsWhenThereAreSome0.028
canResolveReferencingObjectButReferencedObjectsIfEmptyCollection0.026

GivenOneToManyWithEagerWhenResolveFieldTest

referencedObjectIsInitialized0.029
emptyCollectionIsInitialized0.028

GivenOneToManyWithEagerWhenResolveImmediatelyTest

shouldTriggerUniqueOnPostLoadEventsForEachLoadedObject0.069
shouldMarkAdaptersOfReferencedObjectsAsResolved0.058
shouldResolveReferencingObject0.058
shouldCreateAdapterForNonEmptyCollection0.036
shouldCreateAdapterForEmptyCollection0.035
adapterOidForNonEmptyCollectionShouldBeAggregated0.039
adapterOidForEmptyCollectionShouldBeAggregated0.049
nonEmptyCollectionAdapterShouldBeResolved0.035
emptyCollectionAdapterShouldBeResolved0.033
shouldResolveReferencingObjectAndReferencedObjectsWhenThereAreSome0.047
canResolveReferencingObjectButReferencedObjectsIfEmptyCollection0.035

GivenOneToManyWithLazyWhenGetObjectTest

shouldResolveReferencingObject0.035
shouldCreateAdapterForNonEmptyCollection0.038
shouldCreateAdapterForEmptyCollection0.029
adapterOidForNonEmptyCollectionShouldBeAggregated0.029
adapterOidForEmptyCollectionShouldBeAggregated0.047
nonEmptyCollectionAdapterShouldBeGhost0.04
emptyCollectionAdapterShouldBeGhost0.057
shouldAutomaticallyResolveNonEmptyCollectionAsWalkGraph0.048
shouldAutomaticallyResolveEmptyCollectionAsWalkGraph0.032
shouldCreateAdaptersForReferencedObjectsAsWalkGraph0.046
shouldMarkAdaptersOfReferencedObjectsAsResolvedAsWalkGraph0.032
shouldTriggerSinglePostLoadEvents0.028

GivenOneToManyWithLazyWhenResolveFieldTest

emptyCollectionIsInitialized0.041
nonEmptyCollectionIsInitialized0.03

GivenOneToManyWithLazyWhenResolveImmediatelyTest

shouldResolveReferencingObject0.11
shouldCreateAdapterForNonEmptyCollection0.033
shouldCreateAdapterForEmptyCollection0.056
adapterOidForNonEmptyCollectionShouldBeAggregated0.034
adapterOidForEmptyCollectionShouldBeAggregated0.033
nonEmptyCollectionAdapterShouldBeGhost0.066
emptyCollectionAdapterShouldBeGhost0.039
shouldAutomaticallyResolveNonEmptyCollectionAsWalkGraph0.046
shouldAutomaticallyResolveEmptyCollectionAsWalkGraph0.067
shouldCreateAdaptersForReferencedObjectsAsWalkGraph0.078
shouldMarkAdaptersOfReferencedObjectsAsResolvedAsWalkGraph0.037
shouldTriggerSinglePostLoadEvents0.034

GivenOneToOneBidirWithLazyLazyWhenGetObjectTest

adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.062
adapterForReferencedObjectIsCreated0.033
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.048
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.032
shouldResolveReferencingObjectAndReferencedObjects0.037
shouldResolveReferencingObject0.032
shouldResolveProxyForTheReferencedObject0.032
shouldResolveNullReferenceAsNull0.046
referencedObjectIsLazilyLoaded0.032
shouldMarkAdaptersOfReferencedObjectsAsGhost0.03

GivenOneToOneBidirWithLazyLazyWhenResolveFieldTest

nullReferencedObjectIsNull0.031
referencedObjectIsInitializedAsResolveField0.03

GivenOneToOneBidirWithLazyLazyWhenResolveImmediatelyTest

adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.031
adapterForReferencedObjectIsCreated0.033
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.028
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.048
shouldResolveReferencingObjectAndReferencedObjects0.056
shouldResolveReferencingObject0.027
shouldResolveProxyForTheReferencedObject0.026
shouldResolveNullReferenceAsNull0.026
referencedObjectIsLazilyLoaded0.044
shouldMarkAdaptersOfReferencedObjectsAsGhost0.025

GivenOneToOneBidirWithLazyLazyWhenGetObjectTest

adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.1
adapterForReferencedObjectIsCreated0.044
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.044
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.065
shouldResolveReferencingObjectAndReferencedObjects0.051
shouldMarkAdaptersOfReferencedObjectsAsResolved0.097
shouldResolveReferencingObject0.059
shouldResolveProxyForTheReferencedObject0.071
shouldResolveNullReferenceAsNull0.065
referencedObjectIsEagerlyLoaded0.039

GivenOneToOneBidirWithLazyLazyWhenResolveFieldTest

nullReferencedObjectIsNull0.031
referencedObjectIsInitializedEvenThoughMarkedAsLazy0.028

GivenOneToOneBidirWithLazyLazyWhenResolveImmediatelyTest

adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.044
adapterForReferencedObjectIsCreated0.063
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.031
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.031
shouldResolveReferencingObjectAndReferencedObjects0.061
shouldMarkAdaptersOfReferencedObjectsAsResolved0.031
shouldResolveReferencingObject0.031
shouldResolveProxyForTheReferencedObject0.03
shouldResolveNullReferenceAsNull0.055
referencedObjectIsEagerlyLoaded0.029

GivenOneToOneBasicEagerNoJoinWhenGetObjectTest

shouldResolveReferencingObjectAndReferencedObjects1.457
cannotResolveNullReference0.054
referencedObjectsAreNotProxied0.053
shouldTriggerUniqueOnPostLoadEventsForEachLoadedObject0.054
shouldMoveReferencingObjectsAdapterToResolved0.049
shouldCreateAdaptersForReferencedObjects0.081
shouldMarkAdaptersOfReferencedObjectsAsResolved0.058

GivenOneToOneBasicEagerNoJoinWhenResolveFieldTest

referencedObjectIsInitialized0.043

GivenOneToOneBasicEagerNoJoinWhenResolveImmediatelyTest

shouldResolveReferencingObjectAndReferencedObjects0.033
cannotResolveNullReference0.058
referencedObjectsAreNotProxied0.031
shouldTriggerUniqueOnPostLoadEventsForEachLoadedObject0.032
shouldMoveReferencingObjectsAdapterToResolved0.028
shouldCreateAdaptersForReferencedObjects0.027
shouldMarkAdaptersOfReferencedObjectsAsResolved0.052

GivenOneToOneWithEagerJoinWhenGetObjectTest

cannotResolveNullReference0.033
shouldResolveReferencingAndReferencedObjects0.029
referencedObjectIsNotProxy0.035
shouldCreatePersistentResolvedAdapterForBothLoadedObjects0.048
shouldTriggerOnLoadTwice0.069

GivenOneToOneWithEagerJoinWhenResolveFieldTest

referencedObjectIsInitialized0.028
nullReferencedObjectIsNull0.028

GivenOneToOneWithEagerJoinWhenResolveImmediatelyTest

cannotResolveNullReference0.078
shouldResolveReferencingAndReferencedObjects0.026
referencedObjectIsNotProxy0.036
shouldCreatePersistentResolvedAdapterForBothLoadedObjects0.032
shouldTriggerOnLoadTwice0.032

GivenOneToOneWithLazyWhenGetObjectTest

referencedObjectIsProxy0.072
referencedObjectIsHibernateLazyInitializer0.042
adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.043
adapterForReferencedObjectIsCreated0.025
adapterForReferencedObjectShouldBeMarkedAsPersistentAndGhost0.105
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.035
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.044
shouldResolveReferencingObject0.028
shouldResolveProxyForTheReferencedObject0.043
shouldResolveNullReferenceAsNull0.029

GivenOneToOneWithLazyWhenResolveFieldTest

referencedObjectIsInitialized0.031
nullReferencedObjectIsNull0.026

GivenOneToOneWithLazyWhenResolveImmediatelyTest

referencedObjectIsProxy0.044
referencedObjectIsHibernateLazyInitializer0.025
adapterForReferencingObjectShouldBeMarkedAsPersistentAndResolved0.025
adapterForReferencedObjectIsCreated0.027
adapterForReferencedObjectShouldBeMarkedAsPersistentAndGhost0.038
shouldAutomaticallyResolveLazyObjectsAsWalkGraph0.04
asWalkGraphShouldSetAdaptersForLazyObjectsToResolved0.026
shouldResolveReferencingObject0.024
shouldResolveProxyForTheReferencedObject0.028
shouldResolveNullReferenceAsNull0.027

GivenSimpleWhenGetObjectTest

shouldBeAbleToResolveImmediatelyIfExists0.056
shouldChangeResolveStateToWhatIfExists0.033
shouldIgnoreRequestsToResolveAlreadyResolvedObject0.033

GivenSimpleWhenResolveImmediatelyTest

shouldBeAbleToResolveImmediatelyIfExists0.039
shouldChangeResolveStateToWhatIfExists0.018
shouldIgnoreRequestsToResolveAlreadyResolvedObject0.019

GivenSuperSubWhenGetObjectTest

shouldBeAbleToResolveImmediatelyIfExists0.031
shouldChangeResolveStateToWhatIfExists0.026
shouldIgnoreRequestsToResolveAlreadyResolvedObject0.038

GivenSuperSubWhenResolveImmediatelyTest

shouldBeAbleToResolveImmediatelyIfExists0.032
shouldChangeResolveStateToWhatIfExists0.026
shouldIgnoreRequestsToResolveAlreadyResolvedObject0.039

GivenObjectWithNoIdWhenMapSpecsTest

shouldThrowExceptionIfMappedEntityDoesNotHaveAnIdProperty0.019

GivenObjectWithNonPublicIdWhenMapSpecsTest

shouldThrowExceptionIfMappedEntityDoesNotHaveAPublicIdProperty0.008

GivenNoObjectMarkedAsEntityWhenMapSpecsTest

shouldThrowExceptionIfNoEntitiesHaveBeenMapped0.009

GivenSimpleObjectWhenMapSpecsTest

shouldBeAbleToMapSimpleObject0.044

GivenAttachedObjectWhenModifyTest

thenDirtiesHibernateSession0.034

GivenOpenPersistenceSessionWhenCloseTest

thenClosesHibernateSession0.021

GivenOpenPersistenceSessionWithDirtyObjectsWhenCloseTest

thenFlushesHibernateSession0.023
thenFlushesDirtiedObject0.027

GivenTransactionWhenAddObjectToCollectionTest

thenFlushesHibernateSession0.058
thenFlushesDirtiedObject0.031
thenCommitAddsToUpdateNotifier0.029

GivenTransactionWhenRemoveObjectFromCollectionTest

thenFlushesHibernateSession0.083
thenFlushesDirtiedObject0.045
thenCommitAddsToUpdateNotifier0.034

GivenTransactionWhenAddObjectToCollectionTest

thenFlushesHibernateSession0.056
thenFlushesDirtiedObject0.089
thenCommitAddsToUpdateNotifier0.038

GivenTransactionWhenReplaceReferencedObjectTest

thenCommitAddsToUpdateNotifier0.048
thenCommitFlushesHibernateSession0.032
thenCommitFlushesDirtiedObject0.066

GivenTransactionWhenReplaceReferencedObjectTest

thenCommitAddsToUpdateNotifier0.067
thenCommitFlushesHibernateSession0.034
thenCommitFlushesDirtiedObject0.032

GivenTransactionWhenModifyPropertyTest

thenCommitAddsToUpdateNotifier0.026
thenCommitFlushesHibernateSession0.041
thenCommitFlushesDirtiedObject0.022

GivenJpaOidGeneratorWhenCreateOidTest

thenUsesClassStrategyToDetermineClass0.004
thenReturnedOidReflectsStrategizedClass0.001

GivenJpaOidGeneratorWhenOpenTest

thenThrowsExceptionIfClassStrategyMustBeInjected0.001

GivenJpaOidWhenCopyFromTest

isEquals0
syncsTheJpaIds0
transientStateIsCopiedOver0.001
persistentStateIsCopiedOver0
pendingPersistentStateIsCopiedOver0
previousStateIsCopiedOver0

GivenJpaOidWhenCreateTest

createPersistentUsingSerializablePrimaryKeyIsSaved0
createTransientUsingSerializablePrimaryKeyIsSaved0
createPersistentStoresClassName0
createTransientStoresClassName0
createPersistentUsesSerializablePrimaryKeyAsTheHibernateId0
createTransientHasANullNewId0
createPersistentHasNoPrevious0
createPersistentHasNullNewId0
createTransientHasNoPrevious0
createPersistentIsNotTransient0
createTransientIsTransient0
createPersistentUsingLongIdIsConvertedImplicitlyAndUsedDirectlyAsSerializablePrimaryKey0
createTransientUsingLongIdIsConvertedWithOffsetToLongAndUsedAsSerializablePrimaryKey0

GivenJpaOidWhenDecodeTest

shouldBeAbleToDecodeHibernateOids[0]0.02
shouldBeAbleToDecodeHibernateOids[1]0.001
shouldBeAbleToDecodeHibernateOids[2]0

GivenJpaOidWhenDestringTest

destringTransient0.016
destringPersistent0.001
unknownDiscriminator0
invalidId0.001
invalidTooManyParts0.001
invalidPersistenceDistinguisher0

GivenJpaOidWhenEncodeTest

shouldBeAbleToEncodeHibernateOids0.001

GivenJpaOidWhenEqualsTest

thenShouldBeEqualsIfBothPersistentForSameClassAndSamePersistedId0
thenShouldNotBeEqualIfBothPersistentForSameClassButDifferentPersistedId0
thenShouldNotBeEqualIfBothPersistentForDifferentClassEvenIfSamePersistedId0.001
testShouldNotBeEqualIfPersistentVsTransient0

GivenJpaOidWhenMakePersistentTest

noLongerTransientPersistent0
getPreviousPopulatedAndIsEqualToCopy0
setNewIdIsStored0
setNewIdIsClearedAfterMakePersistent0
setNewIdBecomesTheIdAfterMakePersistent0
equalToExpected0

Failure Details

[Summary] [Package List] [Test Cases]


thenFlushShouldDoNothing
skipped: skipped
whenNoCommandsThenFlushShouldDoSomething
skipped: skipped
whenCommandsThenFlushShouldDoSomethingElse
skipped: skipped