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% 29.456

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

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% 0.52
GrantControllerDocumentation 7 0 0 0 100% 0.344
IndexControllerDocumentation 1 0 0 0 100% 0.034
UserControllerDocumentation 11 0 0 0 100% 23.565

org.openwms.core.uaa.impl

Class Tests Errors Failures Skipped Success Rate Time
RoleMapperImplIT 3 0 0 0 100% 1.339
UserMapperImplIT 4 0 0 0 100% 0.107
UserServiceIT 9 0 1 0 88.889% 1.422
RoleServiceIT 10 0 0 0 100% 1.334
RoleIT 5 0 0 0 100% 0.791

Test Cases

[Summary] [Package List] [Test Cases]

RoleMapperImplIT

testEOstoVOs 0.071
testEOtoVO 0.037
testVOtoEO 0.017

UserMapperImplIT

testEOstoVOs 0.024
testEOtoEO 0.021
testEOtoVO 0.019
testVOtoEO 0.017

UserServiceIT

testUploadImageNotFound 0.054
testFindAll 0.011
testFindByIdNegative 0.017
Expecting code to raise a throwable.
testSaveWithNull 0.018
testFindById 0.009
testUploadImage 0.022
testSaveTransient 0.008
testCreateSystemUser 0.009
testSaveDetached 0.013

RoleControllerDocumentation

shall_create_role 0.086
shall_find_users_of_role 0.034
test_assign_unknown_role 0.024
test_assign_unknown_user 0.027
shall_find_grants_of_role 0.031
shall_assign_user 0.034
shall_save_role 0.051
shall_find_demo_roles 0.038
shall_build_index 0.018
shall_find_role_by_pkey 0.031
shall_unassign_user 0.033
test_unassign_unknown_role 0.027
test_unassign_unknown_user 0.029
shall_delete_role 0.035

GrantControllerDocumentation

shall_create_role 0.119
shall_find_all_Grants 0.077
shall_find_all_Grants_for_User_not_exist 0.028
shall_find_Grant_by_pKey 0.036
shall_find_all_Grants_for_User 0.031
shall_find_all_Grants_for_User_empty 0.027
shall_build_index 0.013

IndexControllerDocumentation

shall_return_index 0.029

RoleServiceIT

testCreateNewRoleWithoutPrefix 0.061
testCreateWithNull 0.024
testFindAll 0.031
testCreateWithoutNameMustFail 0.015
testFindByNames 0.029
testCreateExistingRoleMustFail 0.023
testSaveWithNulls 0.02
testSaveNotExistingRole 0.013
testCreateNewRole 0.015
testSaveExisingRole 0.028

RoleIT

testHashCodeEquals 0.012
testRoleBuilder 0.006
testRoleConstraint 0.013
testLifecycleWithTransientUsers 0.014
testLifecycleRemoveRoleNotUsers 0.015

UserControllerDocumentation

shall_find_no_users 0.602
shall_update_user 3.985
shall_create_user 0.198
shall_create_user_exists 0.084
shall_find_by_pKey 0.067
shall_find_grants_of_user 0.088
shall_change_password 3.144
shall_find_demo_users 0.038
shall_build_index 0.058
shall_delete_user 0.067
shall_find_roles_of_user 0.045

Failure Details

[Summary] [Package List] [Test Cases]


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