Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
277 0 0 0 100% 8.558

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.mybatis.guice.customconfiguration 1 0 0 0 100% 0.223
org.mybatis.guice.jta.simple 3 0 0 0 100% 0.583
org.mybatis.guice.objectfactory 4 0 0 0 100% 0.046
org.mybatis.guice.configuration 5 0 0 0 100% 1.481
org.mybatis.guice.customsqlsessionfactory 1 0 0 0 100% 0.031
org.mybatis.guice.multidstest 4 0 0 0 100% 0.113
org.mybatis.guice.generictypehandler 2 0 0 0 100% 0.053
org.mybatis.guice.nestedtx 4 0 0 0 100% 0.068
org.mybatis.guice.sample 7 0 0 0 100% 0.136
org.mybatis.guice.datasource.c3p0 4 0 0 0 100% 0.235
org.mybatis.guice.mappers 1 0 0 0 100% 0.127
org.mybatis.guice.scripting 1 0 0 0 100% 0.006
org.mybatis.guice.datasource.dbcp 24 0 0 0 100% 0.279
org.mybatis.guice.environment 1 0 0 0 100% 0
org.mybatis.guice 127 0 0 0 100% 1.309
org.mybatis.guice.datasource.builtin 7 0 0 0 100% 0.071
org.mybatis.guice.configuration.settings 30 0 0 0 100% 0.445
org.mybatis.guice.jta 25 0 0 0 100% 2.984
org.mybatis.guice.transactional 13 0 0 0 100% 0.029
org.mybatis.guice.datasource.bonecp 6 0 0 0 100% 0.181
org.mybatis.guice.type 1 0 0 0 100% 0.001
org.mybatis.guice.session 2 0 0 0 100% 0
org.mybatis.guice.datasource.druid 4 0 0 0 100% 0.157

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

org.mybatis.guice.customconfiguration

Class Tests Errors Failures Skipped Success Rate Time
CustomConfigurationTest 1 0 0 0 100% 0.223

org.mybatis.guice.jta.simple

Class Tests Errors Failures Skipped Success Rate Time
SimpleJTATest 3 0 0 0 100% 0.583

org.mybatis.guice.objectfactory

Class Tests Errors Failures Skipped Success Rate Time
ObjectFactoryTest 2 0 0 0 100% 0.02
ObjectFactoryXmlTest 2 0 0 0 100% 0.026

org.mybatis.guice.configuration

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationProviderTest 5 0 0 0 100% 1.481

org.mybatis.guice.customsqlsessionfactory

Class Tests Errors Failures Skipped Success Rate Time
CustomSqlSessionFactoryTest 1 0 0 0 100% 0.031

org.mybatis.guice.multidstest

Class Tests Errors Failures Skipped Success Rate Time
MultiJDBCTest 1 0 0 0 100% 0.044
MultiJNDITest 2 0 0 0 100% 0.058
SingleJNDITest 1 0 0 0 100% 0.011

org.mybatis.guice.generictypehandler

Class Tests Errors Failures Skipped Success Rate Time
GenericCustomObjectTypeHandlerTest 1 0 0 0 100% 0.031
MultipleGenericCustomObjectTypeHandlerTest 1 0 0 0 100% 0.022

org.mybatis.guice.nestedtx

Class Tests Errors Failures Skipped Success Rate Time
NestedTxTest 4 0 0 0 100% 0.068

org.mybatis.guice.sample

Class Tests Errors Failures Skipped Success Rate Time
SampleBasicTest 4 0 0 0 100% 0.08
SampleSqlSessionTest 3 0 0 0 100% 0.056

org.mybatis.guice.datasource.c3p0

Class Tests Errors Failures Skipped Success Rate Time
C3p0DataSourceProviderTest 4 0 0 0 100% 0.235

org.mybatis.guice.mappers

Class Tests Errors Failures Skipped Success Rate Time
MapperProviderTest 1 0 0 0 100% 0.127

org.mybatis.guice.scripting

