Fork me on GitHub

Failsafe Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
64 0 1 0 98.438% 31.849

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% 26.05
org.openwms.core.uaa.impl 31 0 1 0 96.774% 5.799

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
GrantControllerDocumentation 7 0 0 0 100% 0.323
IndexControllerDocumentation 1 0 0 0 100% 16.645
UserControllerDocumentation 11 0 0 0 100% 8.159
RoleControllerDocumentation 14 0 0 0 100% 0.923

org.openwms.core.uaa.impl

Class Tests Errors Failures Skipped Success Rate Time
RoleIT 5 0 0 0 100% 1.497
UserMapperImplIT 4 0 0 0 100% 0.167
RoleServiceIT 10 0 0 0 100% 1.769
RoleMapperImplIT 3 0 0 0 100% 1.172
UserServiceIT 9 0 1 0 88.889% 1.194

Test Cases

[Summary] [Package List] [Test Cases]

RoleIT

testHashCodeEquals 0.077
testRoleBuilder 0.033
testRoleConstraint 0.043
testLifecycleWithTransientUsers 0.041
testLifecycleRemoveRoleNotUsers 0.058

GrantControllerDocumentation

shall_create_role 0.123
shall_find_all_Grants 0.032
shall_find_all_Grants_for_User_not_exist 0.03
shall_find_Grant_by_pKey 0.039
shall_find_all_Grants_for_User 0.033
shall_find_all_Grants_for_User_empty 0.024
shall_build_index 0.015

UserMapperImplIT

testEOstoVOs 0.028
testEOtoEO 0.027
testEOtoVO 0.072
testVOtoEO 0.018

IndexControllerDocumentation

shall_return_index 0.544

UserControllerDocumentation

shall_find_no_users 0.226
shall_update_user 3.904
shall_create_user 0.14
shall_create_user_exists 0.082
shall_find_by_pKey 0.085
shall_find_grants_of_user 0.09
shall_change_password 3.296
shall_find_demo_users 0.063
shall_build_index 0.053
shall_delete_user 0.076
shall_find_roles_of_user 0.1

RoleControllerDocumentation

shall_create_role 0.218
shall_find_users_of_role 0.083
test_assign_unknown_role 0.042
test_assign_unknown_user 0.041
shall_find_grants_of_role 0.052
shall_assign_user 0.046
shall_save_role 0.076
shall_find_demo_roles 0.059
shall_build_index 0.034
shall_find_role_by_pkey 0.054
shall_unassign_user 0.05
test_unassign_unknown_role 0.036
test_unassign_unknown_user 0.039
shall_delete_role 0.047

RoleServiceIT

testCreateNewRoleWithoutPrefix 0.082
testCreateWithNull 0.031
testFindAll 0.054
testCreateWithoutNameMustFail 0.019
testFindByNames 0.057
testCreateExistingRoleMustFail 0.016
testSaveWithNulls 0.019
testSaveNotExistingRole 0.024
testCreateNewRole 0.023
testSaveExisingRole 0.036

RoleMapperImplIT

testEOstoVOs 0.089
testEOtoVO 0.047
testVOtoEO 0.021

UserServiceIT

testUploadImageNotFound 0.046
testFindAll 0.013
testFindByIdNegative 0.018
Expecting code to raise a throwable.
testSaveWithNull 0.01
testFindById 0.017
testUploadImage 0.04
testSaveTransient 0.017
testCreateSystemUser 0.014
testSaveDetached 0.017

Failure Details

[Summary] [Package List] [Test Cases]


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