Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
7900100,00%1,53

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
com.subshell.persistence.ant 100100,00%0,04
com.subshell.persistence.hibernate 4400100,00%0,41
com.subshell.persistence.mapper 1100100,00%0,61
com.subshell.persistence.runner 1600100,00%0,33
com.subshell.persistence.transaction 700100,00%0,13

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

com.subshell.persistence.ant

ClassTestsErrorsFailuresSuccess RateTime
Success HibernateMappingResourceTaskTest 100100,00%0,045

com.subshell.persistence.hibernate

ClassTestsErrorsFailuresSuccess RateTime
Success HibernateDatabaseTest 400100,00%0,112
Success HibernateTransactionTest 4000100,00%0,294

com.subshell.persistence.mapper

ClassTestsErrorsFailuresSuccess RateTime
Success PropertyPersistenceMapperConfigurationTest 200100,00%0,182
Success TransactionContextPersistenceMapperFactoryTest 100100,00%0,158
Success TransactionPersistenceMapperFactoryTest 500100,00%0,076
Success TransactionPersistenceMapperTest 300100,00%0,198

com.subshell.persistence.runner

ClassTestsErrorsFailuresSuccess RateTime
Success SelfContainedTransactionContextRunnerTest 600100,00%0,173
Success SimpleTransactionContextRunnerTest 1000100,00%0,159

com.subshell.persistence.transaction

ClassTestsErrorsFailuresSuccess RateTime
Success TransactionContextTest 600100,00%0,061
Success TransactionContextTransactionFactoryTest 100100,00%0,068

Test Cases

[ summary] [ package list] [ test cases]

HibernateMappingResourceTaskTest

Success testExecute0,00

HibernateDatabaseTest

Success testClose0,10
Success testCloseButHibernateExceptionInClose0,00
Success testCloseButRuntimeExceptionInClose0,00
Success testDoubleCloseFails0,00

HibernateTransactionTest

Success testLoad0,18
Success testLoadWithNoClass0,00
Success testLoadWithNoId0,00
Success testLoadButObjectNotFound0,01
Success testLoadButHibernateExceptionInLoad0,00
Success testLoadButRuntimeExceptionInLoad0,00
Success testCreate0,00
Success testCreateWithNoObject0,00
Success testCreateButHibernateExceptionInSave0,00
Success testCreateButRuntimeExceptionInSave0,00
Success testDelete0,00
Success testDeleteWithNoObject0,00
Success testDeleteButHibernateExceptionInDelete0,00
Success testDeleteButRuntimeExceptionInDelete0,00
Success testCommit0,00
Success testCommitButHibernateExceptionDuringFlush0,00
Success testCommitButRuntimeExceptionDuringFlush0,00
Success testExceptionDuringFlushAndRollback0,00
Success testCommitButHibernateExceptionDuringConnection0,00
Success testCommitButRuntimeExceptionDuringConnection0,00
Success testCommitButSQLExceptionDuringCommit0,00
Success testCommitButRuntimeExceptionDuringCommit0,00
Success testExceptionDuringCommitAndRollback0,00
Success testCommitButHibernateExceptionDuringClose0,00
Success testCommitButRuntimeExceptionDuringClose0,00
Success testRollback0,00
Success testRollbackButHibernateExceptionDuringConnection0,00
Success testRollbackButRuntimeExceptionDuringConnection0,00
Success testRollbackButSQLExceptionDuringRollback0,00
Success testRollbackButRuntimeExceptionDuringRollback0,00
Success testRollbackButHibernateExceptionDuringClose0,00
Success testRollbackButRuntimeExceptionDuringClose0,00
Success testSetupConnection0,05
Success testSetupConnectionButTransactionsNotSupported0,00
Success testSetupConnectionButSQLExceptionDuringGetMetaData0,00
Success testSetupConnectionButRuntimeExceptionDuringGetMetaData0,00
Success testSetupConnectionButSQLExceptionDuringSupportsTransactions0,00
Success testSetupConnectionButRuntimeExceptionDuringSupportsTransactions0,00
Success testSetupConnectionButSQLExceptionDuringSetAutoCommit0,00
Success testSetupConnectionButRuntimeExceptionDuringSetAutoCommit0,00

PropertyPersistenceMapperConfigurationTest

Success testGetClassForMapper0,14
Success testDefaultConstructor0,01

TransactionContextPersistenceMapperFactoryTest

Success testGetMapper0,13

TransactionPersistenceMapperFactoryTest

Success testGetMapper0,07
Success testBadMapper0,00
Success testBadMapperConfigurationException0,00
Success testNoMapper0,00
Success testBadConfigurationConstructor0,00

TransactionPersistenceMapperTest

Success testLoad0,19
Success testCreate0,00
Success testDelete0,00

SelfContainedTransactionContextRunnerTest

Success testRunNoRunnable0,14
Success testRunNoTransactionContextRunner0,00
Success testRunWithoutOuterTransactionContext0,01
Success testRunWithOuterTransactionContext0,00
Success testNested0,01
Success testRunRuntimeExceptionInRunnable0,00

SimpleTransactionContextRunnerTest

Success testRun0,14
Success testRunWithNoRunnable0,00
Success testRunButNoTransaction0,00
Success testRunButPersistenceExceptionDuringCommit0,00
Success testRunButRuntimeExceptionDuringCommit0,00
Success testRunButPersistenceExceptionDuringRollback0,00
Success testRunButRuntimeExceptionDuringRollback0,00
Success testRunButPersistenceExceptionDuringOpenTransaction0,00
Success testRunButRuntimeExceptionDuringOpenTransaction0,00
Success testRunButRuntimeExceptionDuringRunnable0,00

TransactionContextTest

Success testSetCurrentContextWithNoContext0,00
Success testGetCurrentContext0,05
Success testSetCurrentContextButAlreadySet0,00
Success testClearCurrentContextButNotSet0,00
Success testConstructorWithNoTransaction0,00
Success testGetCurrentContextButNoContext0,00

TransactionContextTransactionFactoryTest

Success testGetTransaction0,05