Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
108 3 3 8 87.037% 49.667

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 11 0 0 0 100% 8.468
org.openwms.core.uaa 1 0 0 0 100% 6.567
org.openwms.core.uaa.admin.impl 87 3 3 8 83.908% 5.023
org.openwms.core.uaa.auth 7 0 0 0 100% 29.41
org.openwms.core.uaa.api 2 0 0 0 100% 0.199

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
GrantControllerDocumentation 2 0 0 0 100% 6.861
RoleControllerDocumentation 5 0 0 0 100% 0.915
UserControllerDocumentation 4 0 0 0 100% 0.692

org.openwms.core.uaa

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

org.openwms.core.uaa.admin.impl

Class Tests Errors Failures Skipped Success Rate Time
UserTest 8 0 0 1 87.5% 0.018
UserServiceIT 20 0 3 4 65% 2.019
GrantTest 6 0 0 0 100% 0.039
RoleServiceIT 2 2 0 0 0% 1.047
RoleTest 20 0 0 0 100% 0.054
RoleIT 5 1 0 0 80% 1.205
SecurityContextUserServiceImplTest 5 0 0 0 100% 0.466
SecurityServiceTest 3 0 0 1 66.667% 0.125
SystemUserWrapperTest 5 0 0 1 80% 0.006
UserWrapperTest 13 0 0 1 92.308% 0.044

org.openwms.core.uaa.auth

Class Tests Errors Failures Skipped Success Rate Time
ClientTest 1 0 0 0 100% 0.012
ClientControllerDocumentation 5 0 0 0 100% 21.139
LoginControllerDocumentation 1 0 0 0 100% 8.259

org.openwms.core.uaa.api

Class Tests Errors Failures Skipped Success Rate Time
ClientVOTest 1 0 0 0 100% 0.189
RoleVOTest 1 0 0 0 100% 0.01

Test Cases

[Summary] [Package List] [Test Cases]

GrantControllerDocumentation

shall_find_all_precreated_Users 0.101
shall_build_index 0.076

UserTest

testCreation 0.004
testPasswordHistory 0
void org.openwms.core.uaa.admin.impl.UserTest.testPasswordHistory() is @Disabled
testCreationNegativ3 0.001
testCreationNegative 0.001
testHashCodeEquals 0.001
testCreationNegative2 0
testCreationNegative4 0
testCreation2 0

IndexControllerDocumentation

shall_return_index 0.072

ClientTest

testEquality 0.001

ClientVOTest

testEquality 0.133

RoleControllerDocumentation

shall_create_role 0.448
shall_delete_client 0.047
shall_save_role 0.178
shall_find_demo_roles 0.099
shall_build_index 0.085

UserServiceIT

testSaveUserProfileUserWithInvalidPassword 0.282
testUploadImageNotFound 0.02
testChangePasswordInvalidPassword 0.058
testFindAll 0.045
testSaveUserProfileUserWithPassword 0.016
testFindByIdNegative 0.029
testChangePassword 0.02
testSaveWithNull 0
void org.openwms.core.uaa.admin.impl.UserServiceIT.testSaveWithNull() is @Disabled
testFindById 0.025
testGetTemplate 0.011
testSaveUserProfileUserNull 0
void org.openwms.core.uaa.admin.impl.UserServiceIT.testSaveUserProfileUserNull() is @Disabled
testUploadImage 0.035
testSaveUserProfileUserPreferencePasswordNull 0
void org.openwms.core.uaa.admin.impl.UserServiceIT.testSaveUserProfileUserPreferencePasswordNull() is @Disabled
testRemoveWithNull 0
void org.openwms.core.uaa.admin.impl.UserServiceIT.testRemoveWithNull() is @Disabled
testChangePasswordUnknown 0.012
testSaveTransient 0.01
testCreateSystemUser 0.047
testRemove 0.021
testSaveDetached 0.019
testSaveUserProfileWithPreference 0.011

RoleVOTest

testEquality 0.009

UserControllerDocumentation

shall_find_no_users 0.072
shall_create_user 0.374
shall_find_demo_users 0.065
shall_build_index 0.046

GrantTest

testGrantStringStringEmpty 0.009
testGrantStringString 0.022
testGrant 0.001
testGrantString 0.002
testEqualsObject 0.002
testGrantStringEmpty 0

RoleServiceIT

testFindAll 0.017
testSaveDetached 0.009

RoleTest

