Fork me on GitHub

Failsafe Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
64 0 1 0 98.4% 25.47 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.openwms.core.uaa 33 0 0 0 100% 20.63 s
org.openwms.core.uaa.impl 31 0 1 0 96.8% 4.838 s

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

org.openwms.core.uaa

- Class Tests Errors Failures Skipped Success Rate Time
RoleControllerDocumentation 14 0 0 0 100% 15.18 s
GrantControllerDocumentation 7 0 0 0 100% 0.264 s
IndexControllerDocumentation 1 0 0 0 100% 0.058 s
UserControllerDocumentation 11 0 0 0 100% 5.128 s

org.openwms.core.uaa.impl

- Class Tests Errors Failures Skipped Success Rate Time
RoleMapperImplIT 3 0 0 0 100% 0.062 s
UserServiceIT 9 0 1 0 88.9% 1.311 s
RoleIT 5 0 0 0 100% 0.966 s
RoleServiceIT 10 0 0 0 100% 1.532 s
UserMapperImplIT 4 0 0 0 100% 0.967 s

Test Cases

[Summary] [Package List] [Test Cases]

RoleControllerDocumentation

shall_create_role 1.129 s
shall_find_users_of_role 0.136 s
test_assign_unknown_role 0.044 s
test_assign_unknown_user 0.068 s
shall_find_grants_of_role 0.047 s
shall_assign_user 0.061 s
shall_save_role 0.096 s
shall_find_demo_roles 0.055 s
shall_build_index 0.024 s
shall_find_role_by_pkey 0.049 s
shall_unassign_user 0.050 s
test_unassign_unknown_role 0.035 s
test_unassign_unknown_user 0.036 s
shall_delete_role 0.057 s

RoleMapperImplIT

testEOstoVOs 0.020 s
testEOtoVO 0.018 s
testVOtoEO 0.013 s

GrantControllerDocumentation

shall_create_role 0.093 s
shall_find_all_Grants 0.026 s
shall_find_all_Grants_for_User_not_exist 0.026 s
shall_find_Grant_by_pKey 0.037 s
shall_find_all_Grants_for_User 0.031 s
shall_find_all_Grants_for_User_empty 0.027 s
shall_build_index 0.014 s

IndexControllerDocumentation

shall_return_index 0.051 s

UserServiceIT

testUploadImageNotFound 0.053 s
testFindAll 0.013 s
testFindByIdNegative 0.024 s
- Expecting code to raise a throwable. -
testSaveWithNull 0.008 s
testFindById 0.012 s
testUploadImage 0.154 s
testSaveTransient 0.009 s
testCreateSystemUser 0.011 s
testSaveDetached 0.033 s

RoleIT

testHashCodeEquals 0.018 s
testRoleBuilder 0.009 s
testRoleConstraint 0.025 s
testLifecycleWithTransientUsers 0.013 s
testLifecycleRemoveRoleNotUsers 0.075 s

UserControllerDocumentation

shall_find_no_users 0.041 s
shall_update_user 2.487 s
shall_create_user 0.049 s
shall_create_user_exists 0.029 s
shall_find_by_pKey 0.025 s
shall_find_grants_of_user 0.022 s
shall_change_password 2.344 s
shall_find_demo_users 0.031 s
shall_build_index 0.019 s
shall_delete_user 0.031 s
shall_find_roles_of_user 0.035 s

RoleServiceIT

testCreateNewRoleWithoutPrefix 0.043 s
testCreateWithNull 0.022 s
testFindAll 0.027 s
testCreateWithoutNameMustFail 0.013 s
testFindByNames 0.021 s
testCreateExistingRoleMustFail 0.014 s
testSaveWithNulls 0.011 s
testSaveNotExistingRole 0.012 s
testCreateNewRole 0.017 s
testSaveExisingRole 0.020 s

UserMapperImplIT

testEOstoVOs 0.026 s
testEOtoEO 0.026 s
testEOtoVO 0.019 s
testVOtoEO 0.015 s

Failure Details

[Summary] [Package List] [Test Cases]


testFindByIdNegative
- java.lang.AssertionError: Expecting code to raise a throwable.
-
org.openwms.core.uaa.impl.UserServiceIT:159