Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
81 0 0 0 100% 1.925 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
org.springframework.orm.ibatis 67 0 0 0 100% 1.505 s
org.ibatis.spring 1 0 0 0 100% 0.068 s
org.springframework.orm.ibatis.support 13 0 0 0 100% 0.352 s

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

org.springframework.orm.ibatis

- Class Tests Errors Failures Skipped Success Rate Time
SqlMapClientFactoryBeanTests 27 0 0 0 100% 1.218 s
SqlMapClientTests 40 0 0 0 100% 0.287 s

org.ibatis.spring

- Class Tests Errors Failures Skipped Success Rate Time
Ibatis2SupportTests 1 0 0 0 100% 0.068 s

org.springframework.orm.ibatis.support

- Class Tests Errors Failures Skipped Success Rate Time
AbstractLobTypeHandlerAdditionalTests 8 0 0 0 100% 0.298 s
LobTypeHandlerTests 5 0 0 0 100% 0.054 s

Test Cases

[Summary] [Package List] [Test Cases]

Ibatis2SupportTests

testInstantiation 0.043 s

SqlMapClientFactoryBeanTests

testSetTransactionConfigClassWithValidClassSucceeds 0.008 s
testAfterPropertiesSetWithMinimalConfig 0.109 s
testGetObjectTypeAfterInitReturnsConcreteClass 0.005 s
testAfterPropertiesSetWithAlreadyWrappedDataSource 0.892 s
testAfterPropertiesSetWithLobHandler 0.037 s
testAfterPropertiesSetWithNullConfigLocationsThrows 0.002 s
testSetMappingLocations 0.034 s
testSetTransactionConfigClassWithNullThrows 0.001 s
testAfterPropertiesSetWithTransactionConfigProperties 0.004 s
testSetDataSource 0.001 s
testGetObjectTypeReturnsSqlMapClientClassWhenNotInitialised 0.001 s
testSetConfigLocation 0.001 s
testIsSingletonReturnsTrue 0.001 s
testGetObjectReturnsNullBeforeInit 0 s
testSetConfigLocationWithNull 0.001 s
testGetConfigTimeLobHandlerReturnsNullOutsideConfig 0.001 s
testAfterPropertiesSetWithTransactionAwareDataSourceWrapping 0.004 s
testApplyTransactionConfigWithNonExtendedClientThrows 0.075 s
testSetLobHandler 0.001 s
testAfterPropertiesSetWithDataSource 0.003 s
testSetTransactionConfigClassWithNonTransactionConfigClassThrows 0.001 s
testSetUseTransactionAwareDataSource 0 s
testSetTransactionConfigProperties 0 s
testAfterPropertiesSetWithMappingLocations 0.014 s
testSetSqlMapClientProperties 0.001 s
testSetSqlMapClientPropertiesMultipleConfigs 0.005 s
testSetConfigLocations 0.001 s

SqlMapClientTests

testQueryForListWithParameter 0.028 s
testSqlMapClientTemplateWithNestedSqlMapSession 0.082 s
testQueryForListWithResultSize 0.002 s
testExecuteConnectionCloseExceptionIsSwallowed 0.014 s
testExecuteWithMapResult 0.001 s
testQueryForListParameterAndWithResultSize 0 s
testSqlMapClientTemplateConstructorWithSqlMapClient 0 s
testQueryForObjectWithParameterAndResultObject 0.001 s
testInsertWithParameter 0.001 s
testSqlMapClientDaoSupport 0.001 s
testSqlMapClientTemplateAfterPropertiesSetWithoutSqlMapClient 0 s
testQueryWithRowHandler 0.001 s
testQueryForObject 0.001 s
testExecuteTranslatesCallbackSqlException 0.009 s
testDeleteWithRequiredRowsAffected 0.002 s
testSqlMapClientTemplate 0.002 s
testExecuteThrowsCannotGetJdbcConnectionExceptionOnConnectionFailure 0.002 s
testExecuteWithTransactionAwareDataSource 0.004 s
testUpdateWithRequiredRowsAffectedAndInvalidRowCount 0.002 s
testSqlMapClientTemplateConstructorWithDataSourceAndSqlMapClient 0 s
testQueryForMapWithValueProperty 0.001 s
testSqlMapClientDaoSupportCheckDaoConfigCallsInternalTemplateAfterPropertiesSet 0.001 s
testSqlMapClientTemplateGetDataSourceFallsBackToClientDataSource 0.001 s
testDeleteWithParameter 0.001 s
testUpdateWithParameter 0.001 s
testSqlMapClientFactoryBeanWithoutConfig 0.001 s
testDeleteReturnsZeroWhenExecuteReturnsNull 0.001 s
testQueryForObjectWithParameter 0.001 s
testDelete 0.001 s
testSqlMapClientDaoSupportExternalTemplateIgnoresSetDataSourceAndSetSqlMapClient 0.067 s
testDeleteWithRequiredRowsAffectedAndInvalidRowCount 0.005 s
testInsert 0.004 s
testUpdateWithRequiredRowsAffected 0.004 s
testUpdateReturnsZeroWhenExecuteReturnsNull 0.001 s
testExecuteWithListResult 0.003 s
testQueryWithRowHandlerWithParameter 0.003 s
testUpdate 0.003 s
testQueryForList 0.002 s
testQueryForObjectOnSqlMapSession 0.004 s
testQueryForMap 0.003 s

AbstractLobTypeHandlerAdditionalTests

testGetResultIOExceptionWrappedAsSqlException 0.125 s
testResolveJdbcTypeWithValueReturnsValue 0.002 s
testResolveJdbcTypeWithNullReturnsEmptyString 0.001 s
testSetParameterIOExceptionWrappedAsSqlException 0.086 s
testGetResultFromCallableStatementThrowsSqlException 0.068 s
testSetParameterWithoutSynchronizationThrowsIllegalStateException 0.004 s
testConstructorWithNullLobHandlerThrowsIllegalStateException 0.002 s
testDefaultConstructorWithNoConfigTimeLobHandlerThrows 0.002 s

LobTypeHandlerTests

testBlobSerializableTypeWithNull 0.010 s
testClobStringTypeWithSynchronizedConnection 0.020 s
testBlobByteArrayType 0.009 s
testBlobSerializableType 0.004 s
testClobStringTypeHandler 0.002 s