Class Tests Errors Failures Skipped Success Rate Time
ScriptingLanguageTest 1 0 0 0 100% 0.006

org.mybatis.guice.datasource.dbcp

Class Tests Errors Failures Skipped Success Rate Time
BasicDataSourceProviderTest 2 0 0 0 100% 0.025
DriverAdapterCPDSProviderTest 2 0 0 0 100% 0.019
PerUserPoolDataSourceModuleTest 6 0 0 0 100% 0.111
PerUserPoolDataSourceProviderTest 10 0 0 0 100% 0.085
SharedPoolDataSourceProviderTest 4 0 0 0 100% 0.039

org.mybatis.guice.environment

Class Tests Errors Failures Skipped Success Rate Time
EnvironmentProviderTest 1 0 0 0 100% 0

org.mybatis.guice

Class Tests Errors Failures Skipped Success Rate Time
MyBatisModulePackageTestCase 11 0 0 0 100% 0.419
MyBatisModuleTest 71 0 0 0 100% 0.521
MyBatisModuleTestCase 12 0 0 0 100% 0.069
XMLAlternateEnvironmentMyBatisModuleTestCase 9 0 0 0 100% 0.061
XMLMyBatisModulePackageTestCase 12 0 0 0 100% 0.181
XMLMyBatisModuleTestCase 12 0 0 0 100% 0.058

org.mybatis.guice.datasource.builtin

Class Tests Errors Failures Skipped Success Rate Time
JndiDataSourceProviderTest 3 0 0 0 100% 0.042
PooledDataSourceProviderTest 2 0 0 0 100% 0.013
UnpooledDataSourceProviderTest 2 0 0 0 100% 0.016

org.mybatis.guice.jta

Class Tests Errors Failures Skipped Success Rate Time
JtaCustomXaResourceTest 1 0 0 0 100% 1.618
JtaLocalRollbackTest 2 0 0 0 100% 0.3
JtaLocalTest 10 0 0 0 100% 0.49
JtaXaRollbackTest 2 0 0 0 100% 0.082
JtaXaTest 10 0 0 0 100% 0.494

org.mybatis.guice.transactional

Class Tests Errors Failures Skipped Success Rate Time
TransactionalMethodInterceptorTest 13 0 0 0 100% 0.029

org.mybatis.guice.datasource.bonecp

Class Tests Errors Failures Skipped Success Rate Time
BoneCPProviderTest 6 0 0 0 100% 0.181

org.mybatis.guice.type

Class Tests Errors Failures Skipped Success Rate Time
TypeHandlerProviderTest 1 0 0 0 100% 0.001

org.mybatis.guice.session

Class Tests Errors Failures Skipped Success Rate Time
SqlSessionFactoryProviderTest 1 0 0 0 100% 0
SqlSessionManagerProviderTest 1 0 0 0 100% 0

org.mybatis.guice.datasource.druid

Class Tests Errors Failures Skipped Success Rate Time
DruidDataSourceProviderTest 4 0 0 0 100% 0.157

Test Cases

[Summary] [Package List] [Test Cases]

ConfigurationProviderTest

get_ConfigurationSettingOverwritesNamed 1.077
get_FailFast_True 0.134
get_FailFast_False 0.022
get 0.013
get_Optionals 0.135

AggressiveLazyLoadingConfigurationSettingTest

applyConfigurationSetting_False 0.352
applyConfigurationSetting_True 0.001

AutoMappingBehaviorConfigurationSettingTest

applyConfigurationSetting_Partial 0
applyConfigurationSetting_Full 0
applyConfigurationSetting_None 0

CacheEnabledConfigurationSettingTest

applyConfigurationSetting_False 0
applyConfigurationSetting_True 0.001

CallSettersOnNullsConfigurationSettingTest

applyConfigurationSetting_False 0
applyConfigurationSetting_True 0

DefaultExecutorTypeConfigurationSettingTest

