Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
81 0 0 0 100% 1.872 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.432 s
org.ibatis.spring 1 0 0 0 100% 0.067 s
org.springframework.orm.ibatis.support 13 0 0 0 100% 0.373 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.138 s
SqlMapClientTests 40 0 0 0 100% 0.294 s

org.ibatis.spring

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

org.springframework.orm.ibatis.support

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

Test Cases

[Summary] [Package List] [Test Cases]

Ibatis2SupportTests

testInstantiation 0.046 s

SqlMapClientFactoryBeanTests

testSetTransactionConfigClassWithValidClassSucceeds 0.005 s
testAfterPropertiesSetWithMinimalConfig 0.098 s
testGetObjectTypeAfterInitReturnsConcreteClass 0.005 s
testAfterPropertiesSetWithAlreadyWrappedDataSource 0.816 s
testAfterPropertiesSetWithLobHandler 0.038 s
testAfterPropertiesSetWithNullConfigLocationsThrows 0.002 s
testSetMappingLocations 0.034 s
testSetTransactionConfigClassWithNullThrows 0.001 s
testAfterPropertiesSetWithTransactionConfigProperties 0.005 s
testSetDataSource 0.001 s
testGetObjectTypeReturnsSqlMapClientClassWhenNotInitialised 0.001 s
testSetConfigLocation 0.001 s
testIsSingletonReturnsTrue 0.001 s
testGetObjectReturnsNullBeforeInit 0.001 s
testSetConfigLocationWithNull 0 s
testGetConfigTimeLobHandlerReturnsNullOutsideConfig 0.001 s
testAfterPropertiesSetWithTransactionAwareDataSourceWrapping 0.004 s
testApplyTransactionConfigWithNonExtendedClientThrows 0.081 s
testSetLobHandler 0.001 s
testAfterPropertiesSetWithDataSource 0.004 s
testSetTransactionConfigClassWithNonTransactionConfigClassThrows 0.001 s
testSetUseTransactionAwareDataSource 0 s
testSetTransactionConfigProperties 0.001 s
testAfterPropertiesSetWithMappingLocations 0.015 s
testSetSqlMapClientProperties 0.001 s
testSetSqlMapClientPropertiesMultipleConfigs 0.005 s
testSetConfigLocations 0 s

SqlMapClientTests

testQueryForListWithParameter 0.032 s
testSqlMapClientTemplateWithNestedSqlMapSession 0.085 s
testQueryForListWithResultSize 0.002 s
testExecuteConnectionCloseExceptionIsSwallowed 0.014 s
testExecuteWithMapResult 0.001 s
testQueryForListParameterAndWithResultSize 0.001 s
testSqlMapClientTemplateConstructorWithSqlMapClient 0.001 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.010 s
testDeleteWithRequiredRowsAffected 0.001 s
testSqlMapClientTemplate 0.002 s
testExecuteThrowsCannotGetJdbcConnectionExceptionOnConnectionFailure 0.002 s
testExecuteWithTransactionAwareDataSource 0.006 s
testUpdateWithRequiredRowsAffectedAndInvalidRowCount 0.002 s
testSqlMapClientTemplateConstructorWithDataSourceAndSqlMapClient 0.001 s
testQueryForMapWithValueProperty 0.001 s
testSqlMapClientDaoSupportCheckDaoConfigCallsInternalTemplateAfterPropertiesSet 0.001 s
testSqlMapClientTemplateGetDataSourceFallsBackToClientDataSource 0.001 s
testDeleteWithParameter 0.001 s
testUpdateWithParameter 0.001 s
testSqlMapClientFactoryBeanWithoutConfig 0 s
testDeleteReturnsZeroWhenExecuteReturnsNull 0 s
testQueryForObjectWithParameter 0 s
testDelete 0.001 s
testSqlMapClientDaoSupportExternalTemplateIgnoresSetDataSourceAndSetSqlMapClient 0.068 s
testDeleteWithRequiredRowsAffectedAndInvalidRowCount 0.005 s
testInsert 0.004 s
testUpdateWithRequiredRowsAffected 0.002 s
testUpdateReturnsZeroWhenExecuteReturnsNull 0.002 s
testExecuteWithListResult 0.002 s
testQueryWithRowHandlerWithParameter 0.005 s
testUpdate 0.003 s
testQueryForList 0.002 s
testQueryForObjectOnSqlMapSession 0.003 s
testQueryForMap 0.002 s

AbstractLobTypeHandlerAdditionalTests

testGetResultIOExceptionWrappedAsSqlException 0.128 s
testResolveJdbcTypeWithValueReturnsValue 0.002 s
testResolveJdbcTypeWithNullReturnsEmptyString 0.002 s
testSetParameterIOExceptionWrappedAsSqlException 0.109 s
testGetResultFromCallableStatementThrowsSqlException 0.074 s
testSetParameterWithoutSynchronizationThrowsIllegalStateException 0.002 s
testConstructorWithNullLobHandlerThrowsIllegalStateException 0 s
testDefaultConstructorWithNoConfigTimeLobHandlerThrows 0 s

LobTypeHandlerTests

testBlobSerializableTypeWithNull 0.008 s
testClobStringTypeWithSynchronizedConnection 0.015 s
testBlobByteArrayType 0.009 s
testBlobSerializableType 0.004 s
testClobStringTypeHandler 0.003 s