Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
97 2 2 11 84.536% 37.386

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.uaa.admin 1 1 0 0 0% 9.783
org.openwms.core.search 5 0 0 1 80% 0.258
org.openwms.core.uaa.admin.impl 90 1 2 10 85.556% 5.605
org.openwms.core.uaa.auth 1 0 0 0 100% 21.74

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

org.openwms.core.uaa.admin

Class Tests Errors Failures Skipped Success Rate Time
UserControllerDocumentation 1 1 0 0 0% 9.783

org.openwms.core.search

Class Tests Errors Failures Skipped Success Rate Time
ActionServiceTest 5 0 0 1 80% 0.258

org.openwms.core.uaa.admin.impl

Class Tests Errors Failures Skipped Success Rate Time
UserTest 8 0 0 1 87.5% 0.009
UserServiceIT 21 1 2 5 61.905% 1.892
GrantTest 6 0 0 0 100% 0.005
RoleServiceIT 4 0 0 1 75% 1.299
RoleTest 20 0 0 0 100% 0.198
RoleIT 5 0 0 0 100% 1.588
SecurityContextUserServiceImplTest 5 0 0 0 100% 0.382
SecurityServiceTest 3 0 0 1 66.667% 0.199
SystemUserWrapperTest 5 0 0 1 80% 0.012
UserWrapperTest 13 0 0 1 92.308% 0.021

org.openwms.core.uaa.auth

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

Test Cases

[Summary] [Package List] [Test Cases]

UserTest

testCreation 0.006
testPasswordHistory 0
skipped
testCreationNegativ3 0.001
testCreationNegative 0
testHashCodeEquals 0.001
testCreationNegative2 0
testCreationNegative4 0
testCreation2 0

UserServiceIT

testSaveUserProfileUserWithInvalidPassword 0.188
testUploadImageNotFound 0.017
testChangePasswordInvalidPassword 0.032
testFindAll 0.037
testSaveUserProfileUserWithPassword 0.012
testFindByIdNegative 0.017
testChangePassword 0.014
testChangePasswordWithNull 0
skipped
testSaveWithNull 0
skipped
testFindById 0.018
testGetTemplate 0.009
testSaveUserProfileUserNull 0
skipped
testUploadImage 0.04
testSaveUserProfileUserPreferencePasswordNull 0
skipped
testRemoveWithNull 0
skipped
testChangePasswordUnknown 0.019
testSaveTransient 0.021
testCreateSystemUser 0.041
testRemove 0.02
testSaveDetached 0.018
testSaveUserProfileWithPreference 0.015

UserControllerDocumentation

shall_create_user 0.792

GrantTest

testGrantStringStringEmpty 0
testGrantStringString 0
testGrant 0
testGrantString 0
testEqualsObject 0.002
testGrantStringEmpty 0

ActionServiceTest

testFindAllActions 0.233
testSave 0
skipped
testFindAllTags 0.002
testFindAllActionsUser 0.001
testActionServiceImpl 0.001

RoleServiceIT

testFindAll 0.22
testSaveWithNull 0
skipped
testSaveTransient 0.028
testSaveDetached 0.085

RoleTest

testAddUsersNegative 0.006
testCreation 0.141
testSetGrantsNegative 0.001
testRemoveGrant 0.011
testRemoveGrantNegative 0
testAddGrant 0
testAddUsers 0.002
testSetUsersNegative 0
testAddGrantNegative 0.001
testRemoveGrants 0
testCreationNegative1 0.001
testCreationNegative2 0
testCreationNegative3 0.001
testCreationNegative4 0.001
testCreationNegative5 0
testRemoveUser 0.001
testSetGrants 0.001
testRemoveUserNegative 0.002
testRemoveGrantsNegative 0.001
testSetUsers 0

RoleIT

testHashCodeEquals 0.045
testRoleBuilder 0.037
testRoleConstraint 0.046
testLifecycleWithTransientUsers 0.06
testLifecycleRemoveRoleNotUsers 0.03

SecurityContextUserServiceImplTest

testLoadUserByUsernameFromCache 0.335
testLoadUserByUsernameSystemUser 0.017
testLoadUserByUsernameNotCached 0.019
testOnApplicationEventWithCache 0.002
testLoadUserByUsernameNotFound 0.004

SecurityServiceTest

testMergeGrantsWithNull 0.189
testMergeGrantsNew 0
skipped
testMergeGrantsExisting 0.008

LoginControllerDocumentation

shall_find_user 0.927

SystemUserWrapperTest

testGetPassword 0
skipped
testAddDefaultGrants 0.002
testEqualsObject 0.001
testSystemUserWrapper 0.005
testHashCode 0

UserWrapperTest

testUserWrapperForNull 0.001
testGetPassword 0
skipped
testIsEnabled 0
testGetAuthorities 0.012
testToString 0
testIsAccountNonExpired 0
testIsAccountNonLocked 0.001
testEqualsObject 0
testGetAuthoritiesWithNull 0
testUserWrapper 0
testHashCode 0.001
testGetUsername 0
testIsCredentialsNonExpired 0

Failure Details

[Summary] [Package List] [Test Cases]


testPasswordHistory
skipped: skipped
testFindAll
java.lang.AssertionError
org.openwms.core.uaa.admin.impl.UserServiceIT:254
testFindByIdNegative
java.lang.Exception
org.openwms.core.uaa.admin.impl.UserServiceIT:274
testChangePasswordWithNull
skipped: skipped
testSaveWithNull
skipped: skipped
testFindById
java.lang.AssertionError
org.openwms.core.uaa.admin.impl.UserServiceIT:263
testSaveUserProfileUserNull
skipped: skipped
testSaveUserProfileUserPreferencePasswordNull
skipped: skipped
testRemoveWithNull
skipped: skipped
shall_create_user
org.springframework.restdocs.snippet.SnippetException
org.openwms.core.uaa.admin.UserControllerDocumentation:98
testSave
skipped: skipped
testSaveWithNull
skipped: skipped
testMergeGrantsNew
skipped: skipped
testGetPassword
skipped: skipped
testGetPassword
skipped: skipped