Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
141 0 0 0 100% 27.359

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.openwms.core.integration.file 9 0 0 0 100% 1.264
org.openwms.core.integration.jpa 12 0 0 0 100% 3.555
org.openwms.core.domain 6 0 0 0 100% 0.035
org.openwms.core.util.validation 10 0 0 0 100% 0.046
org.openwms.core.domain.system.usermanagement 11 0 0 0 100% 4.794
org.openwms.common.domain.values 4 0 0 0 100% 0.278
org.openwms.common.service.transport 5 0 0 0 100% 3.188
org.openwms.core.domain.preferences 4 0 0 0 100% 0.139
org.openwms.core.service.spring 50 0 0 0 100% 6.351
org.openwms.core.service.spring.security 5 0 0 0 100% 0.123
org.openwms.common.integration.jpa 19 0 0 0 100% 3.581
org.openwms.core.util.lang 4 0 0 0 100% 0.148
org.openwms.tms.domain 1 0 0 0 100% 3.832
org.openwms.core.domain.system 1 0 0 0 100% 0.025

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

org.openwms.core.integration.file

Class Tests Errors Failures Skipped Success Rate Time
PreferencesDaoTest 9 0 0 0 100% 1.264

org.openwms.core.integration.jpa

Class Tests Errors Failures Skipped Success Rate Time
ModuleDaoTest 1 0 0 0 100% 3.236
PreferencesDaoTest 1 0 0 0 100% 0.042
RoleDaoTest 4 0 0 0 100% 0.074
UserDaoTest 6 0 0 0 100% 0.203

org.openwms.core.domain

Class Tests Errors Failures Skipped Success Rate Time
ModuleTest 6 0 0 0 100% 0.035

org.openwms.core.util.validation

Class Tests Errors Failures Skipped Success Rate Time
AssertUtilsTest 10 0 0 0 100% 0.046

org.openwms.core.domain.system.usermanagement

Class Tests Errors Failures Skipped Success Rate Time
EmailTest 1 0 0 0 100% 0.018
RoleTest 9 0 0 0 100% 3.831
UserTest 1 0 0 0 100% 0.945

org.openwms.common.domain.values

Class Tests Errors Failures Skipped Success Rate Time
BarcodeTest 2 0 0 0 100% 0.167
WeightTest 2 0 0 0 100% 0.111

org.openwms.common.service.transport

Class Tests Errors Failures Skipped Success Rate Time
TransportServiceTest 5 0 0 0 100% 3.188

org.openwms.core.domain.preferences

Class Tests Errors Failures Skipped Success Rate Time
ApplicationPreferenceTest 1 0 0 0 100% 0.098
UserPreferenceTest 3 0 0 0 100% 0.041

org.openwms.core.service.spring

Class Tests Errors Failures Skipped Success Rate Time
ConfigurationServiceTest 9 0 0 0 100% 0.095
I18nServiceTest 4 0 0 0 100% 0.258
ModuleServiceTest 8 0 0 0 100% 5.435
RoleServiceTest 7 0 0 0 100% 0.135
SecurityServiceTest 4 0 0 0 100% 0.03
UserServiceTest 18 0 0 0 100% 0.398

org.openwms.core.service.spring.security

Class Tests Errors Failures Skipped Success Rate Time
SecurityContextUserServiceImplTest 5 0 0 0 100% 0.123

org.openwms.common.integration.jpa

Class Tests Errors Failures Skipped Success Rate Time
LocationDaoTest 6 0 0 0 100% 0.092
LocationGroupDaoTest 3 0 0 0 100% 0.066
LocationTest 1 0 0 0 100% 0.046
TransportUnitTest 6 0 0 0 100% 0.224
TransportUnitTypeTest 3 0 0 0 100% 3.153

org.openwms.core.util.lang

Class Tests Errors Failures Skipped Success Rate Time
CollectionUtilTest 4 0 0 0 100% 0.148

org.openwms.tms.domain

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

org.openwms.core.domain.system

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

Test Cases

[Summary] [Package List] [Test Cases]

CollectionUtilTest

testGetFirstOrNullWithNull 0.015
testGetFirstOrNull 0
testAsHashMapWithNull 0.001
testAsHashMap 0

AssertUtilsTest

testNotNullObjectStringWithNull 0.032
testNotNullObjectString 0
testNotNullObjectWithNull 0.001
testNotNullObject 0
testIsNotEmptyStringStringEmpty 0
testIsNotEmptyStringStringNull 0.001
testIsNotEmptyStringString 0
testIsNotEmptyStringEmpty 0
testIsNotEmptyStringNull 0.001
testIsNotEmptyString 0

ModuleTest

testCreation 0.017
testChangingModuleName 0.003
testChangingUrl 0.002
testBusinessKey 0.002
testBusinessKeyOk 0.003
testLifecycle 0.003

ApplicationPreferenceTest

testReadPreferences 0.096

