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

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

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% 16.726
IndexControllerDocumentation 1 0 0 0 100% 0.051
GrantControllerDocumentation 7 0 0 0 100% 0.396
UserControllerDocumentation 11 0 0 0 100% 6.908

org.openwms.core.uaa.impl

Class Tests Errors Failures Skipped Success Rate Time
RoleServiceIT 10 0 0 0 100% 1.323
RoleIT 5 0 0 0 100% 0.886
RoleMapperImplIT 3 0 0 0 100% 0.109
UserMapperImplIT 4 0 0 0 100% 0.903
UserServiceIT 9 0 1 0 88.889% 1.485

Test Cases

[Summary] [Package List] [Test Cases]

RoleControllerDocumentation

shall_create_role 1.148
shall_find_users_of_role 0.149
test_assign_unknown_role 0.058
test_assign_unknown_user 0.088
shall_find_grants_of_role 0.061
shall_assign_user 0.123
shall_save_role 0.138
shall_find_demo_roles 0.091
shall_build_index 0.074
shall_find_role_by_pkey 0.064
shall_unassign_user 0.064
test_unassign_unknown_role 0.039
test_unassign_unknown_user 0.037
shall_delete_role 0.045

IndexControllerDocumentation

shall_return_index 0.042

RoleServiceIT

testCreateNewRoleWithoutPrefix 0.052
testCreateWithNull 0.021
testFindAll 0.028
testCreateWithoutNameMustFail 0.015
testFindByNames 0.025
testCreateExistingRoleMustFail 0.018
testSaveWithNulls 0.015
testSaveNotExistingRole 0.016
testCreateNewRole 0.023
testSaveExisingRole 0.027

RoleIT

testHashCodeEquals 0.013
testRoleBuilder 0.007
testRoleConstraint 0.015
testLifecycleWithTransientUsers 0.016
testLifecycleRemoveRoleNotUsers 0.022

RoleMapperImplIT

testEOstoVOs 0.022
testEOtoVO 0.036
testVOtoEO 0.016

GrantControllerDocumentation

shall_create_role 0.128
shall_find_all_Grants 0.042
shall_find_all_Grants_for_User_not_exist 0.046
shall_find_Grant_by_pKey 0.054
shall_find_all_Grants_for_User 0.045
shall_find_all_Grants_for_User_empty 0.035
shall_build_index 0.023

UserMapperImplIT

testEOstoVOs 0.024
testEOtoEO 0.069
testEOtoVO 0.021
testVOtoEO 0.013

UserControllerDocumentation

shall_find_no_users 0.057
shall_update_user 3.395
shall_create_user 0.045
shall_create_user_exists 0.027
shall_find_by_pKey 0.026
shall_find_grants_of_user 0.028
shall_change_password 3.204
shall_find_demo_users 0.03
shall_build_index 0.02
shall_delete_user 0.028
shall_find_roles_of_user 0.029

UserServiceIT

testUploadImageNotFound 0.084
testFindAll 0.02
testFindByIdNegative 0.04
Expecting code to raise a throwable.
testSaveWithNull 0.013
testFindById 0.016
testUploadImage 0.05
testSaveTransient 0.017
testCreateSystemUser 0.016
testSaveDetached 0.025

Failure Details

[Summary] [Package List] [Test Cases]


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