applyConfigurationSetting_Batch 0
applyConfigurationSetting_Reuse 0.001
applyConfigurationSetting_Simple 0

DefaultScriptingLanguageTypeConfigurationSettingTest

applyConfigurationSetting_Raw 0.001
applyConfigurationSetting_Xml 0

DefaultStatementTimeoutConfigurationSettingTest

applyConfigurationSetting_100 0
applyConfigurationSetting_20 0.001

LazyLoadingEnabledConfigurationSettingTest

applyConfigurationSetting_False 0.001
applyConfigurationSetting_True 0.001

LocalCacheScopeConfigurationSettingTest

applyConfigurationSetting_Statement 0.001
applyConfigurationSetting_Session 0

MapUnderscoreToCamelCaseConfigurationSettingTest

applyConfigurationSetting_False 0
applyConfigurationSetting_True 0.001

MultipleResultSetsEnabledConfigurationSettingTest

applyConfigurationSetting_False 0.001
applyConfigurationSetting_True 0

ObjectFactoryConfigurationSettingTest

applyConfigurationSetting 0.063

ObjectWrapperFactoryConfigurationSettingTest

applyConfigurationSetting 0.016

UseColumnLabelConfigurationSettingTest

applyConfigurationSetting_False 0
applyConfigurationSetting_True 0.001

UseGeneratedKeysConfigurationSettingTest

applyConfigurationSetting_False 0.001
applyConfigurationSetting_True 0

CustomConfigurationTest

customConfigurationProviderWithMyBatisModule 0.223

CustomSqlSessionFactoryTest

customSqlSessionFactoryProvider 0.031

BoneCPProviderTest

get_ConnectionHook 0.109
get_IdleConnectionTestPeriodInMinutes 0.016
get 0.017
get_IdleConnectionTestPeriodInSeconds 0.014
get_MaxConnectionAgeInSeconds 0.01
get_OtherValues 0.013

JndiDataSourceProviderTest

get_Environment 0.011
get_Context 0.007
get_NoContext 0.003

PooledDataSourceProviderTest

get 0.006
get_OtherValues 0.006

UnpooledDataSourceProviderTest

get 0.009
get_OtherValues 0.006

C3p0DataSourceProviderTest

get_UserPasswordAndProperties 0.164
get_Properties 0.024
get 0.028
get_OtherValues 0.019

BasicDataSourceProviderTest

get 0.018
get_OtherValues 0.007

DriverAdapterCPDSProviderTest

get 0.013
getOtherValues 0.005

PerUserPoolDataSourceModuleTest

configure_PerUserMaxIdle 0.053
configure_PerUserMaxWait 0.009
configure_PerUserDefaultAutoCommit 0.012
configure_PerUserMaxActive 0.011
configure_PerUserDefaultReadOnly 0.011
configure_PerUserDefaultTransactionIsolation 0.015

PerUserPoolDataSourceProviderTest

get_PerUserDefaultReadOnly 0.008
get_DataSourceName 0.013
get 0.008
get_PerUserDefaultAutoCommit 0.007
get_PerUserMaxIdle 0.008
get_PerUserMaxWait 0.008
get_OtherValues 0.008
get_PerUserDefaultTransactionIsolation 0.008
get_PerUserMaxActive 0.008
get_Jndi 0.007

SharedPoolDataSourceProviderTest

get_DataSourceName 0.016
get 0.007
get_OtherValues 0.008
get_Jndi 0.008

DruidDataSourceProviderTest

get_ExceptionSorterAsString 0.065
get 0.07
get_ConnectionPropertiesAsString 0.012
get_ReadOnly 0.008

EnvironmentProviderTest

get 0

GenericCustomObjectTypeHandlerTest

genericTypeHandler 0.031

MultipleGenericCustomObjectTypeHandlerTest

genericTypeHandler 0.022

JtaCustomXaResourceTest

testRequired 0.331

JtaLocalRollbackTest

testSecondRollback 0.034
testFirstRollback 0.011

JtaLocalTest