testAddUsersNegative 0.001
testCreation 0
testSetGrantsNegative 0
testRemoveGrant 0
testRemoveGrantNegative 0
testAddGrant 0
testAddUsers 0.004
testSetUsersNegative 0.001
testAddGrantNegative 0.001
testRemoveGrants 0.001
testCreationNegative1 0.001
testCreationNegative2 0.001
testCreationNegative3 0.021
testCreationNegative4 0.001
testCreationNegative5 0.001
testRemoveUser 0.001
testSetGrants 0.009
testRemoveUserNegative 0.001
testRemoveGrantsNegative 0.005
testSetUsers 0

ClientControllerDocumentation

shall_delete_client 0.581
shall_save_client 0.469
shall_find_demo_clients 0.098
shall_create_client 0.138
shall_build_index 0.193

RoleIT

testHashCodeEquals 0.052
testRoleBuilder 0.029
testRoleConstraint 0.028
testLifecycleWithTransientUsers 0.031
testLifecycleRemoveRoleNotUsers 0.027

SecurityContextUserServiceImplTest

testLoadUserByUsernameFromCache 0.43
testLoadUserByUsernameSystemUser 0.009
testLoadUserByUsernameNotCached 0.009
testOnApplicationEventWithCache 0.003
testLoadUserByUsernameNotFound 0.008

SecurityServiceTest

testMergeGrantsWithNull 0.115
testMergeGrantsNew 0
void org.openwms.core.uaa.admin.impl.SecurityServiceTest.testMergeGrantsNew() is @Disabled
testMergeGrantsExisting 0.008

LoginControllerDocumentation

shall_find_user 0.368

SystemUserWrapperTest

testGetPassword 0
void org.openwms.core.uaa.admin.impl.SystemUserWrapperTest.testGetPassword() throws java.lang.Exception is @Disabled
testAddDefaultGrants 0.002
testEqualsObject 0.001
testSystemUserWrapper 0.001
testHashCode 0

UserWrapperTest

testUserWrapperForNull 0.002
testGetPassword 0
void org.openwms.core.uaa.admin.impl.UserWrapperTest.testGetPassword() throws java.lang.Exception is @Disabled
testIsEnabled 0.002
testGetAuthorities 0.012
testToString 0.001
testIsAccountNonExpired 0.001
testIsAccountNonLocked 0
testEqualsObject 0
testGetAuthoritiesWithNull 0.002
testUserWrapper 0
testHashCode 0
testGetUsername 0.001
testIsCredentialsNonExpired 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testPasswordHistory
skipped: void org.openwms.core.uaa.admin.impl.UserTest.testPasswordHistory() is @Disabled
testFindAll
java.lang.AssertionError
org.openwms.core.uaa.admin.impl.UserServiceIT:192
testFindByIdNegative
org.opentest4j.AssertionFailedError
org.openwms.core.uaa.admin.impl.UserServiceIT:204
testSaveWithNull
skipped: void org.openwms.core.uaa.admin.impl.UserServiceIT.testSaveWithNull() is @Disabled
testFindById
org.opentest4j.AssertionFailedError
org.openwms.core.uaa.admin.impl.UserServiceIT:197
testSaveUserProfileUserNull
skipped: void org.openwms.core.uaa.admin.impl.UserServiceIT.testSaveUserProfileUserNull() is @Disabled
testSaveUserProfileUserPreferencePasswordNull
skipped: void org.openwms.core.uaa.admin.impl.UserServiceIT.testSaveUserProfileUserPreferencePasswordNull() is @Disabled
testRemoveWithNull
skipped: void org.openwms.core.uaa.admin.impl.UserServiceIT.testRemoveWithNull() is @Disabled
testFindAll
javax.persistence.PersistenceException
org.openwms.core.uaa.admin.impl.RoleServiceIT:87
testSaveDetached
javax.persistence.PersistenceException
org.openwms.core.uaa.admin.impl.RoleServiceIT:87
testHashCodeEquals
javax.persistence.PersistenceException
org.openwms.core.uaa.admin.impl.RoleIT:77
testMergeGrantsNew
skipped: void org.openwms.core.uaa.admin.impl.SecurityServiceTest.testMergeGrantsNew() is @Disabled
testGetPassword
skipped: void org.openwms.core.uaa.admin.impl.SystemUserWrapperTest.testGetPassword() throws java.lang.Exception is @Disabled
testGetPassword
skipped: void org.openwms.core.uaa.admin.impl.UserWrapperTest.testGetPassword() throws java.lang.Exception is @Disabled