Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
40 0 0 0 100% 8.434

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
locklib 40 0 0 0 100% 8.434

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

locklib

Class Tests Errors Failures Skipped Success Rate Time
MiscTest 1 0 0 0 100% 0.211
MutexLockingTest 15 0 0 0 100% 2.667
SxLockingTest 13 0 0 0 100% 5.556
TargetManagementTest 11 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

MiscTest

lock_requests_to_string 0.211

MutexLockingTest

same_context_may_lock_multiple_times 0
null_pre_checker_does_not_detect_deadlock 0.254
cancelling_hierarchy_none_locked 0
waiting_locks_wait_in_order 0.259
child_lock_blocked_by_parent 0.257
release_lock_twice 0
parent_lock_waits_for_child 0.251
cancelling_locked 0
pending_locks_may_be_cancelled 0.001
locking_may_timeout 0.1
locking_will_wait_for_release 0.236
cancel_released_lock 0.002
cancel_cancelled_lock 0.012
get_cancelled_lock 0
big_random_test 1.295

SxLockingTest

can_ss_lock 0.042
cannot_sx_lock 0.02
cannot_xx_lock 0.02
x_lock_starves_if_starvation_allowed 0.022
s_to_x_promotion_not_allowed_with_other_s 0.012
s_to_x_promotion_takes_precedence_over_pending_x 0.011
queued_promotion_takes_precedence_over_pending_x 0.022
s_lock_forces_s_parent_before_child 0.013
x_lock_forces_s_parent_before_child 0.022
x_lock_does_not_stave 0.022
s_to_x_promotion_allowed 0
when_x_leaves_all_s_are_acquired 0.04
big_random_test 5.31

TargetManagementTest

create_target_and_check_data 0
remove_child_from_parent 0
switch_child_to_another_parent 0
switch_child_to_same_parent 0
add_child_to_parent 0
add_child_to_itself 0
try_to_create_short_target_cycle 0
try_to_create_long_target_cycle 0
add_child_to_parent_with_different_lock_manager 0
remove_child_from_parent_with_chain 0
create_child_target_and_check_data 0