testRollbackInternalRequiresNew 0.089
testRollbackExternalRequired 0.047
testRequiredAndRollback 0.041
testRollbackInternalRequiresNew2 0.045
testRequiresNew 0.033
testRequiredAndRequiresNew 0.045
testRequired 0.035
testRequiresNewAndRequired 0.037
testRequiresNewAndRollback 0.031
testRollbackExternalRequired2 0.041

JtaXaRollbackTest

testSecondRollback 0.043
testFirstRollback 0.011

JtaXaTest

testRollbackInternalRequiresNew 0.074
testRollbackExternalRequired 0.053
testRequiredAndRollback 0.05
testRollbackInternalRequiresNew2 0.063
testRequiresNew 0.036
testRequiredAndRequiresNew 0.041
testRequired 0.03
testRequiresNewAndRequired 0.036
testRequiresNewAndRollback 0.028
testRollbackExternalRequired2 0.04

SimpleJTATest

testPartialRollBack 0.536
testRollBack 0.022
testInserts 0.025

MapperProviderTest

get 0.127

MultiJDBCTest

testMultiDSWithJDBC 0.044

MultiJNDITest

testMultiDSWithJNDIWithProvider 0.025
testMultiDSWithJNDIWithProviderType 0.032

SingleJNDITest

testSingleDSWithJNDI 0.011

MyBatisModulePackageTestCase

selectContactWithAddress 0.011
insertContactWithAddress 0.002
testAddressConverter 0.001
catchSQLException 0.003
verifyNotNullMapper 0.002
testCountInterceptor 0.001
insertContact 0.002
selectContactWithTypeHandler 0.002
selectAllContacts 0.002
reSelectAllContacts 0.002
selectContact 0.002

MyBatisModuleTest

autoMappingBehavior 0.057
addInterceptorsClasses 0.011
failFast_True 0.023
bindConfigurationSettingProvider 0.006
addTypeHandlerClass 0.005
bindTransactionFactory 0.005
useSqlSessionFactoryProvider 0.006
lazyLoadingEnabled_Default 0.005
failFast_False 0.009
bindTransactionFactory_JavaInject 0.007
addMapperClasses_Package_ResolverUtilTest_All 0.013
addInterceptorClass 0.006
useCacheEnabled_Default 0.006
aggressiveLazyLoading_True 0.007
addSimpleAlias_Annotation 0.009
bindTransactionFactoryType 0.008
bindObjectFactoryType 0.007
addAlias 0.005
handleType_ProvidedClass 0.005
autoMappingBehavior_Default 0.005
useCacheEnabled_True 0.004
useColumnLabel_True 0.005
executorType 0.006
bindDefaultScriptingLanguageType 0.006
environmentId 0.005
bindDataSourceProviderType 0.009
bindDataSourceProvider 0.006
defaultStatementTimeout_Default 0.005
lazyLoadingEnabled_False 0.005
addSimpleAlias 0.007
handleType_ProvidedTypeLiteral 0.007
addMapperClasses 0.01
useConfigurationProvider 0.008
mapUnderscoreToCamelCase_Default 0.008
addTypeHandlersClasses 0.006
mapUnderscoreToCamelCase_True 0.006
handleType_TypeLiteral 0.007
failFast_Default 0.012
aggressiveLazyLoading_False 0.006
useColumnLabel_Default 0.006
bindDatabaseIdProvider 0.006
addSimpleAliases_Package_ResolverUtilTest_All 0.008
bindObjectWrapperFactoryType 0.009
aggressiveLazyLoading_Default 0.005
addMapperClass 0.006
executorType_Default 0.005
addMapperClasses_Package 0.006
handleType_Class 0.006
bindDatabaseIdProvider_Class 0.006
multipleResultSetsEnabled_Default 0.005
addTypeHandlerClasses 0.007
useGeneratedKeys_Default 0.006
handleType_ProvidedTypeLiteral_Generic 0.005
addSimpleAliases_Package 0.007
multipleResultSetsEnabled_False 0.004
mapUnderscoreToCamelCase_False 0.006
useCacheEnabled_False 0.005
useColumnLabel_False 0.005
addMapperClasses_Package_ResolverUtilTest_None 0.005
useGeneratedKeys_False 0.004
bindDataSourceProvider_JavaInject 0.006
addInterceptorsClasses_Package 0.006
addSimpleAliases 0.005
localCacheScope 0.005
multipleResultSetsEnabled_True 0.005
lazyLoadingEnabled_True 0.006
localCacheScope_Default 0.005
addSimpleAliases_Package_ResolverUtilTest_None 0.008
bindConfigurationSetting 0.006
useGeneratedKeys_True 0.005
defaultStatementTimeout 0.007

