[Summary] [Package List] [Test Cases]
| Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|
| 168 | 0 | 0 | 0 | 100% | 11.21 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
[Summary] [Package List] [Test Cases]
| Package | Tests | Errors | Failures | Skipped | Success Rate | Time |
|---|---|---|---|---|---|---|
| org.apache.onami.persist.test.transaction | 14 | 0 | 0 | 0 | 100% | 6.041 |
| org.apache.onami.persist | 145 | 0 | 0 | 0 | 100% | 4.832 |
| org.apache.onami.persist.test | 4 | 0 | 0 | 0 | 100% | 0.138 |
| org.apache.onami.persist.test.multipersistenceunits | 5 | 0 | 0 | 0 | 100% | 0.199 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
|---|---|---|---|---|---|---|---|
| NestedTransactionTest | 2 | 0 | 0 | 0 | 100% | 4.064 | |
| SingleTransactionTest | 12 | 0 | 0 | 0 | 100% | 1.977 |
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
|---|---|---|---|---|---|---|---|
| UnderstandRequestInjectionTest | 2 | 0 | 0 | 0 | 100% | 0.02 | |
| PersistenceServletFilterTest | 2 | 0 | 0 | 0 | 100% | 0.118 |
| Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
|---|---|---|---|---|---|---|---|
| SimpleMultiplePuTest | 1 | 0 | 0 | 0 | 100% | 0.033 | |
| TransactionalMultiplePuTest | 4 | 0 | 0 | 0 | 100% | 0.166 |
[Summary] [Package List] [Test Cases]
| stoppingShouldDoNothingIfNotActive | 0 | |
| shouldThrowExceptionWhenGettingEntityManagerAndUnitOfWorkIsNotActive | 0 | |
| shouldCreateEntityManagerWithoutPropertiesIfNull | 0.001 | |
| newInstanceShouldNotBeActive | 0 | |
| startingWhenActiveShouldThrowException | 0.001 | |
| shouldReturnTheEntityManager | 0 | |
| entityManagerFactoryProviderIsMandatory | 0 | |
| propertiesAreOptional | 0.001 | |
| shouldBeActiveAfterStarting | 0 | |
| shouldNotBeActiveAfterStartingAndStopping | 0.001 | |
| shouldNotBeActiveAfterStartingAndStoppingEvenWhenExceptionThrown | 0 | |
| restartingShouldWork | 0.001 |
| commitWithSecurityException | 0.004 | |
| getRollbackOnlyUsesStatusOfTransaction | 1.085 | |
| setRollbackOnlyOnTxn | 0.001 | |
| commitWithHeuristicRollbackException | 0.001 | |
| rollbackOnTxn | 0.001 | |
| setRollbackOnlyWithIllegalStateException | 0.001 | |
| commitWithIllegalStateException | 0.001 | |
| commitWithRollbackException | 0.002 | |
| getRollbackOnlyRetriesWhenStatusUnknown | 1.086 | |
| beginWithNotSupportedException | 0.002 | |
| rollbackWithIllegalStateException | 0.001 | |
| isActiveWithSystemException | 0.001 | |
| commitWithHeuristicMixedException | 0.001 | |
| commitWithSystemException | 0.001 | |
| setRollbackOnlyWithSystemException | 0.001 | |
| beginOnTxn | 0 | |
| rollbackWithSystemException | 0.001 | |
| isActiveUsesStatusOfTransaction | 1.082 | |
| getRollbackOnlyWithSystemException | 0.001 | |
| commitOnTxn | 0.001 | |
| rollbackWithSecurityException | 0.001 | |
| beginWithSystemException | 0.001 | |
| isActiveOnlyRetriesWhenStatusUnknown | 1.085 |
| shouldReadFromDefaultsClassAndMethodWithoutAnnotation | 0 | |
| shouldReadFromMethodWithAnnotation | 0.001 | |
| shouldReadFromMethodWithAnnotationWhenBothClassAndMethodAnnotationAreGiven | 0.001 | |
| shouldReadFromClassWithAnnotation | 0.001 |
| shouldHandleEmfProvider | 0 | |
| shouldHandleUserTransactionInJndi | 0 | |
| shouldHandleEmfProviderType | 0 | |
| shouldHandleUserTransactionProviderType | 0 | |
| shouldHandleResourceLocale | 0 | |
| shouldHandleEmf | 0 | |
| shouldHandleUserTransactionProviderClass | 0 | |
| shouldHandleUserTransaction | 0 | |
| shouldHandlePuName | 0 | |
| shouldHandleEmfJndiName | 0 | |
| shouldHandleUserTransactionProvider | 0 | |
| shouldHandleAnnotation | 0 | |
| shouldHandleUserTransactionProviderKey | 0 | |
| shouldHandleProperties | 0.009 | |
| shouldHandleEmfProviderKey | 0 | |
| shouldHandleEmfProviderClass | 0.001 |
| shouldThrowOriginalExceptionWhenOnlyOne | 0 | |
| shouldThrowAggregatedExceptionWithAllCollectedExceptions | 0 | |
| shouldNotThrowAnythingWhenEmpty | 0 |
| shouldWrapNamingException | 0.009 | |
| shouldThrowExceptionIfContextReturnsNull | 0.001 | |
| shouldLookupEmfByJndiName | 0 |
| doFilterShouldSpanUnitOfWork | 0.042 | |
| doFilterShouldEndUnitOfWorkInCaseOfException | 0.002 | |
| initShouldStartService | 0.004 | |
| destroyShouldStopService | 0 |
| getShouldReturnTheSameInstanceInTheSameThread | 0.173 | |
| beginShouldBeCallableFromMultipleThreads | 0.001 |
| commitShouldCommitTransaction | 0.017 | |
| commitShouldRollbackTransactionIfMarkedAsRollbackOnly | 0.002 | |
| beginShouldBeginTransaction | 0.001 | |
| rollbackShouldRollbackTransaction | 0.001 |
| rollbackShouldSetRollbackOnlyFlag | 0.002 | |
| commitShouldDoNothing | 0.001 | |
| beginShouldDoNothing | 0.001 |
| shouldNotRollbackOnMissingFormatArgumentException | 0.025 | |
| shouldNotRollbackOnNumberFormatException | 0.001 | |
| shouldRollbackOnInvalidParameterException | 0.001 | |
| shouldNotRollbackOnRuntimeException | 0.001 | |
| shouldRollbackOnIllegalStateException | 0.001 | |
| shouldRollbackOnIllegalArgumentException | 0.001 |
| participatesInTxnWhenUnitsIsNull | 0.001 | |
| participatesInTxnWhenUnitsContainsPuAnnotation | 0.001 | |
| participatesInTxnWhenUnitsIsEmpty | 0.001 | |
| participatesNotInTxnWhenUnitsContainsNotPuAnnotation | 0.002 |
| participatesInTxnWhenUnitsContainsNotPuAnnotation | 0.001 | |
| participatesInTxnWhenUnitsIsNull | 0.001 | |
| participatesInTxnWhenUnitsContainsPuAnnotation | 0.001 | |
| participatesInTxnWhenUnitsIsEmpty | 0.001 |
| throwingWithMessage | 0.001 | |
| notThrowingWithMessage | 0 | |
| canBeCreated | 0 | |
| throwing | 0 | |
| notThrowing | 0 |
| shouldStopOnAllPersistenceServicesEvenInCaseOfException | 0.08 | |
| shouldNotBeginOnActiveUnitsOfWork | 0.002 | |
| shouldBeginOnAllUnitsOfWork | 0.002 | |
| shouldBeginOnAllUnitsOfWorkEvenInCaseOfException | 0.002 | |
| shouldEndOnAllUnitsOfWork | 0.002 | |
| shouldEndOnAllUnitsOfWorkEvenInCaseOfException | 0.002 | |
| shouldStartOnRunningPersistenceServices | 0.002 | |
| shouldStopOnAllPersistenceServices | 0.002 | |
| shouldStartOnAllPersistenceServicesEvenInCaseOfException | 0.002 | |
| shouldStartOnAllPersistenceServices | 0.003 |
| testTaskRollingBackOnTestExceptionThrowingTestException | 1.408 | |
| testTaskRollingBackOnRuntimeTestExceptionThrowingRuntimeTestException | 0.066 | |
| testTaskRollingBackOnAnyThrowingNone | 0.056 | |
| testTaskRollingBackOnAnyThrowingTestException | 0.053 | |
| testTaskRollingBackOnNoneThrowingTestException | 0.053 | |
| testTaskRollingBackOnTestExceptionThrowingNone | 0.061 | |
| testTaskRollingBackOnRuntimeTestExceptionThrowingTestException | 0.052 | |
| testTaskRollingBackOnNoneThrowingRuntimeTestException | 0.049 | |
| testTaskRollingBackOnRuntimeTestExceptionThrowingNone | 0.046 | |
| testTaskRollingBackOnNoneThrowingNone | 0.045 | |
| testTaskRollingBackOnTestExceptionThrowingRuntimeTestException | 0.045 | |
| testTaskRollingBackOnAnyThrowingRuntimeTestException | 0.043 |
| stoppingWhenNotRunningShouldDoNothing | 0.002 | |
| emfSourceIsMandatory | 0 | |
| isRunningShouldReturnTrueAfterStarting | 0.001 | |
| isRunningShouldReturnFalseAfterStartingAndStopping | 0 | |
| getShouldThrowExceptionWhenNotStarted | 0 | |
| isRunningShouldReturnFalseBeforeStarting | 0.001 | |
| restartingShouldWork | 0 | |
| startingAfterAlreadyStartedShouldThrowException | 0 | |
| getShouldReturnEmf | 0 |
| commitShouldCommitTransaction | 0.003 | |
| commitShouldRollbackTransactionIfMarkedAsRollbackOnly | 0.001 | |
| beginShouldBeginTransaction | 0 | |
| rollbackShouldRollbackTransaction | 0.001 |
| rollbackShouldSetRollbackOnlyFlag | 0 | |
| commitShouldDoNothing | 0 | |
| beginShouldDoNothing | 0 |
| stoppingWhenNotRunningShouldDoNothing | 0.003 | |
| isRunningShouldReturnTrueAfterStarting | 0.001 | |
| isRunningShouldReturnFalseAfterStartingAndStopping | 0 | |
| emfFactoryIsMandatory | 0.001 | |
| getShouldThrowExceptionWhenNotStarted | 0 | |
| isRunningShouldReturnFalseBeforeStarting | 0.001 | |
| restartingShouldWork | 0 | |
| startingAfterAlreadyStartedShouldThrowException | 0.001 | |
| getShouldReturnEmf | 0 | |
| stopShouldWorkEvenInCaseOfException | 0.001 |
| throwExceptionOfOriginalMethodIfExceptionOccurredInRollback | 0.009 | |
| rollbackIfExceptionThrownWhichRequiresRollback | 0.002 | |
| throwExceptionOfOriginalMethodIfExceptionOccurredInCommit | 0.001 | |
| processWithoutUnitOfWork | 0.001 | |
| invokeStartsTransactionIfParticipatingInTransaction | 0.002 | |
| commitIfExceptionThrownWhichRequiresNoRollback | 0.001 |
| processWithoutException | 0.002 | |
| processWithException | 0.001 | |
| throwExceptionOfOriginalMethodIfExceptionOccurredInUnitOfWork | 0.001 | |
| throwExceptionWhichOccurredInUnitOfWork | 0.001 |
| requestInjectionInOnePrivateModule | 0.019 | |
| requestInjectionInTwoPrivateModule | 0.001 |
| jndiLookupHelperIsMandatory | 0.002 | |
| jndiNameIsMandatory | 0 | |
| shouldLookupEmfByJndiName | 0 |
| storeUnitsInTwoPersistenceUnitsAndRollBackOnlyFirst | 0.048 | |
| storeUnitsInTwoPersistenceUnits | 0.041 | |
| storeUnitsInTwoPersistenceUnitsAndRollBackBoth | 0.04 | |
| storeUnitsInTwoPersistenceUnitsAndRollBackOnlySecond | 0.037 |