UserPreferenceTest

testConstructionWithNull 0.021
testConstructionWithEmptyString 0.008
testUserRelationship 0.007

MessageTest

testConstruction 0.023

EmailTest

testConstruction 0.015

RoleTest

testLifecycle 3.324
testRoleInstanciation 0.006
testAddUserToRole 0.009
testAddGrantToRole 0.02
testRemoveUserFromRole 0.007
testRemoveGrantFromRole 0.012
testSetGrantsOfRole 0.005
testSetUsersOfRole 0.008
testRoleConstraint 0.01

UserTest

testPasswordHistory 0.943

PreferencesDaoTest

testFindAPP1ByKey 0.888
testFindAPP2ByKey 0.001
testFindModuleCOREByKey 0
testFindModuleCOMMON1ByKey 0.001
testFindUserTestByKey 0.001
testApplicationPreferencesFindByType 0.001
testModulePreferencesFindByType 0
testUserPreferencesFindByType 0
testFindAll 0.001

ModuleDaoTest

testFindAll 2.772

PreferencesDaoTest

testEquality 0.04

RoleDaoTest

testFindAll 0.038
testPersist 0.007
testRemove 0.008
testMerge 0.014

UserDaoTest

testFindAll 0.071
testPersist 0.014
testRemove 0.056
testMerge 0.019
testRemoveSysUser 0.018
testFindByUsernameAndPassword 0.01

ConfigurationServiceTest

testOnApplicationEvent 0.026
testFindAll 0.002
testFindByType 0.002
testSaveNull 0.002
testSaveNewEntity 0.002
testSaveDuplicatedEntity 0.033
testSaveExistingEntity 0.003
testRemoveNull 0.002
testRemove 0.016

I18nServiceTest

testFindAllTranslations 0.182
testSaveTranslationsNoArgs 0.004
testSaveTranslationsWithNull 0.014
testSaveTranslations 0.002

ModuleServiceTest

testFindAll 4.96
testSaveNull 0.018
testRemove 0.027
testSaveStartupOrderWithNull 0.007
testSaveStartupOrder 0.019
testSaveAnExisting 0.028
testSavePersisted 0.009
testSaveTransient 0.011

RoleServiceTest

testFindAll 0.077
testRemove 0.015
testSaveTransient 0.009
testRemoveWithEmpty 0.011
testRemoveWithNull 0.005
testSaveWithNull 0.005
testSaveDetached 0.007

SecurityContextUserServiceImplTest

testOnApplicationEventWithCache 0.095
testLoadUserByUsernameFromCache 0.004
testLoadUserByUsernameSystemUser 0.009
testLoadUserByUsernameNotCached 0.005
testLoadUserByUsernameNotFound 0.006

SecurityServiceTest

testLogin 0.021
testMergeGrantsWithNull 0.001
testMergeGrantsNew 0.003
testMergeGrantsExisting 0.002

UserServiceTest

testFindAll 0.078
testRemove 0.037
testSaveTransient 0.013
testRemoveWithNull 0.008
testSaveWithNull 0.007
testSaveDetached 0.013
testUploadImage 0.017
testChangePasswordWithNull 0.014
testChangePasswordUnknown 0.01
testChangePassword 0.015
testChangePasswordInvalidPassword 0.021
testGetTemplate 0.009
testCreateSystemUser 0.021
testSaveUserProfileUserNull 0.011
testSaveUserProfileUserPreferencePasswordNull 0.012
testSaveUserProfileUserWithPassword 0.019
testSaveUserProfileUserWithInvalidPassword 0.034
testSaveUserProfileWithPreference 0.025

BarcodeTest

testBarcodeWithNull 0.157
testBarcode 0.007

WeightTest

testWeight 0.021
testWeightComparison 0.001

LocationDaoTest

testFindAll 0.03
testFindById 0.006
testFindByUniqueId 0.014
testPersist 0.019
testPersistAndRemove 0.006
testAddingErrorMessages 0.013

LocationGroupDaoTest

testDuplicateLocationGroups 0.037
testAddLocationGroup 0.011
testRemoveLocationGroups 0.007

LocationTest

testSettingGroupOnLocation 0.044

TransportUnitTest

testTUwithoutType 0.051
testTUwithUnknownType 0.006
testTUwithUnknownLocations 0.004
testTUwithKnownLocation 0.011
testTUwithErrors 0.133
testTUwithKnownLocations 0.01

TransportUnitTypeTest

testDuplicateTransportUnitType 2.725
testRemovalOfTransportUnitType 0.049
testCascadingTypePlacingRule 0.014

TransportServiceTest

testCreateExistingTransportUnit 2.736
testCreateTransportUnitOnUnknownLocation 0.011
testCreateTransportUnit 0.012
testMoveUnknownTransportUnit 0.008
testMoveTransportUnit 0.018

TransportOrderTest

testSetState 3.457