MyBatisModuleTestCase

selectContactWithAddress 0.003
insertContactWithAddress 0.003
testAddressConverter 0.002
selectAllContactsWithDatabaseId 0.004
catchSQLException 0.003
verifyNotNullMapper 0.002
testCountInterceptor 0.002
insertContact 0.002
selectContactWithTypeHandler 0.005
selectAllContacts 0.003
reSelectAllContacts 0.004
selectContact 0.004

NestedTxTest

testCorrectBadInsert 0.024
testIgnoreBadInsert 0.014
testBadInsertRollbackAllRows 0.016
testGoodInserts 0.013

ObjectFactoryTest

objectFactoryInjection 0.012
objectWrapperFactoryInjection 0.008

ObjectFactoryXmlTest

objectFactoryInjection 0.016
objectWrapperFactoryInjection 0.01

SampleBasicTest

shouldNotFailOnObjectsMethodsCall 0.024
testTransactionalOnClassAndMethod 0.02
testTransactionalOnClass 0.019
testFooService 0.017

SampleSqlSessionTest

testTransactionalOnClassAndMethod 0.02
testTransactionalOnClass 0.023
testFooService 0.013

ScriptingLanguageTest

scriptingLanguageAlias 0.006

SqlSessionFactoryProviderTest

get 0

SqlSessionManagerProviderTest

get 0

TransactionalMethodInterceptorTest

invoke_UnsupportedOperationException_Rethrow 0.014
invoke 0.002
invoke_IOException_Undeclared 0.001
invoke_ClassAnnotation 0.001
invoke_SessionInherited 0.001
invoke_IOException_Declared 0.002
invoke_RollbackOnly 0.001
invoke_RuntimeException 0.001
invoke_IllegalStateException_Rethrow 0.001
invoke_SessionInherited_Exception 0.001
invoke_RuntimeException_Rethrow 0.001
invoke_CustomAnnotation 0.001
invoke_IllegalStateException 0.001

TypeHandlerProviderTest

get 0.001

XMLAlternateEnvironmentMyBatisModuleTestCase

testEnvironmentId 0.002
catchSQLException 0.004
verifyNotNullMapper 0.002
testCountInterceptor 0.001
insertContact 0.002
selectContactWithTypeHandler 0.002
selectAllContacts 0.002
reSelectAllContacts 0.002
selectContact 0.002

XMLMyBatisModulePackageTestCase

selectContactWithAddress 0.002
insertContactWithAddress 0.003
testAddressConverter 0.001
testEnvironmentId 0.002
catchSQLException 0.003
verifyNotNullMapper 0.002
testCountInterceptor 0.002
insertContact 0.002
selectContactWithTypeHandler 0.002
selectAllContacts 0.002
reSelectAllContacts 0.003
selectContact 0.002

XMLMyBatisModuleTestCase

selectContactWithAddress 0.003
insertContactWithAddress 0.003
testAddressConverter 0.001
testEnvironmentId 0.001
catchSQLException 0.002
verifyNotNullMapper 0.002
testCountInterceptor 0.001
insertContact 0.002
selectContactWithTypeHandler 0.002
selectAllContacts 0.003
reSelectAllContacts 0.002
selectContact 0.002